Jump to content

Template:Furniture Infobox: Difference between revisions

From The Petit Planet Wiki
No edit summary
Updated to DRUID infobox
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly>{{#invoke:Infobox|main
--><infobox>
|kind = Furniture
  <title source="name">
|sep = ,
  <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format>
|title = <!--
  </title>
-->{{{title|<!--
  <image source="image"/>
-->{{#if:{{{number|}}}|<!--
  <data source="type">
  --><span class="archive-number quality-{{lc:{{{quality|none}}}}}"><!--
    <label>Type</label>
    -->{{{number}}}<!--
    <format>[[{{{type}}}]]</format>
  --></span><!--
   </data>
-->}}<!--
  <data source="size">
-->{{{name|{{PAGENAME}}}}}<!--
     <label>Size</label>
-->}}}
  </data>
|subtitle = {{{subtitle|}}}
  <data source="score">
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}}
    <label>MomentFolio Score</label>
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
  </data>
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}}
</infobox><!--
|sections = Information, How to Obtain
 
|Information_collapsible = Yes
|Information = Category, Type, Quality, Set, Size, MomentFolio Score, Color, Material, Selling Price
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
|Quality = <!--
-->{{#if:{{{quality|}}}|<!--
   --><span class="quality-label quality-{{lc:{{{quality|none}}}}}"><!--
     -->{{{quality|None}}}<!--
  --></span><!--
-->}}
|Set = {{#if:{{{set_link|{{{set|}}}}}}|[[{{{set_link|{{{set}}}}}}|{{{set}}}]]}}
|Size = {{#if:{{{size|}}}|{{#replace:{{{size}}}|x|&times;}}}}
|MomentFolio Score = {{{score|}}}
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|{item}|,&nbsp;}}}}
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|{item}|,&nbsp;}}}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|x={{{sell|{{{price}}}}}}}}}}
 
|How to Obtain_collapsible = Yes
|How to Obtain = Source, Inspo Card
|Source = {{{source|}}}
|Inspo Card = {{{inspo|}}}
}}<!--
 
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->{{#if:{{{number|}}}|[[Category:Furnitures|{{{number}}}]]|[[Category:Furnitures]]}}[[Category:Furniture]]<!--
-->[[Category:Furniture]]<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furnitures]]}}<!--
  Sort
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Furnitures]]}}<!--
-->{{#if:{{{number|}}}|[[Category:Furniture by Number|{{{number}}}]]|[[Category:Furniture by Number]][[Category:Furniture Missing Number]]}}<!--
  Category
-->{{#if:{{{category|}}}|[[Category:{{{category}}} Furniture]]}}<!--
  Type
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!--
  Quality
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}}
  {{#if:{{{quality|}}}|[[Category:Furniture by Quality|{{#switch:{{{quality|}}}
  |Gray    = 0
  |Green    = 1
  |Purple  = 2
  |Gold    = 3
  |#default = 4
  }}]]}}<!--
  Set
-->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!--
  Size
-->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!--
-->}}<!--
-->}}<!--
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Latest revision as of 13:19, 21 February 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.