Editing Template:Creature Infobox
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
--><infobox> | |||
<title source="name"> | |||
<format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | |||
</title> | |||
--> | <image source="image"/> | ||
<group layout="horizontal"> | |||
<data source="category"> | |||
<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> | |||
<group layout="horizontal"> | |||
<header>Selling Prices</header> | |||
<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> | |||
</infobox><!-- | |||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category:Creatures]]<!-- | -->[[Category:Creatures]]<!-- | ||
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}}}]]}}<!-- | -->{{#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]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category: | {{#if:{{{quality|}}}|[[Category:Creature by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray = 0 | ||
|Green | |Green = 1 | ||
|Purple | |Purple = 2 | ||
|Gold | |Gold = 3 | ||
|#default = 4 | |||
|#default | |||
}}]]}}<!-- | }}]]}}<!-- | ||
Distribution | |||
-->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]] | -->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{distribution}}} {{{type|}}}]]}}}}<!-- | ||
Time | |||
-->{{#if:{{{ | -->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{time}}} {{{type|}}}]]}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||