Jump to content

Editing Template:Creature Infobox

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
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 2: Line 2:
|kind = Creature
|kind = Creature
|sep = ,
|sep = ,
|class = quality-{{#if:{{{quality|}}}|{{lc:{{{quality}}}}}|none}}
|title = <!--
|title = <!--
-->{{{title|<!--
-->{{{title|<!--
  -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!--
-->{{#if:{{{number|}}}|<!--
  -->{{{name|{{PAGENAME}}}}}<!--
  --><span class="archive-number quality-{{lc:{{{quality|none}}}}}"><!--
    -->{{{number}}}<!--
  --></span><!--
-->}}<!--
-->{{{name|{{PAGENAME}}}}}<!--
-->}}}
-->}}}
|subtitle = {{{subtitle|}}}
|subtitle = {{{subtitle|}}}
Line 12: Line 15:
|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 = Checkbox, Information, Selling Prices
|sections = Information, Description, 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, Collection Score, Distribution, Habitat, Season, Active Time, Active Weather
|Information = Category, Type, Quality, Size, Habitat, Distribution, Active Time, Active Weather
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Group = {{#if:{{{group|}}}|[[{{{group}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
|Quality = {{#if:{{{quality|}}}|{{#switch:{{{quality|}}}|Gray|Common= {{Common}}|Green|Blue|Uncommon = {{Uncommon}}|Purple|Rare = {{Rare}}|Gold|Yellow|Stellar = {{Stellar}}|Miracle= {{Miracle}}}}}}
|Quality = <!--
|Size = {{{min_size|???}}} – {{{max_size|???}}} cm
-->{{#if:{{{quality|}}}|<!--
|Collection Score = {{#switch:{{{quality|}}}|<!--
  --><span class="quality-label quality-{{lc:{{{quality|none}}}}}"><!--
-->|Gray|Common = <ul><li>★ +5</li><li>★★ +13</li><li>★★★ +23</li></ul><!--
    -->{{{quality|None}}}<!--
-->|Purple|Rare = <ul><li>★ +10</li><li>★★ +26</li><li>★★★ +46</li></ul><!--
  --></span><!--
-->|Gold|Stellar = <ul><li>★ +30</li><li>★★ +78</li><li>★★★ +138</li></ul><!--
-->|#default = <ul><li>★ +?</li><li>★★ +?</li><li>★★★ +?</li></ul><!--
-->}}
-->}}
|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}}}]]}}}}
|Distribution = {{#if:{{{distribution|}}}|{{#switch:{{{distribution}}}|All Regions=All Regions|Exclusive to Islets=Exclusive to [[Islets]]|#default=[[{{{distribution}}}]]}}}}
|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}}}]]}}}}
|Description_collapsible = Yes
|Description = DescriptionText
|DescriptionText_wide = Yes
|DescriptionText = {{{description|}}}


|Selling Prices_collapsible = Yes
|Selling Prices_collapsible = Yes
Line 43: Line 44:
|★★ = {{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 69: Line 52:
   Category
   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}}}]]}}<!--
  Group
-->{{#if:{{{group|}}}|[[Category:{{{group}}}]]}}<!--
   Type
   Type
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!--
Line 76: Line 57:
-->{{#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|Common        = 0
   |Gray     = 0
   |Green|Blue|Uncommon = 1
   |Green   = 1
   |Purple|Rare        = 2
   |Purple   = 2
   |Gold|Stellar        = 3
   |Gold     = 3
  |Miracle            = 4
   |#default = 4
   |#default           = 5
   }}]]}}<!--
   }}]]}}<!--
   Distribution
   Distribution
-->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]}}<!--
-->{{#if:{{{distribution|}}}|[[Category:{{{distribution}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{distribution}}} {{{type|}}}]]}}}}<!--
-->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]}}<!--
  Time
-->{{#if:{{{season|}}}|{{Array|{{{season|}}}|;|[[Category:{item} Creatures]]}}}}<!--
-->{{#if:{{{time|}}}|[[Category:{{{time}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{time}}} {{{type|}}}]]}}}}<!--
-->{{#if:{{{weather|}}}|[[Category:{{{weather}}} Creatures]]}}<!--
  Weather
-->{{#if:{{{weather|}}}|[[Category:{{{weather}}} Creatures]]{{#if:{{{type|}}}|[[Category:{{{weather}}} {{{type|}}}]]}}}}<!--
-->}}<!--
-->}}<!--
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
Please note that all contributions to The Petit Planet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Petit Planet Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template
Below are commonly used wikitext from MediaWiki:Edittools. Click on any to insert them in the edit box.
File Pages==Summary====Licensing=={{Fairuse}}{{File|}}
Dynamic Page List¦²«»²{¦}²«»«/»«!----»
Array in DPL¹^2{}^2^2{¹}^2
Parser Functions{{#if:||}}
{{#ifeq:|||}}
{{#expr:}}
{{#switch:||#default=}}
{{#replace:||}}
{{#titleparts:}}
{{#tag:|}}
Markup{{}}|[][[]][[Category:]]#REDIRECT [[]] [[Category:Redirect Pages]]<code></code><includeonly></includeonly><noinclude></noinclude><nowiki></nowiki><!----><br>§
Notices{{Stub|}}{{Stub Dialogue}}{{Upcoming}}{{Under Construction}}{{Placeholder|}}
Magic Words{{!}}{{formatnum:}}{{lc:}}{{uc:}}{{PAGENAME}}{{FULLPAGENAME}}{{ROOTPAGENAME}}{{BASEPAGENAME}}{{SUBPAGENAME}}{{DISPLAYTITLE:|noreplace}}__TOC____NOTOC____EXPECTUNUSEDCATEGORY____HIDDENCAT__
HTML Entities&mdash;&nbsp;&comma;&shy;