Template:Creature Infobox: Difference between revisions
Template page
More actions
m adding description parameter |
ReisuDesign (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
</title> | </title> | ||
<image source="image"/> | <image source="image"/> | ||
<data source="type"> | <group layout="horizontal"> | ||
<data source="type"> | |||
<label>Type</label> | |||
<format>[[{{{type}}}]]</format> | |||
</data> | |||
<data source="category"> | |||
<label>Category</label> | |||
<format>[[{{{category}}}]]</format> | |||
</data> | |||
</group> | |||
<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|#default=[[{{{distribution}}}]]}}</format> | |||
</data> | |||
<data source="time"> | |||
<label>Active Time</label> | |||
<format>{{#switch:{{{time|}}}|All Day=All Day|#default=[[{{{time}}}]]}}</format> | |||
</data> | </data> | ||
<data source="description"> | <data source="description"> | ||
<format>'''Description'''<br | <format>'''Description'''<br>{{{description}}}</format> | ||
</data> | </data> | ||
</infobox><!-- | </infobox><!-- | ||
| Line 17: | Line 39: | ||
Sort | Sort | ||
-->{{#if:{{{number|}}}|[[Category:Creature|{{{number}}}]]|[[Category:Creature]][[Category:Creature Missing Number]]}}<!-- | -->{{#if:{{{number|}}}|[[Category:Creature|{{{number}}}]]|[[Category:Creature]][[Category:Creature Missing Number]]}}<!-- | ||
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | -->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}<!-- | |||
-->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{distribution}}} {{{type|}}}]]}}}}<!-- | |||
-->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{time}}} {{{type|}}}]]}}}}<!-- | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||