Template:Creature Infobox: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
| (19 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><!-- | ||
| Line 14: | 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}}}]]}}<!-- | -->{{#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> | ||
Latest revision as of 04:42, 16 November 2025
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 | Usage |
The documentation for this template is missing. Click here to create it.