Template:Creature Infobox: Difference between revisions
Appearance
ReisuDesign (talk | contribs) yeet quality Tag: Manual revert |
Updated to DRUID infobox |
||
| (21 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly>{{#invoke:Infobox|main | ||
-->< | |kind = Creature | ||
|sep = , | |||
|title = <!-- | |||
-->{{{title|<!-- | |||
-->{{#if:{{{number|}}}|<!-- | |||
< | --><span class="archive-number quality-{{lc:{{{quality|none}}}}}"><!-- | ||
< | -->{{{number}}}<!-- | ||
--></span><!-- | |||
-->}}<!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
-->}}} | |||
|subtitle = {{{subtitle|}}} | |||
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}} | |||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |||
|sections = Information, Description, Selling Prices | |||
|Information_collapsible = Yes | |||
|Information = Category, Type, Quality, Size, Habitat, Distribution, Active Time | |||
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | |||
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}} | |||
|Quality = <!-- | |||
-->{{#if:{{{quality|}}}|<!-- | |||
--><span class="quality-label quality-{{lc:{{{quality|none}}}}}"><!-- | |||
-->{{{quality|None}}}<!-- | |||
--></span><!-- | |||
-->}} | |||
|Size = {{{min_size|???}}} – {{{max_size|???}}} Li | |||
|Habitat = {{{habitat|}}} | |||
|Distribution = {{#if:{{{distribution|}}}|{{#switch:{{{distribution}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}}} | |||
|Active Time = {{#if:{{{time|}}}|{{#switch:{{{time}}}|All Day=All Day|#default=[[{{{time}}}]]}}}} | |||
|Description_collapsible = Yes | |||
|Description = DescriptionText | |||
|DescriptionText_wide = Yes | |||
|DescriptionText = {{{description|}}} | |||
|Selling Prices_collapsible = Yes | |||
|Selling Prices_columns = 3 | |||
|Selling Prices = ★, ★★, ★★★ | |||
|★ = {{Item|Dough|x={{{sell1|{{{price1|?}}}}}}|notext=1}} | |||
|★★ = {{Item|Dough|x={{{sell2|{{{price2|?}}}}}}|notext=1}} | |||
|★★★ = {{Item|Dough|x={{{sell3|{{{price3|?}}}}}}|notext=1}} | |||
}}<!-- | |||
-->{{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:Creatures 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 13:17, 21 February 2026
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.