Difference between revisions of "Template:NHFurniture"

From Nookipedia, the Animal Crossing wiki
(swapping catalog num and category type placements)
m (adding alt text height info)
 
(22 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
|category = String
 
|category = String
 
|category_sort = Integer
 
|category_sort = Integer
 +
|collection = List (,) of String
 
|item_series = String
 
|item_series = String
 
|item_set = String
 
|item_set = String
Line 63: Line 64:
 
|unlocked = Boolean
 
|unlocked = Boolean
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NHLang/CargoAttach}}{{NHIdentifer/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}{{NHFurnitureVariations/CargoAttach}}<!-- Cargo Store for furniture data (not including images or variations) -->{{#cargo_store:
+
}}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NHLang/CargoAttach}}{{NHIdentifier/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}{{NHFurnitureVariations/CargoAttach}}<!-- Cargo Store for furniture data (not including images or variations) -->{{#cargo_store:
 
_table=nh_furniture
 
_table=nh_furniture
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
Line 70: Line 71:
 
|category = {{{category|}}}
 
|category = {{{category|}}}
 
|category_sort = {{#switch:{{{category|}}}|Housewares=1|Miscellaneous=2|Food=3|Wall-Mounted|Wall-mounted=4|Ceiling Decor|Ceiling decor=5}}
 
|category_sort = {{#switch:{{{category|}}}|Housewares=1|Miscellaneous=2|Food=3|Wall-Mounted|Wall-mounted=4|Ceiling Decor|Ceiling decor=5}}
 +
|collection = {{{collection|}}}
 
|item_series = {{{series|}}}
 
|item_series = {{{series|}}}
 
|item_set = {{{set|}}}
 
|item_set = {{{set|}}}
Line 102: Line 104:
 
|customizable_pattern = {{#if: {{{customizable-pattern|}}} | Yes | No}}
 
|customizable_pattern = {{#if: {{{customizable-pattern|}}} | Yes | No}}
 
|custom_kits = {{{custom-kits|}}}
 
|custom_kits = {{{custom-kits|}}}
|custom_kit_type = {{#if: {{{customizable-variation|}}}{{{customizable-pattern|}}} | {{{custom-kit-type|Customization Kit}}} | }}
+
|custom_kit_type = {{#if: {{{customizable-variation|}}}{{{customizable-pattern|}}} | {{{custom-kit-type|customization kit}}} | }}
 
|custom_body_part = {{{custom-body-part|}}}
 
|custom_body_part = {{{custom-body-part|}}}
 
|custom_pattern_part = {{{custom-pattern-part|}}}
 
|custom_pattern_part = {{{custom-pattern-part|}}}
Line 155: Line 157:
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|image = {{{name|}}} NH DIY Icon.png
+
|num = {{{diy-num|}}}
|image_url = {{filepath:{{{name|}}} NH DIY Icon.png}}
+
|image = {{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png
 +
|image_url = {{filepath:{{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png}}
 
|serial_id = {{{serial-id|}}}
 
|serial_id = {{{serial-id|}}}
 
|type = {{{diy-type|Furniture}}}
 
|type = {{{diy-type|Furniture}}}
Line 189: Line 192:
 
|notes =  
 
|notes =  
 
}} | }} {{#if: {{{variation1|}}}
 
}} | }} {{#if: {{{variation1|}}}
| {{#forargs: variation | key | value | {{#if: {{{pattern1|}}} | {{#seo:|image={{filepath:{{{image|{{{name|}}} ({{{variation1|}}} - {{{pattern1|}}}) NH Icon.png}}}}}}}{{#forargs: pattern | key2 | value | <!-- Cargo Store for variations+patterns --> {{#cargo_store:
+
| {{#forargs: variation | key | value | {{#if: {{{pattern1|}}} | {{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}} - {{#invoke:TitleCase|main|{{{pattern1|}}}}}) NH Icon.png}}}}}}}{{#forargs: pattern | key2 | value | <!-- Cargo Store for variations+patterns --> {{#cargo_store:
 
_table=nh_furniture_variation
 
_table=nh_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|image = {{{image|{{{name|}}} ({{{variation{{#var: key }}|}}} - {{{pattern{{#var: key2 }}|}}}) NH Icon.png}}}
+
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}} - {{#invoke:TitleCase|main|{{{pattern{{#var: key2 }}|}}}}}) NH Icon.png}}}
|image_url = {{filepath:{{{image|{{{name|}}} ({{{variation{{#var: key }}|}}} - {{{pattern{{#var: key2 }}|}}}) NH Icon.png}}}}}
+
|image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}} - {{#invoke:TitleCase|main|{{{pattern{{#var: key2 }}|}}}}}) NH Icon.png}}}}}
 
|variation = {{{variation{{#var: key }}|}}}
 
|variation = {{{variation{{#var: key }}|}}}
 
|variation_number = {{#var: key }}
 
|variation_number = {{#var: key }}
Line 201: Line 204:
 
|color1 = {{{var{{#var: key }}-color1|}}}
 
|color1 = {{{var{{#var: key }}-color1|}}}
 
|color2 = {{{pat{{#var: key2 }}-color1|}}}
 
|color2 = {{{pat{{#var: key2 }}-color1|}}}
}} }} | <!-- Cargo Store for variations, no patterns --> {{#seo:|image={{filepath:{{{image|{{{name|}}} ({{{variation1|}}}) NH Icon.png}}}}}}}{{#cargo_store:
+
}} }} | <!-- Cargo Store for variations, no patterns --> {{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}}) NH Icon.png}}}}}}}{{#cargo_store:
 
_table=nh_furniture_variation
 
_table=nh_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|image = {{{image|{{{name|}}} ({{{variation{{#var: key }}|}}}) NH Icon.png}}}
+
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png}}}
|image_url = {{filepath:{{{image|{{{name|}}} ({{{variation{{#var: key }}|}}}) NH Icon.png}}}}}
+
|image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png}}}}}
 
|variation = {{{variation{{#var: key }}|}}}
 
|variation = {{{variation{{#var: key }}|}}}
 
|variation_number = {{#var: key }}
 
|variation_number = {{#var: key }}
Line 214: Line 217:
 
|color2 = {{{var{{#var: key }}-color2|}}}
 
|color2 = {{{var{{#var: key }}-color2|}}}
 
}} }}
 
}} }}
}} | {{#if: {{{pattern1|}}} | {{#seo:|image={{filepath:{{{image|{{{name|}}} ({{{pattern1|}}}) NH Icon.png}}}}}}}{{#forargs: pattern | key | value | <!-- Cargo Store for patterns, no variations --> {{#cargo_store:
+
}} | {{#if: {{{pattern1|}}} | {{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{pattern1|}}}}}) NH Icon.png}}}}}}}{{#forargs: pattern | key | value | <!-- Cargo Store for patterns, no variations --> {{#cargo_store:
 
_table=nh_furniture_variation
 
_table=nh_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|image = {{{image|{{{name|}}} ({{{pattern{{#var: key }}|}}}) NH Icon.png}}}
+
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{pattern{{#var: key }}|}}}}}) NH Icon.png}}}
|image_url = {{filepath:{{{image|{{{name|}}} ({{{pattern{{#var: key }}|}}}) NH Icon.png}}}}}
+
|image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{pattern{{#var: key }}|}}}}}) NH Icon.png}}}}}
 
|variation =  
 
|variation =  
 
|variation_number =  
 
|variation_number =  
Line 226: Line 229:
 
|color1 = {{{pat{{#var: key }}-color1|}}}
 
|color1 = {{{pat{{#var: key }}-color1|}}}
 
|color2 = {{{pat{{#var: key }}-color2|}}}
 
|color2 = {{{pat{{#var: key }}-color2|}}}
}} }} | <!-- Cargo Store for sole item (no variations/patterns) -->{{#seo:|image={{filepath:{{{image|{{{name|}}} NH Icon.png}}}}}}}{{#cargo_store:
+
}} }} | <!-- Cargo Store for sole item (no variations/patterns) -->{{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}}}}{{#cargo_store:
 
_table=nh_furniture_variation
 
_table=nh_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|image = {{{image|{{{name|}}} NH Icon.png}}}
+
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}
|image_url = {{filepath:{{{image|{{{name|}}} NH Icon.png}}}}}
+
|image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}}
 
|variation =  
 
|variation =  
 
|variation_number =  
 
|variation_number =  
Line 241: Line 244:
 
_table=nh_distribution
 
_table=nh_distribution
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
|image = {{#if: {{{pattern1|}}} | {{#if: {{{variation1|}}} | {{{image|{{{name|}}} ({{{variation1|}}} - {{{pattern1|}}}) NH Icon.png}}} | {{{image|{{{name|}}} ({{{pattern1|}}}) NH Icon.png}}} }} | {{#if: {{{variation1|}}} | {{{image|{{{name|}}} ({{{variation1|}}}) NH Icon.png}}} | {{{image|{{{name|}}} NH Icon.png}}} }} }}
+
|image = {{#if: {{{pattern1|}}} | {{#if: {{{variation1|}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}} - {{#invoke:TitleCase|main|{{{pattern1|}}}}}) NH Icon.png}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{pattern1|}}}}}) NH Icon.png}}} }} | {{#if: {{{variation1|}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}}) NH Icon.png}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} }} }}
 
|type = Furniture
 
|type = Furniture
 
|distribution = {{{distribution|}}}
 
|distribution = {{{distribution|}}}
Line 266: Line 269:
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
  | title            = {{{title|{{{name|}}}}}}
+
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
 
  | subtitleabove    = {{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}} Series}}}|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|,&nbsp;|}}[[{{{set-link|{{{set|}}} Set}}}|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{{function1|}}}{{#if:{{{function2|}}}|,&nbsp;{{{function2|}}}}}{{#if:{{{function3|}}}|,&nbsp;{{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</span>|}}
 
  | subtitleabove    = {{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}} Series}}}|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|,&nbsp;|}}[[{{{set-link|{{{set|}}} Set}}}|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{{function1|}}}{{#if:{{{function2|}}}|,&nbsp;{{{function2|}}}}}{{#if:{{{function3|}}}|,&nbsp;{{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</span>|}}
  | lefticon        = [[File:{{#if:{{{energy-points|}}}|{{#ifeq:{{{energy-points|}}}|5|Dishes|Drinks}}|Furniture}} NH Inv Icon.png|sub|32px|link=]]
+
  | lefticon        = [[File:{{#if:{{{energy-points|}}}|{{#ifeq:{{{energy-points|}}}|5|Dishes|Drinks}}|Furniture}} NH Inv Icon.png|Type of furniture|sub|32px|link=Furniture/New Horizons]]
 
  | righticon        = [[File:{{#switch: {{{category|}}}
 
  | righticon        = [[File:{{#switch: {{{category|}}}
 
  | Housewares = Furniture NH Category Icon.png{{!}}Type of housewares
 
  | Housewares = Furniture NH Category Icon.png{{!}}Type of housewares
Line 276: Line 279:
 
  | Ceiling Decor
 
  | Ceiling Decor
 
  | Ceiling decor = Ceiling Decor NH Category Icon.png{{!}}Type of ceiling decor
 
  | Ceiling decor = Ceiling Decor NH Category Icon.png{{!}}Type of ceiling decor
  | All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]]{{#if:{{{num|}}}|&nbsp;'''<nowiki>#</nowiki>{{{num|}}}'''}}
+
  | All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]]{{#if:{{{num|}}}|&nbsp;'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''}}
  
  | image            = {{#ifexist:File:{{{name|}}} {{#if:{{{variation1|}}}|({{{variation1|}}}{{#if:{{{pattern1|}}}| &nbsp;- {{{pattern1|}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{{pattern1|}}})}}}} NH Icon.png|[[File:{{{name|}}} {{#if:{{{variation1|}}}|({{{variation1|}}}{{#if:{{{pattern1|}}}| &nbsp;- {{{pattern1|}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{{pattern1|}}})}}}} NH Icon.png|128px|{{{name|}}}]]|[[File:Nia.png|128px|No image available|link=]]}}
+
  | image            = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}}{{#if:{{{pattern1|}}}| &nbsp;- {{#invoke:TitleCase|main|{{{pattern1|}}}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{#invoke:TitleCase|main|{{{pattern1|}}}}})}}}} NH Icon.png|[[File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}}{{#if:{{{pattern1|}}}| &nbsp;- {{#invoke:TitleCase|main|{{{pattern1|}}}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{#invoke:TitleCase|main|{{{pattern1|}}}}})}}}} NH Icon.png|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|[[File:Nia.png|128px|No image available|link=]]}}
 
  | caption          = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}}
 
  | caption          = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}}
  
Line 289: Line 292:
 
  | rightlabel2      = Size
 
  | rightlabel2      = Size
 
  | leftdata2        = {{#if:{{{height|}}}|<div style="border-bottom:2px dotted #666; position:relative; top:{{#ifexpr: {{{height|17}}} < 15 |{{#expr:(38-(({{{height|3}}}/15)*36))round 0}}|0px}}px; "></div>
 
  | leftdata2        = {{#if:{{{height|}}}|<div style="border-bottom:2px dotted #666; position:relative; top:{{#ifexpr: {{{height|17}}} < 15 |{{#expr:(38-(({{{height|3}}}/15)*36))round 0}}|0px}}px; "></div>
<div style="padding-top:{{#ifexpr: {{{height|1}}} > 15 |{{#expr:(35-((15/{{{height|3}}})*36))round 0}}|0}}px">[[File:Boy 1 NH Silhouette.png|baseline|x{{#ifexpr: {{{height|1}}} > 15 |{{#expr:((15/{{{height|3}}})*36)round 0}}|36}}px|link=]]</div>}}
+
<div style="padding-top:{{#ifexpr: {{{height|1}}} > 15 |{{#expr:(35-((15/{{{height|3}}})*36))round 0}}|0}}px">[[File:Boy 1 NH Silhouette.png|baseline|x{{#ifexpr: {{{height|1}}} > 15 |{{#expr:((15/{{{height|3}}})*36)round 0}}|36}}px|link=|{{{height|}}}|alt={{{height|}}}]]</div>}}
 
  | rightdata2      = <div style="font-size:.9em; padding:3px 0px;">{{Size|{{#sub:{{{grid-size|0.0×0.0}}}|0|3}}|{{#sub:{{{grid-size|0.0×0.0}}}|4}}}}{{#sub:{{{grid-size|0.0×0.0}}}|0|3}}&nbsp;×&nbsp;{{#sub:{{{grid-size|0.0×0.0}}}|4}}</div>
 
  | rightdata2      = <div style="font-size:.9em; padding:3px 0px;">{{Size|{{#sub:{{{grid-size|0.0×0.0}}}|0|3}}|{{#sub:{{{grid-size|0.0×0.0}}}|4}}}}{{#sub:{{{grid-size|0.0×0.0}}}|0|3}}&nbsp;×&nbsp;{{#sub:{{{grid-size|0.0×0.0}}}|4}}</div>
  
Line 299: Line 302:
  
 
  | label2          = Recipe
 
  | label2          = Recipe
  | data2            = {{#if:{{{diy-availability1|}}}|{{Material|{{{mat1|}}}|{{{mat1-num|}}}}}{{#if:{{{mat2|}}}|{{Material|{{{mat2|}}}|{{{mat2-num|}}}}}}}{{#if:{{{mat3|}}}|{{Material|{{{mat3|}}}|{{{mat3-num|}}}}}}}{{#if:{{{mat4|}}}|{{Material|{{{mat4|}}}|{{{mat4-num|}}}}}}}{{#if:{{{mat5|}}}|{{Material|{{{mat5|}}}|{{{mat5-num|}}}}}}}{{#if:{{{mat6|}}}|{{Material|{{{mat6|}}}|{{{mat6-num|}}}}}}}}}
+
  | data2            = {{#if:{{{diy-availability1|}}}|{{Material|{{{mat1|}}}|{{{mat1-num|}}}|sentence-case=yes}}{{#if:{{{mat2|}}}|{{Material|{{{mat2|}}}|{{{mat2-num|}}}|sentence-case=yes}}}}{{#if:{{{mat3|}}}|{{Material|{{{mat3|}}}|{{{mat3-num|}}}|sentence-case=yes}}}}{{#if:{{{mat4|}}}|{{Material|{{{mat4|}}}|{{{mat4-num|}}}|sentence-case=yes}}}}{{#if:{{{mat5|}}}|{{Material|{{{mat5|}}}|{{{mat5-num|}}}|sentence-case=yes}}}}{{#if:{{{mat6|}}}|{{Material|{{{mat6|}}}|{{{mat6-num|}}}|sentence-case=yes}}}}}}
  
 
  | label3          = Recipe type
 
  | label3          = Recipe type
  | data3            = {{#if:{{{diy-availability1|}}}|[[DIY recipes/{{{diy-type|{{#switch: {{{category|}}} | Wall-Mounted | Wall-mounted =  Wall-mounted | Ceiling Decor | Ceiling decor = Ceiling decor | #default = {{{category|}}}}}}}}|{{{diy-type|{{#switch: {{{category|}}} | Wall-Mounted | Wall-mounted =  Wall-mounted | Ceiling Decor | Ceiling decor = Ceiling decor | #default = {{{category|}}}}}}}}]]}}
+
  | data3            = {{#if:{{{diy-availability1|}}}|[[DIY recipes/{{{diy-type|{{#switch: {{{category|}}} | Wall-Mounted | Wall-mounted =  Wall-mounted | Ceiling Decor | Ceiling decor = Ceiling decor | #default = {{{category|}}}}}}}}|{{{diy-type|{{#switch: {{{category|}}} | Wall-Mounted | Wall-mounted =  Wall-mounted | Ceiling Decor | Ceiling decor = Ceiling decor | #default = {{{category|}}}}}}}}]]}}{{#if:{{{diy-num|}}}|&nbsp;(<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{diy-num|}}}}})}}
  
 
  | label4          = Recipe obtained via
 
  | label4          = Recipe obtained via
Line 314: Line 317:
  
 
  | label7          = Customize
 
  | label7          = Customize
  | data7            = {{#if:{{{cyrus-price|}}}{{{customizable-variation|}}}{{{customizable-pattern|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable-variation|}}}{{{customizable-pattern|}}}|[[File:{{{custom-kit-type|Customization Kit}}} NH Customization Icon.png|22px|link=|Remake kit]] {{{custom-kits|}}} {{{custom-kit-type|kit}}}{{#ifexpr:{{{custom-kits|}}} > 1|s|}}<br /><includeonly>[[Category:New Horizons customizable furniture]]</includeonly>}}{{#if:{{{variation1|}}}|[[File:Customization NH Icon.png|22px|link=|Variations]] {{#expr:{{#if:{{{variation1|}}}|1|0}}+{{#if:{{{variation2|}}}|1|0}}+{{#if:{{{variation3|}}}|1|0}}+{{#if:{{{variation4|}}}|1|0}}+{{#if:{{{variation5|}}}|1|0}}+{{#if:{{{variation6|}}}|1|0}}+{{#if:{{{variation7|}}}|1|0}}+{{#if:{{{variation8|}}}|1|0}}}}&nbsp;variations{{#if:{{{customizable-variation|}}}||{{#if:{{{pattern1|}}}|&nbsp;(Cyrus&nbsp;only)}}}}}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}|<br />}}[[File:Fabric NH Icon.png|22px|link=|Patterns]] {{#expr:{{#if:{{{pattern1|}}}|1|0}}+{{#if:{{{pattern2|}}}|1|0}}+{{#if:{{{pattern3|}}}|1|0}}+{{#if:{{{pattern4|}}}|1|0}}+{{#if:{{{pattern5|}}}|1|0}}+{{#if:{{{pattern6|}}}|1|0}}+{{#if:{{{pattern7|}}}|1|0}}+{{#if:{{{pattern8|}}}|1|0}}}}&nbsp;patterns|}}|No customization options.}}{{#if:{{{custom-pattern-part|}}}{{{custom-body-part|}}}|{{#if:{{{cyrus-price|}}}||[[Category:New Horizons items with missing Cyrus price parameters]]}}}}
+
  | data7            = {{#if:{{{cyrus-price|}}}{{{customizable-variation|}}}{{{customizable-pattern|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable-variation|}}}{{{customizable-pattern|}}}|[[File:{{#invoke:TitleCase|main|{{{custom-kit-type|customization kit}}}}} NH Customization Icon.png|22px|link=|Remake kit]] {{{custom-kits|}}} {{{custom-kit-type|kit}}}{{#ifexpr:{{{custom-kits|}}} > 1|s|}}<br /><includeonly>[[Category:New Horizons customizable furniture]]</includeonly>}}{{#if:{{{variation1|}}}|[[File:Customization NH Icon.png|22px|link=|Variations]] {{#expr:{{#if:{{{variation1|}}}|1|0}}+{{#if:{{{variation2|}}}|1|0}}+{{#if:{{{variation3|}}}|1|0}}+{{#if:{{{variation4|}}}|1|0}}+{{#if:{{{variation5|}}}|1|0}}+{{#if:{{{variation6|}}}|1|0}}+{{#if:{{{variation7|}}}|1|0}}+{{#if:{{{variation8|}}}|1|0}}}}&nbsp;variations{{#if:{{{customizable-variation|}}}||{{#if:{{{pattern1|}}}|&nbsp;(Cyrus&nbsp;only)}}}}}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}|<br />}}[[File:Fabric NH Icon.png|22px|link=|Patterns]] {{#expr:{{#if:{{{pattern1|}}}|1|0}}+{{#if:{{{pattern2|}}}|1|0}}+{{#if:{{{pattern3|}}}|1|0}}+{{#if:{{{pattern4|}}}|1|0}}+{{#if:{{{pattern5|}}}|1|0}}+{{#if:{{{pattern6|}}}|1|0}}+{{#if:{{{pattern7|}}}|1|0}}+{{#if:{{{pattern8|}}}|1|0}}}}&nbsp;patterns|}}|No customization options.}}{{#if:{{{custom-pattern-part|}}}{{{custom-body-part|}}}|{{#if:{{{cyrus-price|}}}||[[Category:New Horizons items with missing Cyrus price parameters]]}}}}
  
 
  | label8          = [[Happy Home Academy|HHA]] themes
 
  | label8          = [[Happy Home Academy|HHA]] themes
 
  | data8            = {{#if: {{{theme1|}}} | [[Furniture/New_Horizons/{{{theme1|}}}|{{{theme1|}}}]] | }}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;[[Furniture/New_Horizons/{{{theme2|}}}|{{{theme2|}}}]]}}
 
  | data8            = {{#if: {{{theme1|}}} | [[Furniture/New_Horizons/{{{theme1|}}}|{{{theme1|}}}]] | }}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;[[Furniture/New_Horizons/{{{theme2|}}}|{{{theme2|}}}]]}}
  
  | label9         = Former HHA themes
+
  | label9           = Former HHA themes
  | data9           = {{#if: {{{former-theme1|}}} | [[Furniture/New_Horizons/{{{former-theme1|}}}|{{{former-theme1|}}}]] |}}{{#if:{{{former-theme2|}}}|&nbsp;/&nbsp;[[Furniture/New_Horizons/{{{former-theme2|}}}|{{{former-theme2|}}}]]}}
+
  | data9           = {{#if: {{{former-theme1|}}} | [[Furniture/New_Horizons/{{{former-theme1|}}}|{{{former-theme1|}}}]] |}}{{#if:{{{former-theme2|}}}|&nbsp;/&nbsp;[[Furniture/New_Horizons/{{{former-theme2|}}}|{{{former-theme2|}}}]]}}
  
 
  | label10          = HHA points
 
  | label10          = HHA points
Line 333: Line 336:
 
{{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var">
 
{{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var">
 
<div class="nh_item-var-img">
 
<div class="nh_item-var-img">
[[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|Nia.png}}|{{#if:{{{pattern1|}}}|{{#ifexist:File:{{{name|}}} ({{{variation{{#var: key }}|}}} - {{{pattern1|}}}) NH Icon.png|{{{name|}}} ({{{variation{{#var: key }}|}}} - {{{pattern1|}}}) NH Icon.png|Nia.png}}|{{#ifexist:File:{{{name|}}} ({{{variation{{#var: key }}|}}}) NH Icon.png|{{{name|}}} ({{{variation{{#var: key }}|}}}) NH Icon.png|Nia.png}}}}}}|36px|{{{name|}}}'s {{{variation{{#var: key }}|}}} variant]]</div></div>}}</div>
+
[[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|Nia.png}}|{{#if:{{{pattern1|}}}|{{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}} - {{#invoke:TitleCase|main|{{{pattern1|}}}}}) NH Icon.png|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}} - {{#invoke:TitleCase|main|{{{pattern1|}}}}}) NH Icon.png|Nia.png}}|{{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png|Nia.png}}}}}}|36px|{{#invoke:SentenceCase|main|{{{name|}}}}}'s {{{variation{{#var: key }}|}}} variant]]</div></div>}}</div>
 
| <div style="width:100%; text-align: center;">None</div> }}
 
| <div style="width:100%; text-align: center;">None</div> }}
  
Line 340: Line 343:
 
{{#forargs: pattern | key | value |  
 
{{#forargs: pattern | key | value |  
 
<div style="text-align:center; vertical-align:top; display:inline-block; margin:0 11px 0 11px; width:70px;">
 
<div style="text-align:center; vertical-align:top; display:inline-block; margin:0 11px 0 11px; width:70px;">
[[File:{{#if:{{{pat{{#var: key }}-img|}}}|{{#ifexist:File:{{{pat{{#var: key }}-img|}}}|{{{pat{{#var: key }}-img|}}}|Nia.png}}|{{#ifexist:File:{{{name|{{{name|}}}}}} NH Pattern {{#expr: {{#var: key }} - 1}}.png|{{{name|{{{name|}}}}}} NH Pattern {{#expr: {{#var: key }} - 1}}.png|Nia.png}}}}|70px|The {{{pattern{{#var: key }}|}}} pattern for the {{{name|}}}.]]<br>
+
[[File:{{#if:{{{pat{{#var: key }}-img|}}}|{{#ifexist:File:{{{pat{{#var: key }}-img|}}}|{{{pat{{#var: key }}-img|}}}|Nia.png}}|{{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} NH Pattern {{#expr: {{#var: key }} - 1}}.png|{{#invoke:TitleCase|main|{{{name|}}}}} NH Pattern {{#expr: {{#var: key }} - 1}}.png|Nia.png}}}}|70px|The {{{pattern{{#var: key }}|}}} pattern for the {{{name|}}}.]]<br>
 
<small>{{{pattern{{#var: key }}|Unknown}}}</small>
 
<small>{{{pattern{{#var: key }}|Unknown}}}</small>
 
</div>
 
</div>
Line 350: Line 353:
  
 
  | widebottomlabel4 = In other games
 
  | widebottomlabel4 = In other games
  | widebottomdata4  = {{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|default=}}{{#cargo_query:tables=ww_furniture|fields=CONCAT("[[Item:", ww_furniture.en_name, " (Wild World)|''Wild World'' (", ww_furniture.en_name, ")]]<br />")|where=ww_furniture.identifier="{{{identifier|}}}"|default=}}
+
  | widebottomdata4  = {{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|delimiter=|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_pg=1|delimiter=|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|delimiter=|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Dòngwù Sēnlín)|''Dòngwù Sēnlín'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_ique=1 AND in_dnm=0 AND in_plus=0 AND in_pg=0 AND in_e_plus=0|delimiter=|default=}}{{#cargo_query:tables=ww_furniture|fields=CONCAT("[[Item:", ww_furniture.en_name, " (Wild World)|''Wild World'' (", ww_furniture.en_name, ")]]<br />")|where=ww_furniture.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nl_furniture|fields=CONCAT("[[Item:", nl_furniture.en_name, " (New Leaf)|''New Leaf'' (", nl_furniture.en_name, ")]]<br />")|where=nl_furniture.identifier="{{{identifier|}}}"|delimiter=|default=}}
  
 
  | languages        = Names
 
  | languages        = Names
Line 380: Line 383:
 
  | Ceiling decor = ceiling decor items
 
  | Ceiling decor = ceiling decor items
 
  | Food = food items
 
  | Food = food items
  | {{{category|}}}}}]] {{#ifeq: {{{outdoor|}}} | Yes | [[Category:Outdoor items]] | }} {{#if: {{{series|}}} | [[Category:{{{series|}}} Series]]}} {{#if: {{{set|}}} | [[Category:{{{set|}}} Set]]}} {{#if:{{{length|}}}|{{#ifexpr:{{{length|}}} = 1.0 or {{{length|}}} = 1.5 or {{{length|}}} = 2.0 or {{{length|}}} = 3.0 or {{{length|}}} = 0.5||[[Category:Items with invalid size parameters]]}}}}{{#if:{{{width|}}}|{{#ifexpr:{{{width|}}} = 1.0 or {{{width|}}} = 1.5 or {{{width|}}} = 2.0 or {{{width|}}} = 3.0 or {{{width|}}} = 0.5||[[Category:Items with invalid size parameters]]}}}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{#switch:{{{availability1|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability1|}}}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{#switch:{{{availability2|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability2|}}}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{#switch:{{{availability3|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability3|}}}}}]]}}}}{{#if:{{{height|}}} | | [[Category:New Horizons items with missing height]]}} {{#if:{{{ja-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:New Horizons items with missing other language information]]}}|}}[[Category:New Horizons items introduced in {{{version-added|}}}]]{{#if: {{{diy-availability1|}}}|[[Category:Recipes acquired from {{{diy-availability1|}}}]]}}{{#if: {{{diy-availability2|}}}|[[Category:Recipes acquired from {{{diy-availability2|}}}]]}}{{#if: {{{diy-availability3|}}}|[[Category:Recipes acquired from {{{diy-availability3|}}}]]}}{{#if: {{{is-material|}}} | [[Category:New Horizons materials]] }}{{#if:{{{former-theme1|}}}|[[Category:New Horizons items with version differences]]}}{{#ifeq: {{{availability1|}}} | Crafting | {{#if: {{{mat1|}}} | | [[Category:New Horizons items with missing crafting recipes]]}}{{#if:{{{diy-availability1|}}} | | [[Category:New Horizons items with missing crafting recipe availability]]}}}}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude>
+
  | {{{category|}}}}}]] {{#ifeq: {{{outdoor|}}} | Yes | [[Category:Outdoor items]] | }} {{#if: {{{series|}}} | [[Category:{{{series|}}} Series]]}} {{#if: {{{set|}}} | [[Category:{{{set|}}} Set]]}} {{#if:{{{length|}}}|{{#ifexpr:{{{length|}}} = 1.0 or {{{length|}}} = 1.5 or {{{length|}}} = 2.0 or {{{length|}}} = 3.0 or {{{length|}}} = 0.5||[[Category:Items with invalid size parameters]]}}}}{{#if:{{{width|}}}|{{#ifexpr:{{{width|}}} = 1.0 or {{{width|}}} = 1.5 or {{{width|}}} = 2.0 or {{{width|}}} = 3.0 or {{{width|}}} = 0.5||[[Category:Items with invalid size parameters]]}}}}{{#if: {{{energy-points|}}} | [[Category:Food]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability1|}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability2|}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability3|}}}]]}}}}{{#if:{{{height|}}} | | [[Category:New Horizons items with missing height]]}} {{#if:{{{ja-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:New Horizons items with missing other language information]]}}|}}[[Category:New Horizons items introduced in {{{version-added|}}}]]{{#if: {{{diy-availability1|}}}|[[Category:Recipes acquired from {{{diy-availability1|}}}]]}}{{#if: {{{diy-availability2|}}}|[[Category:Recipes acquired from {{{diy-availability2|}}}]]}}{{#if: {{{diy-availability3|}}}|[[Category:Recipes acquired from {{{diy-availability3|}}}]]}}{{#if: {{{is-material|}}} | [[Category:New Horizons materials]] }}{{#if:{{{former-theme1|}}}|[[Category:New Horizons items with version differences]]}}{{#ifeq: {{{availability1|}}} | Crafting | {{#if: {{{mat1|}}} | | [[Category:New Horizons items with missing crafting recipes]]}}{{#if:{{{diy-availability1|}}} | | [[Category:New Horizons items with missing crafting recipe availability]]}}}}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude>

Latest revision as of 07:29, January 6, 2024

This template defines the table "nh_furniture". View table.

Type of furniture Type of item
No image available
Buy price Sell price
Not for sale Cannot be sold
Size
0.0 x 0.0 0.0 × 0.0
Obtain via
Customize No customization options.
HHA points ?
Colors
Unknown
 
Unknown
Variations
None
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown


Template documentation (view)


More Cargo templates

Parameters

Names

name
The English name of the item.
Default value: Item name in page title.
ja-name
The Japanese name of the item.
fr-name
The French name of the item.
frq-name
The Quebec French name of the item.
de-name
The German name of the item.
ko-name
The Korean name of the item.
it-name
The Italian name of the item.
nl-name
The Dutch name of the item.
zh-name
The Simplified Chinese name of the item.
zht-name
The Traditional Chinese name of the item.
es-name
The Spanish name of the item.
esl-name
The Latin American Spanish name of the item.
ru-name
The Russian name of the item.
identifier
An identifier that connects this item to items in other iterations of Animal Crossing. If an item changes name from game to game, the identifier remains constant. The identifier should be the name of the item as it appears in the earliest Animal Crossing game. For items which can only be obtained as a customization option in a later game (e.g. the Black Pawn & White Pawn become customization options for the Pawn in ACNL), the later name is used instead.
Default value: Item name in page title.
title
A title override for specific furniture items.
Default value: The title provided for name

Metadata

category
The category of the item as seen in the catalog.
Possible values: Housewares, Miscellaneous, Wall-mounted
series
The HHA series the item is a part of.
series-link
A link override for series
Default value: Value provided for series
set
The HHS set the item is a part of.
set-link
A link override for set
Default value: Value provided for set
theme1, theme2
Themes that the item belongs to. For furniture, this refers to HHA concepts.
function1, function2
The functionality of the item (e.g. bathtub, lighting, table). Functions are not an in-game attribute; Nookipedia uses them to distinguish and categorize items.
Possible values (expand as needed): Bed, Dresser, Instrument, Lighting, Mirror, Seating, Signage, Stereo, Storage, Table, Toilet
color1, color2
The colors for the item (for the purposes of feng shui). Each item has two. For items with variations, color1 and color2 should be set to those of the "default" (first) variation. Colors for variations can be defined in var1-color1/var1-color2, var2-color1/var2-color2, etc.
length
The length of the item as a float (e.g. 1.0, 1.5). Sources an image using {{Size}}.
width
The width of the item as a float (e.g. 1.0, 1.5). Sources an image using {{Size}}.
height
The height of the item as a float (e.g. 1.0, 1.5). Generates an appropriately sized silhouette and line to show height relative to the player.
outdoor
Whether the item is considered an "outdoor" item by the game (this has an impact on island evaluations).
Currently not displayed in the template.
interactable
Boolean of whether the player can interact with the item.
Currently not displayed in the template.
sound
Whether the item produces (music or otherwise).
Currently not displayed in the template.
music
Whether the item plays music (if set to yes, sound should also be set to yes).
Currently not displayed in the template.
lighting
Boolean of whether the item emits light.
Currently not displayed in the template.
animated
Whether the item is animated without any interaction. This will mostly be used with some wallpapers/flooring, but some furniture as well (e.g. fires, wind turbine, etc.)
Currently not displayed in the template.
version-added
The version of the game that the item was added to the game's files (regardless of whether or not the item is accessible without exploits).
Currently not displayed in the template.
version-unlocked
The version of the game that the item was made accessible to players.
Currently not displayed in the template.

Acquiring

availability1, availability2, availability3
How the item can be acquired. Value should match one of the options in Template:Availability.
availability1-season, availability2-season, availability3-season
If the corresponding availability is only during a particular season.
Possible values: Spring, Summer, Fall, Winter
diy-availability, diy-availability2, diy-availability3
If the item is produced using a DIY recipe, this parameter is used to note how the recipe can be acquired. Value should match one of the options in Template:Availability.
diy-availability-note, diy-availability2-note, diy-availability3-note
Notes that will appear in parentheses after the diy-availability.
mat1, mat2, mat3, mat4, mat5, mat6
Names of materials needed. Value should match one of the options in Template:Material.
mat1-num, mat2-num, mat3-num, mat4-num, mat5-num, mat6-num
Number of material needed.
buy1-price, buy2-price
Cost to purchase, if applicable.
buy1-currency, buy2-currency
Currency for corresponding buy price.
sell
Sell price in Bells.

Customization

customizable
True or False for whether the item is customizable.
custom-kits
The number of customization kits required to do a customization.
Variations
variation1, variation2, variation3, variation4, variation5 variation6, variation7, variation8
The name of each variation of an item.
var1-img, var2-img, var3-img, var4-img, var5-img var6-img, var7-img, var8-img
The image associated with each variant, not including the leading 'File:'. For items with both variants and patterns, these parameters should contain images for each variant using the first (default) pattern.
var1-color1, var2-color1, var3-color1, var4-color1, var5-color1 var6-color1, var7-color1, var8-color1
The first color associated with each variant.
var1-color2, var2-color2, var3-color2, var4-color2, var5-color2 var6-color2, var7-color2, var8-color2
The second color associated with each variant. Should be left blank if a variant can also has a pattern, as the second color is derived from the pattern.
Patterns
pattern1, pattern2, pattern3, pattern4, pattern5, pattern6, pattern7, pattern8
The name of each pattern that can be applied to an item as a customization.
pat1-img, pat2-img, pat3-img, pat4-img, pat5-img, pat6-img, pat7-img, pat8-img
The image associated with each of the above patterns.
pat1-color1, pat2-color1, pat3-color1, pat4-color1, pat5-color1 pat6-color1, pat7-color1, pat8-color1
The first color associated with each pattern.
pat1-color2, pat2-color2, pat3-color2, pat4-color2, pat5-color2 pat6-color2, pat7-color2, pat8-color2
The second color associated with each pattern. Should be left blank if a pattern can also has a variation.

Other

notes
Any additional notes (special properties, glitches, attribution, etc.).
max-length
Optional parameter that can be used to force the 2-column or 3-column display of the item name translations. The default value is 30. Increasing the value creates a tendency towards a 3-column display, decreasing it, a 2-column display.