Template:Infobox animal: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <group layout="horizontal"> <data source="description"><format><center>''{{{description|}}}''</center></format></data> </group> <group> <header>Information</header> <data source="growth"> <label>Growth</label> </data> <data source="housing"> <label>Housing</label><format>{{i|{{{housing...") |
Salty Nori (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<infobox> | <includeonly><infobox> | ||
<title source="title"> | <title source="title"> | ||
<default>{{PAGENAME}}</default> | <default>{{PAGENAME}}</default> | ||
</title> | </title> | ||
<image source="image"> | <image source="image"> | ||
<caption source=" | <default>{{Exists|File:{{#titleparts:{{PAGENAME}}}}.png|{{#titleparts:{{PAGENAME}}}}.png|}}</default> | ||
<caption source="description" /> | |||
</image> | </image> | ||
<group> | <group> | ||
<header>Information</header> | <header>Information</header> | ||
< | <format><!-- | ||
-->{{#switch:{{{type}}}<!-- | |||
</ | -->|Coop Animal | ||
-->|Barn Animal | |||
-->|Stable Animal | |||
--> = [[{{{type}}}]]<!-- | |||
-->|#default = {{{type|}}}<!-- | |||
-->}} | |||
</format> | |||
<data source="housing"> | <data source="housing"> | ||
<label>Housing</label><format>{{ | <label>Housing</label> | ||
<format>{{Icon|{{{housing|}}}|note=Lv. {{{housing-level|1}}}}}</format> | |||
</data> | </data> | ||
<data> | |||
<label>Unlock require­ments</label> | |||
<default><!-- | |||
-->{{#if:{{{rank|}}}|<!-- | |||
-->[[Town rank#Rank {{{rank|}}}|Town rank {{{rank|}}}]]<!-- | |||
-->{{#if:{{{year|}}}|<br />Year {{{year|}}}}}<!-- | |||
-->{{#if:{{{building|}}}|<br />{{#explode:{{{building|}}}|;|0}}{{#if:{{#explode:{{{building|}}}|;|1}}| Lv. {{#explode:{{{building|}}}|;|1}}}}}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{mastery|}}}|<!-- | |||
-->{{#switch:{{#explode:{{{mastery|}}}|;|0}}|Farming|Ranching|Foraging|Mining|Diving|<!--bug-->Catching|Fishing|Combat|0=<!-- | |||
-->{{#if:{{{rank|}}}|<br />}}{{Mastery|{{{mastery|}}}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
--></default> | |||
</data> | |||
</group> | </group> | ||
<group layout="horizontal"> | <group layout="horizontal"> | ||
<header> | <header>Prices</header> | ||
<data source="buy"> | <data source="buy"> | ||
<label>Buy price</label> | <label>Buy price</label> | ||
Line 33: | Line 47: | ||
</data> | </data> | ||
</group> | </group> | ||
</infobox><noinclude>{{Documentation|type=Infobox}}</noinclude> | |||
</infobox> | |||
<noinclude> | |||
{{ | |||
| | |||
</noinclude> |