Template:Creature Infobox: Difference between revisions
Template page
More actions
ReisuDesign (talk | contribs) yeet quality Tag: Manual revert |
mNo edit summary |
||
| (20 intermediate revisions by 4 users not shown) | |||
| Line 5: | Line 5: | ||
</title> | </title> | ||
<image source="image"/> | <image source="image"/> | ||
<data source="type"> | <group layout="horizontal"> | ||
<label> | <data source="category"> | ||
<format>[[{{{ | <label>Category</label> | ||
<format>[[{{{category}}}]]</format> | |||
</data> | |||
<data source="type"> | |||
<label>Type</label> | |||
<format>[[{{{type}}}]]</format> | |||
</data> | |||
</group> | |||
<data source="quality"> | |||
<label>Quality</label> | |||
<format>{{{quality}}}</format> | |||
</data> | |||
<data source="min_size"> | |||
<label>Size</label> | |||
<format>{{{min_size}}} - {{{max_size}}} Li</format> | |||
</data> | |||
<data source="habitat"> | |||
<label>Habitat</label> | |||
<format>{{{habitat}}}</format> | |||
</data> | |||
<data source="distribution"> | |||
<label>Distribution</label> | |||
<format>{{#switch:{{{distribution|}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}</format> | |||
</data> | |||
<data source="time"> | |||
<label>Active Time</label> | |||
<format>{{#switch:{{{time|}}}|All Day=All Day|#default=[[{{{time}}}]]}}</format> | |||
</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"> | |||
<format>'''Description'''<br>{{{description}}}</format> | |||
</data> | </data> | ||
</infobox><!-- | </infobox><!-- | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Creatures]][[Category:Creature]]<!-- | -->[[Category:Creatures]]<!-- | ||
Sort | |||
-->{{#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}}}]]}}<!-- | ||
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|}}}]]}}}}<!-- | |||
Time | |||
-->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{time}}} {{{type|}}}]]}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||