Template:Furniture Infobox: Difference between revisions
Template page
More actions
m The sets are officially called theme, added that |
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 |
||
| (23 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> | ||
</image> | |||
<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> | ||
<data source=" | <data source="set"> | ||
<label> | <label>Set</label> | ||
<format>[[{{{ | <format>[[{{{set}}}]]</format> | ||
</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> | </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> | |||
<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]]<!-- | ||
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 | |||
-->{{#if:{{{category|}}}|[[Category:{{{category}}} Furniture]]}}<!-- | |||
Type | Type | ||
-->{{#if:{{{type|}}}|[[Category:{{{type}}} | -->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!-- | ||
Quality | |||
-->{{#if:{{{ | -->{{#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 | Size | ||
-->{{#if:{{{size|}}}|[[Category:{{{size}}} | -->{{#if:{{{size|}}}|[[Category:{{{size}}} Furniture]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||