Nenda kwa yaliyomo

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.

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

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