Template:Infobox Ferret: Difference between revisions

Gorasuhl (talk | contribs)
cleaned unneccessary parameter from 'Infobox header', moved mugshot to a sub-template to make wikitext look more clean/easier ro read. Fixed issue not using PAGENAME as default value.
m Fix the br issue
Line 1: Line 1:
<includeonly>
<includeonly>
{{#vardefine:noCategories|{{#if:{{{noCategories|}}}|{{{noCategories|}}}|{{#if:{{NAMESPACE}}|1}}}}}}
{{#vardefine:noCategories|{{#if:{{{noCategories|}}}|{{{noCategories|}}}|{{#if:{{NAMESPACE}}|1}}}}}}<!--
-->
{{Infobox start|Ferret}}
{{Infobox start|Ferret}}
{{Infobox header| name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
{{Infobox header| name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}
Line 19: Line 20:
{{Infobox end}}
{{Infobox end}}
{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!--
{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!--
-->{{#if:{{NAMESPACE}}||{{#if:{{{noCargo|}}}||
-->{{#if:{{NAMESPACE}}||{{#if:{{{noCargo|}}}||
{{#cargo_store:_table=Ferret
{{#cargo_store:_table=Ferret