Jump to content

Editing Template:Furniture 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 5: Line 5:
|title = <!--
|title = <!--
-->{{{title|<!--
-->{{{title|<!--
    -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!--
  -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!--
   -->{{{name|{{PAGENAME}}}}}<!--
   -->{{{name|{{PAGENAME}}}}}<!--
-->}}}
-->}}}
Line 12: 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 = Checkbox, Information, How to Obtain
|sections = Information, Description, How to Obtain
 
|Checkbox_nolabel = 1
|Checkbox = Collected
|Collected = Mark as collected <span class="tpt-instance wds-checkbox" data-category="{{PAGEID:Furniture}}" data-pageid="{{PAGEID}}"></span>


|Information_collapsible = Yes
|Information_collapsible = Yes
|Information = Category, Type, Quality, Set, Size, Indoor Area, Outdoor Area, Collection Score, Color, Material, Selling Price
|Information = Category, Type, Quality, Set, Size, Indoor Area, Outdoor Area, Folio Score, Color, Material, Selling Price
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
Line 27: Line 23:
|Indoor Area = {{#if:{{{in_area|}}}|{{#replace:{{{in_area}}}|x|&times;}}}}
|Indoor Area = {{#if:{{{in_area|}}}|{{#replace:{{{in_area}}}|x|&times;}}}}
|Outdoor Area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|&times;}}}}
|Outdoor Area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|&times;}}}}
|Collection Score = {{#switch:{{{quality|}}}<!--
|Folio Score = {{#switch:{{{quality|}}}<!--
-->|Common|Gray    = +{{{score|5}}}<!--
-->|Gray    = +5<!--
-->|Uncommon|Green    = +{{{score|10}}}<!--
-->|Green    = +10<!--
-->|Rare|Purple  = {{#if:{{{score|}}}|+{{{score|}}}}}<!--
-->|Purple  = +{{{score|20}}}<!--
-->|Stellar|Gold    = +{{{score|20}}}<!--
-->|Gold    = +20<!--
-->|Miracle  = {{{score|30}}}<!--
-->|#default = <!--
-->|#default = <!--
-->}}
-->}}
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|,&nbsp;}}}}
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|{item}|,&nbsp;|sort=1}}}}
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}}
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}}
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{Material Link¦{item}¦}²|,&nbsp;|template=1}}}}
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|{item}|,&nbsp;|sort=1}}}}
|Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}}
|Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}}
|Description_collapsible = Yes
|Description = DescriptionText
|DescriptionText_wide = Yes
|DescriptionText = {{{description|}}}


|How to Obtain_collapsible = Yes
|How to Obtain_collapsible = Yes
Line 46: Line 46:
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}}
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}}
|Inspo Card = {{{inspo|}}}
|Inspo Card = {{{inspo|}}}
}}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!--
}}<!--


-->{{#invoke:Bucket|put|furniture
-->{{#invoke:Bucket|put|furniture
Line 54: Line 54:
|in_area = {{#if:{{{in_area|}}}|{{#replace:{{{in_area}}}|x|×}}}}
|in_area = {{#if:{{{in_area|}}}|{{#replace:{{{in_area}}}|x|×}}}}
|out_area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}}
|out_area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}}
|collection_score = {{#switch:{{{quality|}}}<!--
|folio_score = {{#switch:{{{quality|}}}<!--
-->|Common|Gray    = {{{score|5}}}<!--
-->|Gray    = 5<!--
-->|Uncommon|Green    = {{{score|10}}}<!--
-->|Green    = 10<!--
-->|Rare|Purple  = {{{score|}}}<!--
-->|Purple  = {{{score|20}}}<!--
-->|Stellar|Gold    = {{{score|20}}}<!--
-->|Gold    = 20<!--
-->|Miracle  = {{{score|30}}}<!--
-->|#default = <!--
-->|#default = <!--
-->}}
-->}}
Line 83: Line 82:
-->[[Category:Furniture]]<!--
-->[[Category:Furniture]]<!--
   Sort
   Sort
-->{{#if:{{{id|}}}|[[Category:Furniture by ID|{{{id}}}]][[Category:Furniture by Quality and ID|{{#switch:{{{quality|}}}
-->{{#if:{{{number|}}}|[[Category:Furniture by Number|{{{number}}}]]|[[Category:Furniture by Number]][[Category:Furniture Missing Number]]}}<!--
  |Common|Gray    = 5
  |Uncommon|Green = 4
  |Rare|Purple    = 3
  |Stellar|Gold  = 2
  |Miracle        = 1
  |#default      = 0
  }} - {{{id}}}]]|[[Category:Furniture by ID]][[Category:Furniture by Quality and ID]][[Category:Furniture Missing ID]]}}<!--
   Category
   Category
-->{{#if:{{{category|}}}|{{#ifeq:{{{category}}}|Basic Furniture|[[Category:{{{category}}}]]|[[Category:{{{category}}} Furniture]]}}}}<!--
-->{{#if:{{{category|}}}|[[Category:{{{category}}} Furniture]]}}<!--
   Type
   Type
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!--
   Quality
   Quality
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold|Common|Uncommon|Rare|Stellar|Miracle=[[Category:{{{quality}}} Quality]]|[[Category:Furniture Missing Quality]]}}
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}}
   {{#if:{{{quality|}}}|[[Category:Furniture by Quality|{{#switch:{{{quality|}}}
   {{#if:{{{quality|}}}|[[Category:Furniture by Quality|{{#switch:{{{quality|}}}
   |Common|Gray   = 0
   |Gray     = 0
   |Uncommon|Green = 1
   |Green   = 1
   |Rare|Purple   = 2
   |Purple   = 2
   |Stellar|Gold   = 3
   |Gold     = 3
  |Miracle        = 4
   |#default = 4
   |#default       = 5
   }}]]}}<!--
   }}]]|[[Category:Furniture by Quality]]}}<!--
   Set
   Set
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!--
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!--
-->{{#if:{{{color|}}}|{{Cat List|{{{color}}}|{item} Furniture}}}}<!--
-->{{#if:{{{material|}}}|{{Cat List|{{{material}}}|{item} Furniture}}}}<!--
   Size
   Size
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!--
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!--
-->{{#if:{{{inspo|}}}|[[Category:Pages Using Obsolete Parameters]]}}<!--
-->}}<!--
-->}}<!--
--></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;