Get our free book on rainwater now - To Catch the Rain.

Template:Image class names

From Appropedia
Jump to: navigation, search


[view] [edit] [history] [purge] Documentation icon Template documentation

This template produces "metadata dummy" (without quotation marks) if the parameter is in a list of placeholder image names and tags contained in this template. It allows suppression of these placeholder images.

Usage[edit]

class="{{image class names|image parameter}}"

The image parameter can be the image name or a full image tag.

In most cases this template is not called directly, but through another template, e.g. {{image class}}, see the usage of that template, or {{infobox actor}}.

Effect[edit]

Due to MediaWiki:Monobook.css, containing

     @media print { .metadata { display: none } }

the effect of class "metadata" is that by default the image is not printed when using the Monobook skin.

The class "dummy" allows users to use CSS to suppress the display of placeholder images with the CSS:

     .dummy {display: none}

Related template[edit]

In many cases this template is used through {{image class}}, which also produces "class=" and quotation marks. This template {{image class names}} has to be called directly if the class names without "class=" are needed, e.g. for parameter imageclass of {{infobox}}.


Wikipedia
This page or section includes content from Wikipedia. The original article was at Template:Image class names. The list of authors can be seen in the history for that page. As with Appropedia, the text of Wikipedia is available under the CC-BY-SA.