Kigezo:Image class names



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.

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

Effect

hariri

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}
hariri

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