Template:Infobox Ferret: Difference between revisions
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. |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
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}}}}}} | ||
{{Infobox Ferret/mugshot|ferret-name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} | {{Infobox Ferret/mugshot|ferret-name = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}} | ||
Line 19: | Line 18: | ||
{{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 |