Template:Creature Infobox: Difference between revisions
added Folio Score, which is automatically set by quality rating. checked this does fit across all categories of creature. |
ReisuDesign (talk | contribs) No edit summary |
||
| (12 intermediate revisions by 4 users not shown) | |||
| Line 2: | Line 2: | ||
|kind = Creature | |kind = Creature | ||
|sep = , | |sep = , | ||
|class = quality-{{#if:{{{quality|}}}|{{lc:{{{quality}}}}}|none}} | |||
|title = <!-- | |title = <!-- | ||
-->{{{title|<!-- | -->{{{title|<!-- | ||
-->{{#if:{{{number|}}}| | -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!-- | ||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
-->}}} | -->}}} | ||
|subtitle = {{{subtitle|}}} | |subtitle = {{{subtitle|}}} | ||
| Line 15: | Line 12: | ||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | ||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | ||
|sections = Information | |sections = Checkbox, Information, Selling Prices | ||
|Checkbox_nolabel = 1 | |||
|Checkbox = Collected | |||
|Collected = Mark as collected <span class="tpt-instance wds-checkbox" data-category="{{PAGEID:Creature/List}}" data-pageid="{{PAGEID}}"></span> | |||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Category, Group, Type, Quality, Size, | |Information = Category, Group, Type, Quality, Size, Collection Score, Distribution, Habitat, Season, Active Time, Active Weather | ||
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | ||
|Group = {{#if:{{{group|}}}|[[{{{group}}}]]}} | |Group = {{#if:{{{group|}}}|[[{{{group}}}]]}} | ||
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}} | |Type = {{#if:{{{type|}}}|[[{{{type}}}]]}} | ||
|Quality = | |Quality = {{#if:{{{quality|}}}|{{#switch:{{{quality|}}}|Gray|Common= {{Common}}|Green|Blue|Uncommon = {{Uncommon}}|Purple|Rare = {{Rare}}|Gold|Yellow|Stellar = {{Stellar}}|Miracle= {{Miracle}}}}}} | ||
|Size = {{{min_size|???}}} – {{{max_size|???}}} cm | |Size = {{{min_size|???}}} – {{{max_size|???}}} cm | ||
| | |Collection Score = {{#switch:{{{quality|}}}|<!-- | ||
-->|Gray = <li>★ +5</li><li>★★ + | -->|Gray|Common = <ul><li>★ +5</li><li>★★ +13</li><li>★★★ +23</li></ul><!-- | ||
-->|Purple = <li>★ +10</li><li>★★ + | -->|Purple|Rare = <ul><li>★ +10</li><li>★★ +26</li><li>★★★ +46</li></ul><!-- | ||
-->|Gold = <li>★ + | -->|Gold|Stellar = <ul><li>★ +30</li><li>★★ +78</li><li>★★★ +138</li></ul><!-- | ||
-->|#default = <li>★ +?</li><li>★★ +?</li><li>★★★ +?</li><!-- | -->|#default = <ul><li>★ +?</li><li>★★ +?</li><li>★★★ +?</li></ul><!-- | ||
-->}} | -->}} | ||
|Distribution = {{#if:{{{distribution|}}}|{{#switch:{{{distribution}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}}} | |Distribution = {{#if:{{{distribution|}}}|{{#switch:{{{distribution}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}}} | ||
|Habitat = {{{habitat|}}} | |Habitat = {{{habitat|}}} | ||
|Season = {{#if:{{{season|}}}|{{Array|{{{season|}}}|;|[[{item}]]|,{space} }}}} | |||
|Active Time = {{#if:{{{time|}}}|{{#switch:{{{time}}}|All Day=All Day|#default=[[{{{time}}}]]}}}} | |Active Time = {{#if:{{{time|}}}|{{#switch:{{{time}}}|All Day=All Day|#default=[[{{{time}}}]]}}}} | ||
|Active Weather = {{#if:{{{weather|}}}|{{#switch:{{{weather}}}|Any Weather=Any Weather|#default=[[{{{weather}}}]]}}}} | |Active Weather = {{#if:{{{weather|}}}|{{#switch:{{{weather}}}|Any Weather=Any Weather|#default=[[{{{weather}}}]]}}}} | ||
|Selling Prices_collapsible = Yes | |Selling Prices_collapsible = Yes | ||
| Line 51: | Line 43: | ||
|★★ = {{Item|Dough|x={{{sell2|{{{price2|?}}}}}}|notext=1}} | |★★ = {{Item|Dough|x={{{sell2|{{{price2|?}}}}}}|notext=1}} | ||
|★★★ = {{Item|Dough|x={{{sell3|{{{price3|?}}}}}}|notext=1}} | |★★★ = {{Item|Dough|x={{{sell3|{{{price3|?}}}}}}|notext=1}} | ||
}}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!-- | |||
-->{{#invoke:Bucket|put|creatures | |||
|+templateargs = name, number, quality, category, group, type, min_size, max_size, distribution, habitat, time, weather, images | |||
|page_id = {{PAGEID}} | |||
|folio_score = {{#switch:{{{quality|}}}|<!-- | |||
-->|Gray|Common = 5; 12; 22<!-- | |||
-->|Purple|Rare = 10; 24; 44<!-- | |||
-->|Gold|Stellar = 40; 96; 176<!-- | |||
-->|#default = ?; ?; ?<!-- | |||
-->}} | |||
|folio_score-delimiter = ; | |||
|sell = {{{sell1|{{{price1|?}}}}}}; {{{sell2|{{{price2|?}}}}}}; {{{sell3|{{{price3|?}}}}}} | |||
|sell-delimiter = ; | |||
|image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}} | |||
|images-delimiter = ; | |||
|description = {{#invoke:Feature|unstripNoWikiFrame|{{{description|}}}}} | |||
|removed = {{{removed|0}}} | |||
}}<!-- | }}<!-- | ||
| Line 66: | Line 76: | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category:Creatures by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Creatures by Quality|{{#switch:{{{quality|}}} | ||
|Gray | |Gray|Common = 0 | ||
|Green | |Green|Blue|Uncommon = 1 | ||
|Purple | |Purple|Rare = 2 | ||
|Gold | |Gold|Stellar = 3 | ||
|#default = | |Miracle = 4 | ||
|#default = 5 | |||
}}]]}}<!-- | }}]]}}<!-- | ||
Distribution | Distribution | ||
-->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]{{#if:{{{ | -->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]}}<!-- | ||
-->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]}}<!-- | |||
-->{{#if:{{{ | -->{{#if:{{{season|}}}|{{Array|{{{season|}}}|;|[[Category:{item} Creatures]]}}}}<!-- | ||
-->{{#if:{{{weather|}}}|[[Category:{{{weather}}} Creatures]]}}<!-- | |||
-->{{#if:{{{weather|}}}|[[Category:{{{weather}}} Creatures]] | |||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||