Revision 780805 of "Template:Image class names/解" on zh_yuewiki<noinclude>{{template doc page viewed directly}}
</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
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==
:<nowiki>class="{{image class names|</nowiki>''image name''<nowiki>}}"</nowiki>
==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 [[m:HelP:User style#Non-display|use CSS to suppress the display]] of [[:Category:Wikipedia image placeholders|placeholder images]] with the CSS:
.dummy {display: none}
==Related template==
For direct use {{tiw|image class}} is convenient, it also produces "class=" and quotation marks. This template {{tiw|image class names}} is needed if the class names without "class=" are needed, e.g. for parameter imageclass of {{tiw|infobox}}.All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://zh-yue.wikipedia.org/w/index.php?oldid=780805.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|