Template:Furniture Infobox: Difference between revisions
Appearance
ReisuDesign (talk | contribs) Created page with "<includeonly><!-- --><infobox> <title source="name"> <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> </title> <image source="image"/> <data source="type"> <label>Type</label> <format>[[{{{type}}}]]</format> </data> <data source="size"> <label>Size</label> </data> </infobox><!-- -->{{Namespace|main=<!-- -->{{{number}}}Category:Furniture<!-- -->{{#if:{{{type|}}}..." |
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 |
||
| (28 intermediate revisions by 5 users not shown) | |||
| Line 4: | Line 4: | ||
<format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> | ||
</title> | </title> | ||
<image source="image"/> | <image source="image"> | ||
<data source="type"> | <default>{{#if:{{{type|}}}|{{#switch:{{type|}}|Building Kit=Building Kit Icon.png|#default=}}}}</default> | ||
<label> | </image> | ||
<format>[[{{{ | <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"> | |||
<label>Quality</label> | |||
<format>{{{quality}}}</format> | |||
</data> | |||
<data source="set"> | |||
<label>Set</label> | |||
<format>[[{{{set}}}]]</format> | |||
</data> | </data> | ||
<data source="size"> | <data source="size"> | ||
<label> | <label>Size</label> | ||
<format>{{{size}}}</format> | |||
</data> | |||
<data source="score"> | |||
<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> | |||
<data source="source"><label>Obtain</label></data> | |||
<data source="inspo"><label>Inspo Card</label></data> | |||
</infobox><!-- | </infobox><!-- | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
-->[[Category: | -->[[Category:Furniture]]<!-- | ||
-->{{#if:{{{type|}}}|[[Category:{{{type}}} | Sort | ||
-->{{#if:{{{size|}}}|[[Category:{{{size}}} | -->{{#if:{{{number|}}}|[[Category:Furniture|{{{number}}}]]|[[Category:Furniture]][[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 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.