Template:Furniture Infobox: Difference between revisions

for basic furniture
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 32: Line 32:
-->|Rare|Purple  = {{#if:{{{score|}}}|+{{{score|}}}}}<!--
-->|Rare|Purple  = {{#if:{{{score|}}}|+{{{score|}}}}}<!--
-->|Stellar|Gold    = +{{{score|20}}}<!--
-->|Stellar|Gold    = +{{{score|20}}}<!--
-->|Miracle  = <!--
-->|Miracle  = {{{score|30}}}<!--
-->|#default = <!--
-->|#default = <!--
-->}}
-->}}
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|,&nbsp;|sort=1}}}}
|Color = {{#if:{{{color|}}}|{{Array|{{{color}}}|;|[[{item}]]|,&nbsp;}}}}
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}}
|Color_label = Color{{#if:{{#explode:{{{color}}}|;|1}}|s}}
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|[[{item}]]|,&nbsp;|sort=1}}}}
|Material = {{#if:{{{material|}}}|{{Array|{{{material}}}|;|²{Material Link¦{item}¦}²|,&nbsp;|template=1}}}}
|Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}}
|Material_label = Material{{#if:{{#explode:{{{material}}}|;|1}}|s}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}}
Line 59: Line 59:
-->|Rare|Purple  = {{{score|}}}<!--
-->|Rare|Purple  = {{{score|}}}<!--
-->|Stellar|Gold    = {{{score|20}}}<!--
-->|Stellar|Gold    = {{{score|20}}}<!--
-->|Miracle  = <!--
-->|Miracle  = {{{score|30}}}<!--
-->|#default = <!--
-->|#default = <!--
-->}}
-->}}
Line 92: Line 92:
   }} - {{{id}}}]]|[[Category:Furniture by ID]][[Category:Furniture by Quality and ID]][[Category:Furniture Missing ID]]}}<!--
   }} - {{{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|}}}|{{#ifeq:{{{category}}}|Basic Furniture|[[Category:{{{category}}}]]|[[Category:{{{category}}} Furniture]]}}}}<!--
   Type
   Type
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}} Furniture]]}}<!--