Template:Image class/doc
Jump to navigation
Jump to search
This template contains
- class="{{image class names|{{{1}}}}}"
so it is like {{image class names}}, but with "class=".
It allows suppression of placeholder images, see that template.
Usage[edit]
Usage, if the parameter {{{image}}} is used for the image name:
- <span {{image class|{{{image}}}}}>[[Image:{{{image}}}|..]]</span>
In a table:
- |{{image class|{{{image}}}}} | [[Image:{{{image}}}|..]]
Templates in which this templates is called: [1].
Some templates use the whole image tag as parameter, so they use:
- <span {{image class|{{{image_tag_parameter}}}}}>{{{image_tag_parameter}}}</span>
In a table:
- |{{image class|{{{image_tag_parameter}}}}} | {{{image_tag_parameter}}}
For placeholder images used in these templates the list of placeholder images in {{image class names}} contains the tags used.
Related template[edit]
{{image class names}} can also be called directly. This is needed if the class names without "class=" are required, e.g. for parameter imageclass of {{infobox}}.