Template:Infobox animal: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) No edit summary |
Salty Nori (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
<format><!-- | <format><!-- | ||
-->{{#switch:{{{type}}}<!-- | -->{{#switch:{{{type}}}<!-- | ||
-->|Coop Animal | -->|Coop Animal<!-- | ||
-->|Barn Animal | -->|Barn Animal<!-- | ||
-->|Stable Animal | -->|Stable Animal<!-- | ||
--> = [[{{{type}}}]]<!-- | --> = [[{{{type}}}]]<!-- | ||
-->|#default = {{{type|}}}<!-- | -->|#default = {{{type|}}}<!-- | ||
Line 23: | Line 23: | ||
<data source="housing"> | <data source="housing"> | ||
<label>Housing</label> | <label>Housing</label> | ||
<format>{{#if:{{{housing|}}}|{{#explode:{{{housing|}}}|;|0}}{{#if:{{#explode:{{{housing|}}}|;|1}}| Lv. {{#explode:{{{housing|}}}|;|1}}}}}}</format> | <format>{{#if:{{{housing|}}}|{{Icon|{{#explode:{{{housing|}}}|;|0}}}}{{#if:{{#explode:{{{housing|}}}|;|1}}| Lv. {{#explode:{{{housing|}}}|;|1}}}}}}</format> | ||
</data> | </data> | ||
<data> | <data> |
Revision as of 14:07, 8 February 2024
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
Main | Documentation | Usage |