Template:Infobox Ferret/mugshot: Difference between revisions

Gorasuhl (talk | contribs)
created Infobox part template for the Ferret Infobox
 
Gorasuhl (talk | contribs)
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:Ferret lacking infobox images]]}} <br><br> Missing: [[File:{{{ferret-name|}}}_Mugshot.png|192px]]}}}}
{{#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>