Template:Furniture Infobox: Difference between revisions
Appearance
No edit summary |
m Moving the size out of the horizontal group so later once we have the icons of the size, we can add the icon to it |
||
| (16 intermediate revisions by 4 users not shown) | |||
| Line 7: | Line 7: | ||
<default>{{#if:{{{type|}}}|{{#switch:{{type|}}|Building Kit=Building Kit Icon.png|#default=}}}}</default> | <default>{{#if:{{{type|}}}|{{#switch:{{type|}}|Building Kit=Building Kit Icon.png|#default=}}}}</default> | ||
</image> | </image> | ||
<data source="category"> | <group layout="horizontal"> | ||
<data source="category"> | |||
<label>Category</label> | |||
<format>[[{{{category}}}]]</format> | |||
</data> | |||
<data source="type"> | |||
<label>Type</label> | |||
</ | <format>[[{{{type}}}]]</format> | ||
</data> | |||
</group> | |||
<data source="quality"> | <data source="quality"> | ||
<label>Quality</label> | <label>Quality</label> | ||
| Line 24: | Line 26: | ||
</data> | </data> | ||
<data source="size"> | <data source="size"> | ||
<label>Size</label> | |||
<format>{{{size}}}</format> | |||
</data> | </data> | ||
<data source="score"> | <data source="score"> | ||
<label>MomentFolio Score</label> | <label>MomentFolio Score</label> | ||
</data> | |||
<group layout="horizontal"> | |||
<data source="color"> | |||
<label>Color</label> | |||
<format>{{Array|{{{color}}}|;|{item}|, }}</format> | |||
</data> | |||
<data source="material"> | |||
<label>Material</label> | |||
<format>{{Array|{{{material}}}|;|{item}|, }}</format> | |||
</data> | |||
</group> | |||
<data source="sellPrice"> | |||
<label>Sell Price</label> | |||
</data> | </data> | ||
<header>How to Obtain</header> | <header>How to Obtain</header> | ||
| Line 34: | Line 50: | ||
</infobox><!-- | </infobox><!-- | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category: | -->[[Category:Furniture]]<!-- | ||
Sort | Sort | ||
-->{{#if:{{{number|}}}|[[Category:Furniture|{{{number}}}]]|[[Category:Furniture]][[Category:Furniture Missing Number]]}}<!-- | -->{{#if:{{{number|}}}|[[Category:Furniture|{{{number}}}]]|[[Category:Furniture]][[Category:Furniture Missing Number]]}}<!-- | ||
Category | Category | ||
-->{{#if:{{{category|}}}|[[Category:{{{category}}} | -->{{#if:{{{category|}}}|[[Category:{{{category}}} Furniture]]}}<!-- | ||
Type | Type | ||
-->{{#if:{{{type|}}}|[[Category:{{{type}}} | -->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
| Line 50: | Line 66: | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
Set | |||
-->{{#if:{{{set|}}}|[[Category:{{{set}}}]]}}<!-- | -->{{#if:{{{set|}}}|[[Category:{{{set}}} Set Furniture]]}}<!-- | ||
Size | Size | ||
-->{{#if:{{{size|}}}|[[Category:{{{size}}} | -->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||
Latest revision as of 11:04, 17 November 2025
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Usage |
The documentation for this template is missing. Click here to create it.