Template:Infobox Ferret/mugshot: Difference between revisions
created Infobox part template for the Ferret Infobox |
update category -> Category name should be plural (Ferrets) not singular (Ferret) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
{{#if: {{{ferret-name|}}}| | {{#if: {{{ferret-name|}}}| | ||
{{!}} colspan="2" class="infobox-centered" {{!}} | {{!}} colspan="2" class="infobox-centered" {{!}} | ||
{{#ifexist: File:{{{ferret-name|}}}_Mugshot.png | [[File:{{{ferret-name|}}}_Mugshot.png|192px]] | [[File:Unknown_Mugshot.png|192px]] {{#if:{{#var:noCategories}}||[[Category: | {{#ifexist: File:{{{ferret-name|}}}_Mugshot.png | [[File:{{{ferret-name|}}}_Mugshot.png|192px]] | [[File:Unknown_Mugshot.png|192px]] {{#if:{{#var:noCategories}}||[[Category:Ferrets lacking infobox image]]}} <br><br> Missing: [[File:{{{ferret-name|}}}_Mugshot.png|192px]]}}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{Doc}} | {{Doc}} | ||
[[Category:Infobox part templates]] | [[Category:Infobox part templates]] | ||
</noinclude> | </noinclude> |