Difference between revisions of "Template:NHFurniture"

From Nookipedia, the Animal Crossing wiki
(Adjusting max width)
m (adding alt text height info)
(434 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div style="min-width:310px; max-width:640px; background-color:#FFDD66; {{roundy|16px}}; padding:.2em .5em .2em .5em; text-align:center;">
+
<noinclude>{{#cargo_declare:
<div style="line-height:1.15em; padding:5px 0 {{#if:{{{collection|}}}{{{function1|}}}|0|4px}} 0;">
+
_table=nh_furniture
[[File:{{#switch: {{{category|}}}
+
|identifier = String
  | Housewares = Furniture NH Category Icon.png{{!}}Type of houseware
+
|en_name = String
 +
|catalog_num = Integer
 +
|category = String
 +
|category_sort = Integer
 +
|collection = List (,) of String
 +
|item_series = String
 +
|item_set = String
 +
|theme1 = String
 +
|theme2 = String
 +
|former_theme1 = String
 +
|former_theme2 = String
 +
|hha_category = String
 +
|tag = String
 +
|hha_base = Integer
 +
|lucky = Boolean
 +
|lucky_season = String
 +
|function1 = String
 +
|function2 = String
 +
|buy1_price = Integer
 +
|buy1_currency = String
 +
|buy1_wikitext = Wikitext string
 +
|buy2_price = Integer
 +
|buy2_currency = String
 +
|buy2_wikitext = Wikitext string
 +
|sell = Integer
 +
|availability1 = String
 +
|availability1_note = String
 +
|availability2 = String
 +
|availability2_note = String
 +
|availability3 = String
 +
|availability3_note = String
 +
|variation_total = Integer
 +
|pattern_total = Integer
 +
|customizable = Boolean
 +
|customizable_variation = Boolean
 +
|customizable_pattern = Boolean
 +
|pattern_sable = Boolean
 +
|pattern_custom = Boolean
 +
|custom_kits = Integer
 +
|custom_kit_type = String
 +
|custom_body_part = String
 +
|custom_pattern_part = String
 +
|cyrus_price = Integer
 +
|grid_size = String
 +
|length = Float
 +
|width = Float
 +
|height = Float
 +
|edible = Boolean
 +
|energy_points = Integer
 +
|has_surface = Boolean
 +
|outdoor = Boolean
 +
|interactable = Boolean
 +
|animated = Boolean
 +
|sound = Boolean
 +
|music = Boolean
 +
|lighting = Boolean
 +
|door_decor = Boolean
 +
|is_material = Boolean
 +
|catalog = String
 +
|version_added = String
 +
|unlocked = Boolean
 +
|notes = String
 +
}}</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
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|catalog_num = {{{num|}}}
 +
|category = {{{category|}}}
 +
|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_set = {{{set|}}}
 +
|theme1 = {{{theme1|}}}
 +
|theme2 = {{{theme2|}}}
 +
|former_theme1 = {{{former-theme1|}}}
 +
|former_theme2 = {{{former-theme2|}}}
 +
|hha_category = {{{hha-category|}}}
 +
|tag = {{{tag|}}}
 +
|hha_base = {{{hha-base|}}}
 +
|lucky = {{{lucky|No}}}
 +
|lucky_season = {{#if:{{{lucky|}}}|{{{lucky-season|All year}}}|}}
 +
|function1 = {{{function1|}}}
 +
|function2 = {{{function2|}}}
 +
|buy1_price = {{{buy1-price|}}}
 +
|buy1_currency = {{{buy1-currency|}}}
 +
|buy1_wikitext = {{#ifeq:{{{buy1-price|}}}|NA|NA|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}}}}}
 +
|buy2_price = {{{buy2-price|}}}
 +
|buy2_currency = {{{buy2-currency|}}}
 +
|buy2_wikitext = {{#ifeq:{{{buy2-price|}}}|NA|NA|{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}}}}}
 +
|sell = {{{sell|}}}
 +
|availability1 = {{{availability1|}}}
 +
|availability1_note = {{{availability1-note|}}}
 +
|availability2 = {{{availability2|}}}
 +
|availability2_note = {{{availability2-note|}}}
 +
|availability3 = {{{availability3|}}}
 +
|availability3_note = {{{availability3-note|}}}
 +
|variation_total = {{#if:{{{variation1|}}}|{{#expr:1+{{#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}}}}|0}}
 +
|pattern_total = {{#if:{{{pattern1|}}}|{{#expr:1+{{#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}}}}|0}}
 +
|customizable = {{#if: {{{customizable-variation|}}}{{{customizable-pattern|}}} | Yes | No}}
 +
|customizable_variation = {{#if: {{{customizable-variation|}}} | Yes | No}}
 +
|customizable_pattern = {{#if: {{{customizable-pattern|}}} | Yes | No}}
 +
|custom_kits = {{{custom-kits|}}}
 +
|custom_kit_type = {{#if: {{{customizable-variation|}}}{{{customizable-pattern|}}} | {{{custom-kit-type|customization kit}}} | }}
 +
|custom_body_part = {{{custom-body-part|}}}
 +
|custom_pattern_part = {{{custom-pattern-part|}}}
 +
|pattern_sable = {{#if: {{{custom-pattern-sable|}}} | Yes | No}}
 +
|pattern_custom = {{#if: {{{custom-pattern-custom|}}} | Yes | No}}
 +
|cyrus_price = {{{cyrus-price|}}}
 +
|grid_size = {{{grid-size|{{{width|}}}×{{{length|}}}}}}
 +
|length = {{{length|}}}
 +
|width = {{{width|}}}
 +
|height = {{{height|}}}
 +
|edible = {{#if: {{{energy-points|}}} | Yes | No}}
 +
|energy_points = {{{energy-points|}}}
 +
|has_surface = {{{has-surface|No}}}
 +
|outdoor = {{#if: {{{outdoor|}}} | Yes | No}}
 +
|interactable = {{#if: {{{interactable|}}} | Yes | No}}
 +
|animated = {{{animated|}}}
 +
|sound = {{#if: {{{sound|}}} | Yes | No}}
 +
|music = {{#if: {{{music|}}} | Yes | No}}
 +
|lighting = {{#if: {{{lighting|}}} | Yes | No}}
 +
|door_decor = {{#if: {{{door-decor|}}} | Yes | No}}
 +
|is_material = {{#if: {{{is-material|}}} | Yes | No}}
 +
|catalog = {{{catalog|{{#if:  {{{buy1-price|}}} | For sale | Not for sale}}}}}
 +
|version_added = {{{version-added|}}}
 +
|unlocked = {{#switch: {{{unlocked|}}} | Yes=Yes | No=No | No}}
 +
|notes = {{{notes|}}}
 +
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 +
_table=nh_language_name
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|type = Furniture
 +
|engb_name = {{{engb-name|}}}
 +
|de_name = {{{de-name|}}}
 +
|es_name = {{{es-name|}}}
 +
|esl_name = {{{esl-name|{{{es-name|}}}}}}
 +
|fr_name = {{{fr-name|}}}
 +
|frq_name = {{{frq-name|{{{fr-name|}}}}}}
 +
|it_name = {{{it-name|}}}
 +
|ja_name = {{{ja-name|}}}
 +
|ko_name = {{{ko-name|}}}
 +
|nl_name = {{{nl-name|}}}
 +
|ru_name = {{{ru-name|}}}
 +
|zh_name = {{{zh-name|}}}
 +
|zht_name = {{{zht-name|{{{zh-name|}}}}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=nh_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = Furniture
 +
}}<!-- Cargo Store for recipe, if craftable --> {{#if: {{{mat1|}}}
 +
| {{#cargo_store:
 +
_table=nh_recipe
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|num = {{{diy-num|}}}
 +
|image = {{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png
 +
|image_url = {{filepath:{{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png}}
 +
|serial_id = {{{serial-id|}}}
 +
|type = {{{diy-type|Furniture}}}
 +
|buy1_price = {{{diy-buy1-price|}}}
 +
|buy1_currency = {{{diy-buy1-currency|}}}
 +
|buy1_wikitext = {{#ifeq:{{{diy-buy1-price|}}}|NA|NA|{{Currency|{{{diy-buy1-currency|}}}|{{{diy-buy1-price|}}}}}}}
 +
|buy2_price = {{{diy-buy2-price|}}}
 +
|buy2_currency = {{{diy-buy2-currency|}}}
 +
|buy2_wikitext = {{#ifeq:{{{diy-buy2-price|}}}|NA|NA|{{Currency|{{{diy-buy2-currency|}}}|{{{diy-buy2-price|}}}}}}}
 +
|sell = {{{diy-sell|}}}
 +
|recipes_to_unlock = {{{recipes-to-unlock|}}}
 +
|diy_availability1 = {{{diy-availability1|}}}
 +
|diy_availability1_note = {{{diy-availability1-note|}}}
 +
|diy_availability2 = {{{diy-availability2|}}}
 +
|diy_availability2_note = {{{diy-availability2-note|}}}
 +
|diy_availability3 = {{{diy-availability3|}}}
 +
|diy_availability3_note = {{{diy-availability3-note|}}}
 +
|materials = {"{{{mat1|}}}": {{{mat1-num|}}}{{#if:{{{mat2|}}}|, "{{{mat2|}}}": {{{mat2-num|}}}}}{{#if:{{{mat3|}}}|, "{{{mat3|}}}": {{{mat3-num|}}}}}{{#if:{{{mat4|}}}|, "{{{mat4|}}}": {{{mat4-num|}}}}}{{#if:{{{mat5|}}}|, "{{{mat5|}}}": {{{mat5-num|}}}}}{{#if:{{{mat6|}}}|, "{{{mat6|}}}": {{{mat6-num|}}}}}}
 +
|material1 = {{{mat1|}}}
 +
|material1_num = {{{mat1-num|}}}
 +
|material2 = {{{mat2|}}}
 +
|material2_num = {{{mat2-num|}}}
 +
|material3 = {{{mat3|}}}
 +
|material3_num = {{{mat3-num|}}}
 +
|material4 = {{{mat4|}}}
 +
|material4_num = {{{mat4-num|}}}
 +
|material5 = {{{mat5|}}}
 +
|material5_num = {{{mat5-num|}}}
 +
|material6 = {{{mat6|}}}
 +
|material6_num = {{{mat6-num|}}}
 +
|version_added = {{{version-added|}}}
 +
|notes =
 +
}} | }} {{#if: {{{variation1|}}}
 +
| {{#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
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|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|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}} - {{#invoke:TitleCase|main|{{{pattern{{#var: key2 }}|}}}}}) NH Icon.png}}}}}
 +
|variation = {{{variation{{#var: key }}|}}}
 +
|variation_number = {{#var: key }}
 +
|pattern = {{{pattern{{#var: key2 }}|}}}
 +
|pattern_number = {{#var: key2 }}
 +
|color1 = {{{var{{#var: key }}-color1|}}}
 +
|color2 = {{{pat{{#var: key2 }}-color1|}}}
 +
}} }} | <!-- 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
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{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_number = {{#var: key }}
 +
|pattern =
 +
|pattern_number =
 +
|color1 = {{{var{{#var: key }}-color1|}}}
 +
|color2 = {{{var{{#var: key }}-color2|}}}
 +
}} }}
 +
}} | {{#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
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{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_number =
 +
|pattern = {{{pattern{{#var: key }}|}}}
 +
|pattern_number = {{#var: key }}
 +
|color1 = {{{pat{{#var: key }}-color1|}}}
 +
|color2 = {{{pat{{#var: key }}-color2|}}}
 +
}} }} | <!-- 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
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}
 +
|image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}}
 +
|variation =
 +
|variation_number =
 +
|pattern =
 +
|pattern_number =
 +
|color1 = {{{color1|}}}
 +
|color2 = {{{color2|}}}
 +
}}}}}}<!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store:
 +
_table=nh_distribution
 +
|en_name = {{{name|}}}
 +
|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
 +
|distribution = {{{distribution|}}}
 +
|distribution_note = {{{distribution-note|}}}
 +
|distribution_sort = {{{distribution-sort|}}}
 +
|distribution_type = {{{distribution-type|}}}
 +
|version = {{{version-added|}}}
 +
}}|}}<!-- Cargo Store for seasonal item -->{{#ifeq:{{{availability1|}}}|Nook Shopping|{{#ifeq:{{{availability1-note|}}}|Seasonal|{{NHSeasonal/CargoAttach}}{{#cargo_store:
 +
_table=nh_seasonal
 +
|en_name = {{{name|}}}
 +
|event = {{{event|}}}
 +
|region = {{{region|}}}
 +
|description = {{{event-description|}}}
 +
|former_description = {{{former-event-description|}}}
 +
|event_date_north = {{{event-date|}}}
 +
|event_date_south = {{{event-date-southern|}}}
 +
|event_date_sort = {{{event-date-sort|}}}
 +
|version_added = {{{version-added|}}}
 +
}}|}}|}}
 +
<!-- Cargo store for material-->{{#if:{{{is-material|}}}|{{NHMaterial/CargoAttach}}{{#cargo_store:
 +
_table=nh_material
 +
|en_name = {{{name|}}}
 +
}}|}}}}<metakeywords>furniture, item, animal crossing, acnh, new horizons</metakeywords></includeonly>{{Infobox 2.0
 +
| primarycolor    = 39 100
 +
| secondarycolor  = 42 73
 +
| 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>|}}
 +
| 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|}}}
 +
  | Housewares = Furniture NH Category Icon.png{{!}}Type of housewares
 
  | Miscellaneous = Goods NH Category Icon.png{{!}}Type of miscellaneous furniture
 
  | Miscellaneous = Goods NH Category Icon.png{{!}}Type of miscellaneous furniture
 +
| Wall-Mounted
 
  | Wall-mounted = Wall Mount NH Category Icon.png{{!}}Type of wall-mounted furniture
 
  | Wall-mounted = Wall Mount NH Category Icon.png{{!}}Type of wall-mounted furniture
  | Tops = Clothes NH Category Icon.png{{!}}Type of top
+
  | Ceiling Decor
  | Bottoms = Bottom NH Category Icon.png{{!}}Type of bottom
+
| Ceiling decor = Ceiling Decor NH Category Icon.png{{!}}Type of ceiling decor
| Dresses = Onepiece H Category Icon.png{{!}}Type of dress
+
  | All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]]{{#if:{{{num|}}}|&nbsp;'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''}}
| Headwear = Hat NH Category Icon.png{{!}}Type of headwear
+
 
| Accessories = Accessory NH Category Icon.png{{!}}Type of accessory
+
  | 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=]]}}
  | Socks = Socks NH Category Icon.png{{!}}Type of sock
+
| caption          = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}}
| Shoes = Shoes NH Category Icon.png{{!}}Type of shoe
+
 
| Bags = Bag NH Category Icon.png{{!}}Type of bag
+
| leftlabel        = Buy price
| Umbrellas = Umbrella NH Category Icon.png{{!}}Type of umbrella
+
| rightlabel      = Sell price
| Wallpaper = Wall NH Category Icon.png{{!}}Type of wallpaper
+
| leftdata        = {{#if:{{{buy1-price|}}}|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}|short=yes}}|Not for sale}}{{#if:{{{buy2-price|}}}|<br>{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}|short=yes}}}}
| Floors = Floor NH Category Icon.png{{!}}Type of floor
+
| rightdata        = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}}
| Rug = Rug NH Category Icon.png{{!}}Type of rug
+
 
| Fossils = Fossil NH Category Icon.png{{!}}Type of fossil
+
| leftlabel2      = Height
| Music = Music NH Category Icon.png{{!}}Type of music
+
| rightlabel2      = Size
| Tools = Tool NH Category Icon.png{{!}}Type of tool
+
| 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>
| Fish = Fish NH Category Icon.png{{!}}Type of fish
+
<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>}}
| Bug = Insect NH Category Icon.png{{!}}Type of bug
+
| 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>
| All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]]
+
 
<span style="font-size:1.3em;">'''{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}}'''</span><br><small>{{#if:{{{collection|}}}|{{{collection|}}}{{#if:{{{function1|}}}|,&nbsp;{{{function1|}}}}}{{#if:{{{function2|}}}|,&nbsp;{{{function2|}}}}}|{{#if:{{{function1|}}}|{{{function1|}}}}}{{#if:{{{function2|}}}|,&nbsp;{{{function2|}}}}}}}</small>
+
| widelabel        = Size
</div>
+
| widedata        = {{#if:{{{height|}}}||<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>}}
<div class="nh_item-flex-container">
+
 
<div class="nh_item-flex-item" style="display:flex; flex-flow:column;">
+
| label            = Obtain via
<div style="margin-bottom: 7px; text-align:center; background-color:#fff; {{roundy}}; padding:4px 0 1px 0; flex-grow:1; align-items:center; display:grid; ">
+
| data            = {{Availability|{{{availability1|<includeonly>[[Category:New Horizons items without availability]]</includeonly>}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}
{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} NH Icon.png|{{#titleparts: {{PAGENAME}} | | -1 }}|link=]]|{{#if: {{{image|}}}|[[File:{{{image|}}} | | -1 }} NH Icon.png|{{#titleparts: {{PAGENAME}} | | -1 }}|link=]]|[[File:Nia.png|256px|No image available|link=]]}}}}<br>
+
 
</div>
+
| label2          = Recipe
<div class="grid-container-2-col">
+
| 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}}}}}}
<div class="grid-item">
+
 
<div style="display:inline-block; vertical-align:top; padding-top: 3px; padding-right:3px;">
+
| label3          = Recipe type
{{Size|{{{length|0.0}}}|{{{width|0.0}}}}}
+
| 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|}}}}})}}
</div>
+
 
<div style="display:inline-block; vertical-align:top; line-height:1.55em; padding-right:14px;">
+
| label4          = Recipe obtained via
<span style="font-size:.9em;">'''Size:'''<br>{{{length|0.0}}}&nbsp;×&nbsp;{{{width|0.0}}}</span>
+
| data4            = {{#if:{{{diy-availability1|}}}|{{Availability|{{{diy-availability1|}}}|size=sub{{!}}18px|note={{{diy-availability1-note|}}}}}{{#if:{{{diy-availability2|}}}|{{Availability|{{{diy-availability2|}}}|size=sub{{!}}18px|note={{{diy-availability2-note|}}}}}}}{{#if:{{{diy-availability3|}}}|{{Availability|{{{diy-availability3|}}}|size=sub{{!}}18px|note={{{diy-availability3-note|}}}}}}}}}
</div>
+
 
</div>
+
| label5          = Recipe buy price
<div class="grid-item">
+
| data5            = {{#if:{{{diy-buy1-price|}}}|{{Currency|{{{diy-buy1-currency|}}}|{{{diy-buy1-price|}}}|short=yes}}}}{{#if:{{{diy-buy2-price|}}}|<br>{{Currency|{{{diy-buy2-currency|}}}|{{{diy-buy2-price|}}}|short=yes}}}}
<span style="font-size:.9em;">'''Buy:'''&nbsp;{{#if:{{{currency|}}}|{{Currency|{{{currency|}}}|{{{buy|}}}}}|{{{buy|Unknown}}}}}<br>'''Sell:'''&nbsp;{{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Unknown}}</span>
+
 
</div>
+
| label6          = Edible
</div>
+
| data6            = {{#if: {{{energy-points|}}} | Yes (provides {{{energy-points|}}} [[edible|energy points]]) |}}
</div>
+
 
<div class="nh_item-flex-item">
+
| label7          = Customize
<div style="width:100%; border-top:1px solid #efba00; display:inline-block; text-align: left; vertical-align:top; padding-top:.1em;">
+
| 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]]}}}}
<span style="font-size:.9em;">'''Obtain from:'''</span><br>
+
 
{{Availability|{{{availability1|}}}|season={{{season1|}}}}}{{#if:{{{availability2|}}}|{{#if:{{{season1|}}}|<br>|,&nbsp;&nbsp;}}{{Availability|{{{availability2|}}}|season={{{season2|}}}}}}}
+
| label8          = [[Happy Home Academy|HHA]] themes
</div>
+
| data8            = {{#if: {{{theme1|}}} | [[Furniture/New_Horizons/{{{theme1|}}}|{{{theme1|}}}]] | }}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;[[Furniture/New_Horizons/{{{theme2|}}}|{{{theme2|}}}]]}}
{{#switch:Crafting|{{{availability1|}}}|{{{availability2|}}}=
+
 
<div style{{=}}"text-align:left;">
+
| label9          = Former HHA themes
<div style{{=}}"width:100%; vertical-align:top; display:inline-block; border-top: 1px solid #efba00; padding:0px 0px 5px 0px;">
+
| data9            = {{#if: {{{former-theme1|}}} | [[Furniture/New_Horizons/{{{former-theme1|}}}|{{{former-theme1|}}}]] |}}{{#if:{{{former-theme2|}}}|&nbsp;/&nbsp;[[Furniture/New_Horizons/{{{former-theme2|}}}|{{{former-theme2|}}}]]}}
<span style{{=}}"font-size:.9em;">'''Recipe:'''<br>
+
 
<div style="max-width:370px;">
+
| label10          = HHA points
{{Material|{{{mat1|}}}|{{{mat1-num|}}}|nb=true}}{{#if:{{{mat2|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat2|}}}|{{{mat2-num|}}}|nb=true}}}}{{#if:{{{mat3|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat3|}}}|{{{mat3-num|}}}|nb=true}}}}{{#if:{{{mat4|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat4|}}}|{{{mat4-num|}}}|nb=true}}}}{{#if:{{{mat5|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat5|}}}|{{{mat5-num|}}}|nb=true}}}}{{#if:{{{mat6|}}}|<span style="padding-left:1.2em;"></span>{{Material|{{{mat6|}}}|{{{mat6-num|}}}|nb=true}}}}
+
| data10            = {{{hha-base|?}}}
</div>
+
 
</span>
+
| {{#if:{{{variation1|}}}{{{pattern1|}}}|NULL}}label11 = Colors
</div>
+
| {{#if:{{{variation1|}}}{{{pattern1|}}}|NULL}}data11 = <div style="display:inline-block; vertical-align:top; line-height:.9em;">{{Color|{{{color1|Unknown}}}|display=inline-block}}&nbsp;{{Color|{{{color2|Unknown}}}|display=inline-block}}</div>
</div>}}
+
 
{{#if:{{{theme1|}}}{{{style|}}}{{{color1|}}}|
+
| widebottomlabel  = Variations
<div style="text-align:left; border-top:1px solid #efba00; width:100%; padding:0 0 3px 0;">
+
| widebottomdata  = <div class="nh_item-flex-container" style="position:relative; text-align:center;">
{{#if:{{{theme1|}}}{{{theme2|}}}| <div style="display:inline-block;">
+
{{#if:{{{variation1|}}} |
<span style="font-size:.9em;">'''Theme(s):'''<br>
+
{{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var">
{{{theme1|Unknown}}}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;{{{theme2|}}}}}</span>
+
<div class="nh_item-var-img">
</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>
{{#if:{{{style|}}}| <div style="display:inline-block;">
+
| <div style="width:100%; text-align: center;">None</div> }}
<span style="font-size:.9em;">'''Style:'''<br>
+
 
{{{style|Unknown}}}</span>
+
| widebottomlabel2 = Patterns
</div>}}
+
| widebottomdata2  = {{#if: {{{pattern1|}}} | <div style="position:relative;  text-align:center; text-align:left; line-height:16px;">
{{#if:{{{color1|}}}{{{color2|}}}|<div style="display:inline-block; {{#if:{{{theme1|}}}{{{style|}}}|padding-left:14px;}}">
+
{{#forargs: pattern | key | value |  
<span style="font-size:.9em;">&nbsp;'''Colors:'''</span><br><div style="display:inline-block; vertical-align:top; line-height:.9em;">{{Color|{{{color1|Unknown}}}|display=inline-block}}&nbsp;{{Color|{{{color2|Unknown}}}|display=inline-block}}</div>
+
<div style="text-align:center; vertical-align:top; display:inline-block; margin:0 11px 0 11px; width:70px;">
</div>}}
+
[[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>
</div>}}
+
<small>{{{pattern{{#var: key }}|Unknown}}}</small>
<div style="text-align:left; border-top: 1px solid #efba00;">
 
<div style="vertical-align:top; display:inline-block;">
 
<span style="font-size:.9em;">'''Customization:'''{{#ifeq:{{{customizable|}}}|True|<br>[[File:Customization Kit NH Icon.png|22px|link=|Remake kit]] {{{custom-kits|}}} kits<span style="padding-left:.8em;"></span>'''{{Colorshow|dcab00|–}}'''<span style="padding-left:.6em;"></span>[[File:Painting Set PC Icon.png|25px]]Color{{#ifeq:{{{pattern|}}}|True|<span style="padding-left:1em;"></span>[[File:Design WW Icon.png|17px]] Pattern</span>}}|<br>No customization options.}}
 
</div>
 
</div>
 
</div>
 
<div class="nh_item-flex-item" style="text-align: left;">
 
{{#if:{{{var1|}}}|
 
<div style="border-top: 1px solid #efba00;">
 
<span style="font-size:.9em;">'''Variations:'''
 
<div class="nh_item-flex-container" style="background-color:#FFFFFF; border-radius:10px; padding:10px; margin-bottom:7px;">
 
<!-- var1 start -->{{#if:{{{var1|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var1-img|}}}|{{#ifexist:File:{{{var1-img|}}}|[[File:{{{var1-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} Var1 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} Var1 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var1|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var1-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var1-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var1 end -->
 
<!-- var2 start -->{{#if:{{{var2|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var2-img|}}}|{{#ifexist:File:{{{var2-img|}}}|[[File:{{{var2-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var2 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var2 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var2|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var2-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var2-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var2 end -->
 
<!-- var3 start -->{{#if:{{{var3|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var3-img|}}}|{{#ifexist:File:{{{var3-img|}}}|[[File:{{{var3-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var3 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var3 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var3|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var3-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var3-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var3 end -->
 
<!-- var4 start -->{{#if:{{{var4|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var4-img|}}}|{{#ifexist:File:{{{var4-img|}}}|[[File:{{{var4-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var4 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var4 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var4|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var4-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var4-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var4 end -->
 
<!-- var5 start -->{{#if:{{{var5|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var5-img|}}}|{{#ifexist:File:{{{var5-img|}}}|[[File:{{{var5-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var5 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var5 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var5|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var5-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var5-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var5 end -->
 
<!-- var6 start -->{{#if:{{{var6|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var6-img|}}}|{{#ifexist:File:{{{var6-img|}}}|[[File:{{{var6-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var6 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var6 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var6|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var6-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var6-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var6 end -->
 
<!-- var7 start -->{{#if:{{{var7|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var7-img|}}}|{{#ifexist:File:{{{var7-img|}}}|[[File:{{{var7-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var7 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var7 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var7|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var7-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var7-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var7 end -->
 
<!-- var8 start -->{{#if:{{{var8|}}}|<div class="nh_item-flex-item nh_item-var">
 
<div style="display: inline-block; vertical-align: top;">
 
{{#if:{{{var8-img|}}}|{{#ifexist:File:{{{var8-img|}}}|[[File:{{{var8-img|}}}|70px]]|[[File:Nia.png|70px|link=]]}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} var8 NH Icon.png|[[File:{{#titleparts: {{PAGENAME}} | | -1 }} var8 NH Icon.png|70px]]|[[File:Nia.png|70px|link=]]}}}}</div>
 
<div class="nh_item-var-data><small>'''{{{var8|}}}'''</small>
 
<small>&nbsp;</small><br>{{Color|{{{var8-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var8-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
 
</div>
 
</div>|}}<!-- var8 end -->
 
</div>
 
</span>}}</div>
 
<div style="border-top:1px solid #efba00;">
 
<span style="font-size:.9em;">'''Name in Other Languages:'''<br>
 
<div class="nh_item-flex-container" style="align-items:center; justify-content:center; line-height:1.2em; margin-bottom: 7px;">
 
<div style="margin-left: 15px;">[[File:Flag of Japan.png|Japanese|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{ja-name|}}}|{{{ja-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of the People's Republic of China.png|Chinese (Simplified)|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{zh-name|}}}|{{{zh-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Hong Kong.png|Chinese (Traditional)|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{zht-name|}}}|{{{zht-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of France.png|French|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{fr-name|}}}|{{{fr-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Quebec.png|French (Quebec)|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{frq-name|}}}|{{{frq-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Germany.png|German|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{de-name|}}}|{{{de-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Korea.png|Korean|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{ko-name|}}}|{{{ko-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Italy.png|Italian|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{it-name|}}}|{{{it-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of the Netherlands.png|Dutch|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{nl-name|}}}|{{{nl-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Spain.png|Spanish|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{es-name|}}}|{{{es-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Mexico.png|Spanish (Latin America)|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{esl-name|}}}|{{{esl-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
<div style="margin-left: 15px;">[[File:Flag of Russia.png|Russian|link=|16px]]&nbsp;<span style="font-size:.75em;">{{#if:{{{ru-name|}}}|{{{ru-name|}}}|{{Colorshow|dcab00|Unknown}}}}</span></div>
 
</div>
 
</span>
 
</div>
 
{{#if:{{{notes|}}}|
 
<div style="text-align:left; border-top: 1px solid #efba00;">
 
<div style="vertical-align:top; display:inline-block; line-height:1.3em;">
 
<span style="font-size:.9em;">'''Notes:'''<br>
 
{{#if:{{{notes|}}}|•&nbsp;{{{notes|}}}|}}
 
</span>
 
</div>
 
</div>|}}
 
</div>
 
</div>
 
 
</div>
 
</div>
 +
}}
 +
</div> | }}
 +
 +
| widebottomlabel3 = Notes
 +
| widebottomdata3  = {{{notes|}}}
 +
 +
| 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|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
 +
| ja-name          = {{{ja-name|}}}
 +
| ko-name          = {{{ko-name|}}}
 +
| zh-name          = {{{zh-name|}}}
 +
| zht-name        = {{{zht-name|{{{zh-name|}}}}}}
 +
| fr-name          = {{{fr-name||}}}
 +
| frq-name        = {{{frq-name|{{{fr-name||}}}}}}
 +
| es-name          = {{{es-name|}}}
 +
| esl-name        = {{{esl-name|{{{es-name|}}}}}}
 +
| it-name          = {{{it-name|}}}
 +
| de-name          = {{{de-name|}}}
 +
| nl-name          = {{{nl-name|}}}
 +
| ru-name          = {{{ru-name|}}}
 +
| ja-note          = {{#if:{{{ja-name-r|}}}|{{{ja-name-r|}}}|}}
 +
| zh-note          = {{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}
 +
| zht-note        = {{#if:{{{zht-name-r|}}}|{{{zht-name-r|}}}|{{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}}}
 +
| ko-note          = {{#if:{{{ko-name-r|}}}|{{{ko-name-r|}}}|}}
 +
| ru-note          = {{#if:{{{ru-name-r|}}}|{{{ru-name-r|}}}|}}
 +
}}
 +
<includeonly>
 +
{{#ifeq:{{NAMESPACE}}|Item|[[Category:New Horizons furniture]]{{#if:{{{pattern1|}}}{{{variation1|}}} | [[Category:New Horizons furniture with variations]]}}[[Category:New Horizons {{#switch: {{{category|}}}
 +
| Housewares = housewares
 +
| Miscellaneous = miscellaneous items
 +
| Wall-Mounted
 +
| Wall-mounted = wall-mounted items
 +
| Ceiling Decor
 +
| Ceiling decor = ceiling decor 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: {{{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>

Revision as of 07:29, January 6, 2024

This template defines the table "nh_furniture". View table. A replacement table has been generated for this table; View replacement 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.