Difference between revisions of "Template:NHClothing"

From Nookipedia, the Animal Crossing wiki
(Establishing page using wikicode from NHFurniture, needs to be updated)
 
(Adding missing title casing for image_url)
(149 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div id="nh_item" style="width:330px; max-width:655px; background-color:#FFDD66; {{roundy|16px}}; padding:.2em .5em .2em .5em; text-align:center;">
+
<noinclude>{{#cargo_declare:
<div style="line-height:1.15em; padding:7px 0 3px 0;">
+
_table=nh_clothing
[[File:{{#switch: {{{category|}}}
+
|identifier = String
  | Housewares = Furniture NH Category Icon.png{{!}}Type of houseware
+
|en_name = String
  | Miscellaneous = Goods NH Category Icon.png{{!}}Type of miscellaneous furniture
+
|catalog_num = Integer
  | Wall-mounted = Wall Mount NH Category Icon.png{{!}}Type of wall-mounted furniture
+
|category = String
 +
|category_sort = Integer
 +
|style1 = String
 +
|style2 = String
 +
|label1 = String
 +
|label2 = String
 +
|label3 = String
 +
|label4 = String
 +
|label5 = 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
 +
|availability4 = String
 +
|availability4_note = String
 +
|availability_other = List (,) of String
 +
|availability_other_note = String
 +
|variation_total = Integer
 +
|vill_equip = Boolean
 +
|seasonality = String
 +
|gender = String
 +
|vill_gender = String
 +
|handbag = Boolean
 +
|spring = Integer
 +
|summer = Integer
 +
|autumn = Integer
 +
|winter = Integer
 +
|china = Integer
 +
|birthday = Integer
 +
|book = Integer
 +
|sleep = Integer
 +
|bug_catching = Integer
 +
|japanese = Integer
 +
|fishing = Integer
 +
|usually = Integer
 +
|fashion = Integer
 +
|rain = Integer
 +
|birthday_main = Integer
 +
|countdown = Integer
 +
|snow = Integer
 +
|sports = Integer
 +
|yoga = Integer
 +
|sunbathing = Integer
 +
|concert = Integer
 +
|bunny_day= Integer
 +
|fireworks = Integer
 +
|halloween = Integer
 +
|turkey_day_plaza = Integer
 +
|turkey_day_home = Integer
 +
|toy_day = Integer
 +
|is_material = Boolean
 +
|catalog = String
 +
|version_added = String
 +
|unlocked = Boolean
 +
|notes = String
 +
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NHLang/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}{{NHClothingVariations/CargoAttach}}{{NHIdentifier/CargoAttach}}<!-- Cargo Store for clothing data (not including images or variations) -->{{#cargo_store:
 +
_table=nh_clothing
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|catalog_num = {{{num|}}}
 +
|category = {{{category|}}}
 +
|category_sort = {{#switch:{{{category|}}}|Tops=1|Bottoms=2|Dress-Up=3|Headwear=4|Accessories=5|Socks=6|Shoes=7|Bags=8|Umbrellas=9|Other=10}}
 +
|style1 = {{{style1|}}}
 +
|style2 = {{{style2|}}}
 +
|label1 = {{{label1|}}}
 +
|label2 = {{{label2|}}}
 +
|label3 = {{{label3|}}}
 +
|label4 = {{{label4|}}}
 +
|label5 = {{{label5|}}}
 +
|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|}}}
 +
|availability4 = {{{availability4|}}}
 +
|availability4_note = {{{availability4-note|}}}
 +
|availability_other = {{{availability-other|}}}
 +
|availability_other_note = {{{availability-other-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}}
 +
|vill_equip = {{#switch:{{{category|}}}|Bottoms|Socks|Shoes|Bags|Other = No|{{{vill-equip|Yes}}}}}
 +
|seasonality = {{#if:{{{seasonality|}}}|{{{seasonality|}}}|All year}}
 +
|gender = {{#if:{{{gender|}}}|{{{gender|}}}|Free}}
 +
|vill_gender = {{#switch:{{{category|}}}|Bottoms|Socks|Shoes|Bags|Other = |{{{vill-gender|{{#if:{{{gender|}}}|{{{gender|}}}|Free}}}}}}}
 +
|handbag = {{#if: {{{tool|}}} | Yes | No}}
 +
|spring = {{#if: {{{spring|}}} | Yes | No}}
 +
|summer = {{#if: {{{summer|}}} | Yes | No}}
 +
|autumn = {{#if: {{{autumn|}}} | Yes | No}}
 +
|winter = {{#if: {{{winter|}}} | Yes | No}}
 +
|china = {{#if: {{{china|}}} | Yes | No}}
 +
|birthday = {{#if: {{{birthday|}}} | Yes | No}}
 +
|book = {{#if: {{{book|}}} | Yes | No}}
 +
|sleep = {{#if: {{{sleep|}}} | Yes | No}}
 +
|bug_catching = {{#if: {{{bug-catching|}}} | Yes | No}}
 +
|japanese = {{#if: {{{japanese|}}} | Yes | No}}
 +
|fishing = {{#if: {{{fishing|}}} | Yes | No}}
 +
|usually = {{#if: {{{usually|}}} | Yes | No}}
 +
|fashion = {{#if: {{{fashion|}}} | Yes | No}}
 +
|rain = {{#if: {{{rain|}}} | Yes | No}}
 +
|birthday_main = {{#if: {{{birthday-main|}}} | Yes | No}}
 +
|countdown = {{#if: {{{countdown|}}} | Yes | No}}
 +
|snow = {{#if: {{{snow|}}} | Yes | No}}
 +
|sports = {{#if: {{{sports|}}} | Yes | No}}
 +
|yoga = {{#if: {{{yoga|}}} | Yes | No}}
 +
|sunbathing = {{#if: {{{sunbathing|}}} | Yes | No}}
 +
|concert = {{#if: {{{concert|}}} | Yes | No}}
 +
|bunny_day= {{#if: {{{bunny-day|}}} | Yes | No}}
 +
|fireworks = {{#if: {{{fireworks|}}} | Yes | No}}
 +
|halloween = {{#if: {{{halloween|}}} | Yes | No}}
 +
|turkey_day_plaza = {{#if: {{{turkey-day-plaza|}}} | Yes | No}}
 +
|turkey_day_home = {{#if: {{{turkey-day-home|}}} | Yes | No}}
 +
|toy_day = {{#if: {{{toy-day|}}} | Yes | No}}
 +
|is_material = {{#if: {{{is-material|}}} | Yes | No}}
 +
|catalog = {{{catalog|}}}
 +
|version_added = {{{version-added|}}}
 +
|unlocked = {{#if: {{{unlocked|}}} | Yes | No}}
 +
|notes = {{{notes|}}}
 +
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 +
_table=nh_language_name
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|type = Clothing
 +
|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 = Clothing
 +
}}<!-- 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 = Clothing
 +
|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 | <!-- Cargo Store for variations --> {{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}}) NH Icon.png}}}}}}}{{#cargo_store:
 +
_table=nh_clothing_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}}}}}
 +
|image_storage = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH  Storage Icon.png|{{{image2|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Storage Icon.png}}}|}}
 +
|image_storage_url = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Storage Icon.png|{{filepath:{{{image2|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Storage Icon.png}}}}}|}}
 +
|variation = {{{variation{{#var: key }}|}}}
 +
|variation_number = {{#var: key }}
 +
|color1 = {{{var{{#var: key }}-color1|}}}
 +
|color2 = {{{var{{#var: key }}-color2|}}}
 +
}} }} | <!-- Cargo Store for sole item (no variations) -->{{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}}}}{{#cargo_store:
 +
_table=nh_clothing_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}}}}}
 +
|image_storage = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} NH Storage Icon.png|{{{image2|{{#invoke:TitleCase|main|{{{name|}}}}} NH Storage Icon.png}}}|}}
 +
|image_storage_url = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} NH Storage Icon.png|{{filepath:{{{image2|{{#invoke:TitleCase|main|{{{name|}}}}} NH Storage Icon.png}}}}}|}}
 +
|variation =
 +
|variation_number = 1
 +
|color1 = {{{color1|}}}
 +
|color2 = {{{color2|}}}
 +
}}
 +
}}<!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store:
 +
_table=nh_distribution
 +
|en_name = {{{name|}}}
 +
|image = {{#if: {{{variation1|}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}}) NH Icon.png}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} }}
 +
|type = Clothing
 +
|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|}}}
 +
}}|}}|}}}}<metakeywords>clothing, clothes, outfit, 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:{{{inv-icon|{{#switch: {{{category|}}}
 +
  | Tops = Top NH Inv Icon.png
 +
| Bottoms = Bottoms NH Inv Icon.png
 +
| Dress-up
 +
| Dress-Up = Dress-Up NH Inv Icon.png
 +
| Headgear
 +
| Headwear = {{#ifeq:{{{vill-equip|}}}|No|Helmet NH Inv Icon.png|Headwear NH Inv Icon.png}}
 +
  | Accessories = Accessory NH Inv Icon.png
 +
| Socks = Socks NH Inv Icon.png
 +
| Shoes = Shoes NH Inv Icon.png
 +
| Bags = {{#if:{{{tool|}}}|Handbag NH Inv Icon.png|Bag NH Inv Icon.png}}
 +
  | Umbrellas = Umbrella NH Inv Icon.png
 +
| #default = {{{inv-icon|}}}}}}}}|sub|32px|link=]]
 +
| righticon      = [[File:{{#switch: {{{category|}}}
 
  | Tops = Clothes NH Category Icon.png{{!}}Type of top
 
  | Tops = Clothes NH Category Icon.png{{!}}Type of top
 
  | Bottoms = Bottom NH Category Icon.png{{!}}Type of bottom
 
  | Bottoms = Bottom NH Category Icon.png{{!}}Type of bottom
  | Dresses = Onepiece H Category Icon.png{{!}}Type of dress
+
  | Dress-up
 +
| Dress-Up = Onepiece NH Category Icon.png{{!}}Type of dress-up
 +
| Headgear = Hat NH Category Icon.png{{!}}Type of headgear
 
  | Headwear = Hat NH Category Icon.png{{!}}Type of headwear
 
  | Headwear = Hat NH Category Icon.png{{!}}Type of headwear
 
  | Accessories = Accessory NH Category Icon.png{{!}}Type of accessory
 
  | Accessories = Accessory NH Category Icon.png{{!}}Type of accessory
Line 14: Line 275:
 
  | Bags = Bag NH Category Icon.png{{!}}Type of bag
 
  | Bags = Bag NH Category Icon.png{{!}}Type of bag
 
  | Umbrellas = Umbrella NH Category Icon.png{{!}}Type of umbrella
 
  | Umbrellas = Umbrella NH Category Icon.png{{!}}Type of umbrella
  | Wallpaper = Wall NH Category Icon.png{{!}}Type of wallpaper
+
  | Other = All NH Category Icon.png{{!}}Type of other clothing
  | Floors = Floor NH Category Icon.png{{!}}Type of floor
+
  | All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=Clothing/New Horizons]]{{#if:{{{num|}}}|&nbsp;'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''}}
| Rug = Rug NH Category Icon.png{{!}}Type of rug
+
 
| Fossils = Fossil NH Category Icon.png{{!}}Type of fossil
+
  | image            = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}})}} NH Icon.png|[[File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}})}} NH Icon.png|{{{image-size|256px}}}|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|[[File:Nia.png|256px|No image available|link=]]}}
  | Music = Music NH Category Icon.png{{!}}Type of music
+
| caption          = {{#if:{{{variation1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}
| Tools = Tool NH Category Icon.png{{!}}Type of tool
+
 
| Fish = Fish NH Category Icon.png{{!}}Type of fish
+
| leftlabel        = Buy price
| Bug = Insect NH Category Icon.png{{!}}Type of bug
+
| rightlabel      = Sell price
| All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]]
+
| leftdata        = {{#if:{{{buy1-price|}}}|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}|short=yes|note={{{buy1-note|}}}}}|Not for sale}}{{#if:{{{buy2-price|}}}|<br>{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}|short=yes|note={{{buy2-note|}}}}}}}
<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>
+
| rightdata        = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}}
</div>
+
 
<div style="min-width: 305px;">
+
| label            = Obtain via
<div style="text-align:center; background-color:#fff; {{roundy|16px}}; padding:4px 0 1px 0; align-items:center; display:grid; ">
+
| data            = {{#if:{{{availability1|}}}{{{availability-rv|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability4|}}}|{{Availability|{{{availability4|}}}|note={{{availability4-note|}}}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}}
{{#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>{{#if:{{{var|}}}|<span style="font-size:.9em;'>Variation shown: '''{{{var|}}}'''</span>|}}
+
 
</div>
+
| label2          = Recipe
<!-- Grid for Size and Buy/Sell --><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}}}}}}
<!-- First grid item for size --><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/Clothing|Equipment]]{{#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          = Styles
<!-- Second grid item for buy/sell --> <div class="grid-item">
+
| data5            = {{#if:{{{style1|}}}|[[Clothing/New Horizons/{{{style1|}}}|{{{style1|}}}]]{{#if:{{{style2|}}}|&nbsp;/ [[Clothing/New Horizons/{{{style2|}}}|{{{style2|}}}]]}}}}
<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          = Label themes
</div>
+
| data6            = {{#if:{{{label1|}}}|[[Clothing/New Horizons/{{{label1|}}}|{{{label1|}}}]]{{#if:{{{label2|}}}|&nbsp;/ [[Clothing/New Horizons/{{{label2|}}}|{{{label2|}}}]]}}{{#if:{{{label3|}}}|&nbsp;/ [[Clothing/New Horizons/{{{label3|}}}|{{{label3|}}}]]}}{{#if:{{{label4|}}}|&nbsp;/ [[Clothing/New Horizons/{{{label4|}}}|{{{label4|}}}]]}}{{#if:{{{label5|}}}|&nbsp;/ [[Clothing/New Horizons/{{{label5|}}}|{{{label5|}}}]]}}}}
</div>
+
 
<hr class="nh_item-divider" />
+
| {{#if:{{{variation1|}}}{{{pattern1|}}}|NULL}}label7 = Colors
<!-- Obtain From --><div style="width:100%; display:inline-block; text-align: left; vertical-align:top;">
+
| {{#if:{{{variation1|}}}{{{pattern1|}}}|NULL}}data7  = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Clothing/New Horizons/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]&nbsp;[[Clothing/New Horizons/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]</div>
<span style="font-size:.9em;">'''Obtain from:'''</span><br>
+
 
{{Availability|{{{availability1|}}}|season={{{season1|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|season={{{season2|}}}}}}}
+
| widebottomlabel  = Variations
</div>
+
| widebottomdata  = <div class="nh_item-flex-container" style="position:relative; text-align:center;">
{{#switch:Crafting|{{{availability1|}}}|{{{availability2|}}}=
+
{{#if:{{{variation1|}}} |  
<div style{{=}}"text-align:left;">
+
{{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var">
<hr class="nh_item-divider" />
 
<!-- Recipe --><div style{{=}}"width:100%; vertical-align:top; display:inline-block; padding:0px 0px 5px 0px;">
 
<span style{{=}}"font-size:.9em;">'''Recipe:'''</span><br>
 
<span style="display:inline-block; max-width:335px;">
 
{{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}}}}
 
</span>
 
</div>
 
</div>}}<!-- Closing #switch:Crafting -->
 
{{#if:{{{theme1|}}}{{{style|}}}{{{color1|}}}|<hr class="nh_item-divider" /><div style="text-align:left; width:100%; padding:0 0 3px 0;">
 
{{#if:{{{theme1|}}}{{{theme2|}}}| <div style="display:inline-block;">
 
<span style="font-size:.9em;">'''Theme(s):'''<br>
 
{{{theme1|Unknown}}}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;{{{theme2|}}}}}</span>
 
</div>}}
 
{{#if:{{{style|}}}| <div style="display:inline-block;">
 
<span style="font-size:.9em;">'''Style:'''<br>
 
{{{style|Unknown}}}</span>
 
</div>}}
 
{{#if:{{{color1|}}}{{{color2|}}}|<div style="display:inline-block; {{#if:{{{theme1|}}}{{{style|}}}|padding-left:14px;}}">
 
<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>}}
 
</div>}}<hr class="nh_item-divider" />
 
<!-- Customizable --> <div style="text-align:left;">
 
<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 style="text-align: left;">
 
{{#if:{{{var1|}}}|
 
<hr class="nh_item-divider" />
 
<div>
 
<span style="font-size:.9em; line-height:0em;">'''Variations:'''
 
<div class="nh_item-flex-container" style="margin-bottom:15px;">
 
<!-- var1 start -->{{#if:{{{var1|a}}}|<div class="nh_item-flex-item nh_item-var">
 
 
<div class="nh_item-var-img">
 
<div class="nh_item-var-img">
{{#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>
+
[[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|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 class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var1|}}}'''</small></div>
+
| <div style="width:100%; text-align: center;">None</div> }}
{{Color|{{{var1-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var1-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
+
 
</div>
+
| widebottomlabel2 = Notes
</div>|}}<!-- var1 end -->
+
| widebottomdata2  = {{{notes|}}}
<!-- var2 start -->{{#if:{{{var2|}}}|<div class="nh_item-flex-item nh_item-var">
+
 
<div class="nh_item-var-img">
+
| widebottomlabel3 = In other games
{{#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>
+
| widebottomdata3  = {{#cargo_query:tables=pg_clothing|fields=CONCAT("[[Item:", pg_clothing.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_clothing.en_name, ")]]<br />")|where=pg_clothing.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=pg_tool|fields=CONCAT("[[Item:", pg_tool.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_tool.en_name, ")]]<br />")|where=pg_tool.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=ww_clothing|fields=CONCAT("[[Item:", ww_clothing.en_name, " (Wild World)|''Wild World'' (", ww_clothing.en_name, ")]]<br />")|where=ww_clothing.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=ww_tool|fields=CONCAT("[[Item:", ww_tool.en_name, " (Wild World)|''Wild World'' (", ww_tool.en_name, ")]]<br />")|where=ww_tool.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nl_clothing|fields=CONCAT("[[Item:", nl_clothing.en_name, " (New Leaf)|''New Leaf'' (", nl_clothing.en_name, ")]]<br />")|where=nl_clothing.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=}}
<div class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var2|}}}'''</small></div>
+
 
{{Color|{{{var2-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var2-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
+
| languages        = Names
</div>
+
| ja-name          = {{{ja-name|}}}
</div>|}}<!-- var2 end -->
+
| ko-name          = {{{ko-name|}}}
<!-- var3 start -->{{#if:{{{var3|}}}|<div class="nh_item-flex-item nh_item-var">
+
| zh-name          = {{{zh-name|}}}
<div class="nh_item-var-img">
+
| zht-name        = {{{zht-name|{{{zh-name|}}}}}}
{{#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>
+
| fr-name          = {{{fr-name||}}}
<div class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var3|}}}'''</small></div>
+
| frq-name        = {{{frq-name|{{{fr-name||}}}}}}
{{Color|{{{var3-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var3-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
+
| es-name          = {{{es-name|}}}
</div>
+
| esl-name        = {{{esl-name|{{{es-name|}}}}}}
</div>|}}<!-- var3 end -->
+
| it-name          = {{{it-name|}}}
<!-- var4 start -->{{#if:{{{var4|}}}|<div class="nh_item-flex-item nh_item-var">
+
| de-name          = {{{de-name|}}}
<div class="nh_item-var-img">
+
| nl-name          = {{{nl-name|}}}
{{#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>
+
| ru-name          = {{{ru-name|}}}
<div class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var4|}}}'''</small></div>
+
| ja-note          = {{#if:{{{ja-name-r|}}}|{{{ja-name-r|}}}|}}
{{Color|{{{var4-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var4-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
+
| zh-note          = {{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}
</div>
+
| zht-note        = {{#if:{{{zht-name-r|}}}|{{{zht-name-r|}}}|{{#if:{{{zh-name-r|}}}|{{{zh-name-r|}}}|}}}}
</div>|}}<!-- var4 end -->
+
| ko-note          = {{#if:{{{ko-name-r|}}}|{{{ko-name-r|}}}|}}
<!-- var5 start -->{{#if:{{{var5|}}}|<div class="nh_item-flex-item nh_item-var">
+
| ru-note          = {{#if:{{{ru-name-r|}}}|{{{ru-name-r|}}}|}}
<div class="nh_item-var-img">
+
}}
{{#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>
+
<includeonly>
<div class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var5|}}}'''</small></div>
+
{{#ifeq:{{NAMESPACE}}|Item|[[Category:New Horizons clothing]]{{#if: {{{variation1|}}} |[[Category:New Horizons clothing with variations]]}}[[Category:New Horizons {{#switch: {{{category|}}}
{{Color|{{{var5-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var5-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
+
| Tops = tops
</div>
+
| Bottoms = bottoms
</div>|}}<!-- var5 end -->
+
| Dress-up
<!-- var6 start -->{{#if:{{{var6|}}}|<div class="nh_item-flex-item nh_item-var">
+
| Dress-Up = dress-up
<div class="nh_item-var-img">
+
| Headgear = headgear
{{#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>
+
| Headwear = headwear
<div class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var6|}}}'''</small></div>
+
| Accessories = accessories
{{Color|{{{var6-color1|Unknown}}}|margin=3px 3px 3px 0;|small=true}}<br>{{Color|{{{var6-color2|Unknown}}}|margin=3px 3px 3px 0;|small=true}}
+
| Socks = socks
</div>
+
| Shoes = shoes
</div>|}}<!-- var6 end -->
+
| Bags = bags
<!-- var7 start -->{{#if:{{{var7|}}}|<div class="nh_item-flex-item nh_item-var">
+
| Umbrellas = umbrellas
<div class="nh_item-var-img">
+
| Other = other clothing
{{#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>
+
| {{{category|}}}}}]]{{#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: {{{availability4|}}} | {{#ifeq:{{{availability4|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability4|}}}]]}}}}[[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:{{{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]]}}}}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude>
<div class="nh_item-var-data"><div class="nh_item-var-title"><small>'''{{{var7|}}}'''</small></div>
 
{{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 class="nh_item-var-img">
 
{{#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"><div class="nh_item-var-title"><small>'''{{{var8|}}}'''</small></div>
 
{{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>
 
<hr class="nh_item-divider" />
 
<div>
 
<div class="nh_item-flex-container" style="align-items:center; justify-content:center; line-height:1.2em; margin-top: 7px; margin-bottom: 7px;">
 
<div class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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 class="nh_item-lang">[[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>
 
</div>
 
{{#if:{{{notes|}}}|
 
<hr class="nh_item-divider" />
 
<div style="text-align:left;>
 
<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><noinclude><br>{{Documentation}}</noinclude>
 

Revision as of 00:34, March 10, 2023

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

[[File:|sub|32px|link=]] Type of item
No image available
Buy price Sell price
Not for sale Cannot be sold
Colors
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.

Metadata

category
The category of the item as seen in the catalog.
Possible values: Tops, Bottoms, Dress-Up, Headwear, Accessories, Socks, Shoes, Bags
style
Style of the item.
label1, label2, label3, label4, label5
Themes for the Label's fashion check.
color1, color2
The colors for the item. 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.

Acquiring

availability1, availability2
How the item can be acquired. Value should match one of the options in Template:Availability.
availability1-note, availability2-note
Notes for the availability (e.g. Season, requirements, etc.).
diy-availability1, 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-availability1-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.
buy-bells
Cost to purchase in Bells.
buy-miles
Cost to purchase in Nook Miles.
sell
Sell price in Bells.

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.

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.