Kigezo:Image class names

Kutoka Wikipedia, kamusi elezo huru

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.

Usage[hariri chanzo]

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

Effect[hariri chanzo]

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[hariri chanzo]

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).