| Latest revision |
Your text |
| Line 1: |
Line 1: |
| <includeonly>{{#invoke:Infobox|main | | <includeonly><!-- |
| |kind = Furniture
| | --><infobox> |
| |sep = ,
| | <title source="name"> |
| |class = quality-{{#if:{{{quality|}}}|{{lc:{{{quality}}}}}|none}}
| | <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> |
| |title = <!--
| | </title> |
| -->{{{title|<!-- | | <image source="image"> |
| -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!--
| | <default>{{#if:{{{type|}}}|{{#switch:{{type|}}|Building Kit=Building Kit Icon.png|#default=}}}}</default> |
| -->{{{name|{{PAGENAME}}}}}<!--
| | </image> |
| -->}}}
| | <group layout="horizontal"> |
| |subtitle = {{{subtitle|}}}
| | <data source="category"> |
| |image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]|[[File:{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png]]}}
| | <label>Category</label> |
| |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}}
| | <format>[[{{{category}}}]]</format> |
| |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | | </data> |
| |sections = Checkbox, Information, How to Obtain
| | <data source="type"> |
| | | <label>Type</label> |
| |Checkbox_nolabel = 1
| | <format>[[{{{type}}}]]</format> |
| |Checkbox = Collected
| | </data> |
| |Collected = Mark as collected <span class="tpt-instance wds-checkbox" data-category="{{PAGEID:Furniture}}" data-pageid="{{PAGEID}}"></span>
| | </group> |
| | | <data source="quality"> |
| |Information_collapsible = Yes
| | <label>Quality</label> |
| |Information = Category, Type, Quality, Set, Size, Indoor Area, Outdoor Area, Collection Score, Color, Material, Selling Price
| | <format>{{{quality}}}</format> |
| |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
| | </data> |
| |Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
| | <data source="set"> |
| |Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}}
| | <label>Set</label> |
| |Set = {{#if:{{{set_link|{{{set|}}}}}}|[[{{{set_link|{{{set}}}}}}|{{{set}}}]]}}
| | <format>[[{{{set}}}]]</format> |
| |Size = {{#if:{{{size|}}}|{{#replace:{{{size}}}|x|×}}}}
| | </data> |
| |Indoor Area = {{#if:{{{in_area|}}}|{{#replace:{{{in_area}}}|x|×}}}}
| | <group layout="horizontal"> |
| |Outdoor Area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}}
| | <data source="color"> |
| |Collection Score = {{#switch:{{{quality|}}}<!--
| | <label>Color</label> |
| -->|Common|Gray = +{{{score|5}}}<!--
| | <format>{{Array|{{{color}}}|;|{item}{newline} }}</format> |
| -->|Uncommon|Green = +{{{score|10}}}<!--
| | </data> |
| -->|Rare|Purple = {{#if:{{{score|}}}|+{{{score|}}}}}<!--
| | <data source="material"> |
| -->|Stellar|Gold = +{{{score|20}}}<!--
| | <label>Material</label> |
| -->|Miracle = {{{score|30}}}<!--
| | <format>{{Array|{{{material}}}|;|{item}{newline} }}</format> |
| -->|#default = <!--
| | </data> |
| -->}}
| | <data source="size"> |
| |Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|, }}}}
| | <label>Size</label> |
| |Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}}
| | <format>{{{size}}}</format> |
| |Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{Material Link¦{item}¦}²|, |template=1}}}}
| | </data> |
| |Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}}
| | <data source="score"> |
| |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}}
| | <label>MomentFolio Score</label> |
| | | </data> |
| |How to Obtain_collapsible = Yes
| | </group> |
| |How to Obtain = Source, Inspo Card
| | <group layout="horizontal"> |
| |Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}}
| | <data source="sellPrice"> |
| |Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}}
| | <label>Sell Price</label> |
| |Inspo Card = {{{inspo|}}}
| | </data> |
| }}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!--
| | <data source="buyPrice"> |
| | | <label>Buy Price</label> |
| -->{{#invoke:Bucket|put|furniture
| | </data> |
| |+templateargs = name, number, quality, category, type, set, set_link, color, material, description, source, images
| | </group> |
| |page_id = {{PAGEID}}
| | <header>How to Obtain</header> |
| |size = {{#if:{{{size|}}}|{{#replace:{{{size}}}|x|×}}}}
| | <data source="source"><label>Obtain</label></data> |
| |in_area = {{#if:{{{in_area|}}}|{{#replace:{{{in_area}}}|x|×}}}}
| | <data source="inspo"><label>Inspo Card</label></data> |
| |out_area = {{#if:{{{out_area|}}}|{{#replace:{{{out_area}}}|x|×}}}}
| | </infobox><!-- |
| |collection_score = {{#switch:{{{quality|}}}<!--
| |
| -->|Common|Gray = {{{score|5}}}<!--
| |
| -->|Uncommon|Green = {{{score|10}}}<!--
| |
| -->|Rare|Purple = {{{score|}}}<!--
| |
| -->|Stellar|Gold = {{{score|20}}}<!--
| |
| -->|Miracle = {{{score|30}}}<!--
| |
| -->|#default = <!--
| |
| -->}}
| |
| |color-delimiter = ;
| |
| |material-delimiter = ;
| |
| |sell = {{{sell|{{{price|}}}}}}
| |
| |source-delimiter = ;
| |
| |inspo_source = {{{inspo|}}}
| |
| |image = {{{image|{{{title|{{{name|{{PAGENAME}}}}}}}} Icon.png}}}
| |
| |images-delimiter = ;
| |
| |removed = {{{removed|0}}}
| |
| }}<!--
| |
| | |
| -->{{Namespace|main=<!-- | | -->{{Namespace|main=<!-- |
| Set page display title if name is different from page name
| |
| The namespace check is necessary since the magic words need additional masking.
| |
| -->{{#ifeq:{{NAMESPACE}}||<!--
| |
| -->{{#if:{{{name|}}}|<!--
| |
| -->{{DISPLAYTITLE:{{{name|}}}|noreplace}}<!--
| |
| -->{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}}}||[[Category:Pages with Custom Title]]}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->[[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|{{{number}}}]]|[[Category:Furniture]][[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}}}]]}}<!-- |
| -->{{#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> |