Template:Creature Infobox: Difference between revisions
Template page
More actions
swap positions of category and type |
mNo edit summary |
||
| (16 intermediate revisions by 3 users not shown) | |||
| Line 15: | Line 15: | ||
</data> | </data> | ||
</group> | </group> | ||
<data source="quality"> | |||
<label>Quality</label> | |||
<format>{{{quality}}}</format> | |||
</data> | |||
<data source="min_size"> | <data source="min_size"> | ||
<label>Size</label> | <label>Size</label> | ||
| Line 21: | Line 25: | ||
<data source="habitat"> | <data source="habitat"> | ||
<label>Habitat</label> | <label>Habitat</label> | ||
<format> | <format>{{{habitat}}}</format> | ||
</data> | </data> | ||
<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 31: | 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 39: | 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 | |||
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
-->{{#if:{{{ | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | |||
{{#if:{{{quality|}}}|[[Category:Creature by Quality|{{#switch:{{{quality|}}} | |||
|Gray = 0 | |||
|Green = 1 | |||
|Purple = 2 | |||
|Gold = 3 | |||
|#default = 4 | |||
}}]]}}<!-- | |||
Distribution | |||
-->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{distribution}}} {{{type|}}}]]}}}}<!-- | -->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{distribution}}} {{{type|}}}]]}}}}<!-- | ||
Time | |||
-->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{time}}} {{{type|}}}]]}}}}<!-- | -->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{time}}} {{{type|}}}]]}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||