Template:Image class names

From Wikipedia, the free encyclopedia

[edit] Template documentation

This template has an image name as unnamed parameter and produces "metadata dummy" (without quotation marks) if the image is in a list of placeholder images.

[edit] Usage

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

[edit] Effect

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}

[edit] Related template

For direct use Template:image class (backlinks, edit) is convenient, it also produces "class=" and quotation marks. This template Template:image class names (backlinks, edit) is needed if the class names without "class=" are needed, e.g. for parameter imageclass of Template:infobox (backlinks, edit).

Languages