Template:Creature Infobox: Difference between revisions
Template page
More actions
add plurality for creatures except for fish |
mNo edit summary |
||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 29: | Line 29: | ||
<data source="distribution"> | <data source="distribution"> | ||
<label>Distribution</label> | <label>Distribution</label> | ||
<format>{{#switch:{{{distribution|}}}|All Regions=All Regions|#default=[[{{{distribution}}}]]}}</format> | <format>{{#switch:{{{distribution|}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}</format> | ||
</data> | </data> | ||
<data source="time"> | <data source="time"> | ||
| Line 35: | Line 35: | ||
<format>{{#switch:{{{time|}}}|All Day=All Day|#default=[[{{{time}}}]]}}</format> | <format>{{#switch:{{{time|}}}|All Day=All Day|#default=[[{{{time}}}]]}}</format> | ||
</data> | </data> | ||
<header>Selling Prices</header> | |||
<group layout="horizontal"> | |||
<data source="price1"> | |||
<label>★</label> | |||
<format>{{{price1}}}</format> | |||
</data> | |||
<data source="price2"> | |||
<label>★★</label> | |||
<format>{{{price2}}}</format> | |||
</data> | |||
<data source="price3"> | |||
<label>★★★</label> | |||
<format>{{{price3}}}</format> | |||
</data> | |||
</group> | |||
<data source="description"> | <data source="description"> | ||
<format>'''Description'''<br>{{{description}}}</format> | <format>'''Description'''<br>{{{description}}}</format> | ||
| Line 43: | Line 58: | ||
Sort | Sort | ||
-->{{#if:{{{number|}}}|[[Category:Creature|{{{number}}}]]|[[Category:Creature]][[Category:Creature Missing Number]]}}<!-- | -->{{#if:{{{number|}}}|[[Category:Creature|{{{number}}}]]|[[Category:Creature]][[Category:Creature Missing Number]]}}<!-- | ||
Category | |||
-->{{#switch:{{{category}}}|Shore-Dweller=[[Category:Shore-Dwellers]]|Insect=[[Category:Insects]]|[[Category:{{{category}}}]]}}<!-- | |||
Type | Type | ||
-->{{# | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||