Difference between revisions of "Template:NHClothing"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) m (Text replacement - "{{{diy_availability" to "{{{diy-availability") |
(update to match the latest version of Template:NHFurniture) |
||
Line 26: | Line 26: | ||
|Width = Float | |Width = Float | ||
|Height = Float | |Height = Float | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Notes = String | |Notes = String | ||
− | }}</noinclude><includeonly><!-- Cargo Store for recipe, if customizable --> {{#ifeq: {{{availability1|}}} | + | }}</noinclude><includeonly><!-- Cargo Store for different language names -->{{#cargo_store: |
+ | table=nh_language_names | ||
+ | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | ||
+ | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} | ||
+ | |DE_Name = {{{de-name|}}} | ||
+ | |ES_Name = {{{es-name|}}} | ||
+ | |ESL_Name = {{{esl-name|}}} | ||
+ | |FR_Name = {{{fr-name|}}} | ||
+ | |FRQ_Name = {{{frq-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|}}} | ||
+ | }}<!-- Cargo Store for recipe, if customizable --> {{#ifeq: {{{availability1|}}} | ||
| Crafting | {{#cargo_store: | | Crafting | {{#cargo_store: | ||
_table=nh_recipes | _table=nh_recipes | ||
− | |Identifier = {{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}} | + | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} |
− | |Name = {{{name|{{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}}}}} | + | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
+ | |Buy = {{{diy-buy|}}} | ||
+ | |Currency {{{diy-currency|}}} | ||
+ | |Sell = {{{diy-sell|}}} | ||
|DIY_Availability1 = {{{diy-availability1|}}} | |DIY_Availability1 = {{{diy-availability1|}}} | ||
|DIY_Availability1_Note = {{{diy-availability1-note|}}} | |DIY_Availability1_Note = {{{diy-availability1-note|}}} | ||
|DIY_Availability2 = {{{diy-availability2|}}} | |DIY_Availability2 = {{{diy-availability2|}}} | ||
|DIY_Availability2_Note = {{{diy-availability2-note|}}} | |DIY_Availability2_Note = {{{diy-availability2-note|}}} | ||
+ | |DIY_Availability3 = {{{diy-availability3|}}} | ||
+ | |DIY_Availability3_Note = {{{diy-availability3-note|}}} | ||
|Material1 = {{{mat1|}}} | |Material1 = {{{mat1|}}} | ||
|Material1_Num = {{{mat1-num|}}} | |Material1_Num = {{{mat1-num|}}} | ||
Line 60: | Line 69: | ||
|Material6 = {{{mat6|}}} | |Material6 = {{{mat6|}}} | ||
|Material6_Num = {{{mat6-num|}}} | |Material6_Num = {{{mat6-num|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | {{#ifeq: {{{availability2|}}} | Crafting | {{#cargo_store: | }} | {{#ifeq: {{{availability2|}}} | Crafting | {{#cargo_store: | ||
_table=nh_recipes | _table=nh_recipes | ||
− | |Identifier = {{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}} | + | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} |
− | |Name = {{{name|{{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}}}}} | + | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
|DIY_Availability1 = {{{diy-availability1|}}} | |DIY_Availability1 = {{{diy-availability1|}}} | ||
|DIY_Availability1_Note = {{{diy-availability1-note|}}} | |DIY_Availability1_Note = {{{diy-availability1-note|}}} | ||
Line 92: | Line 89: | ||
|Material6 = {{{mat6|}}} | |Material6 = {{{mat6|}}} | ||
|Material6_Num = {{{mat6-num|}}} | |Material6_Num = {{{mat6-num|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} }} {{#if: {{{variation1|}}} | }} | }} }} {{#if: {{{variation1|}}} | ||
| {{#forargs: variation | key | value | {{#if: {{{pattern1|}}} | {{#forargs: pattern | key2 | value | <!-- Cargo Store for variations+patterns --> {{#cargo_store: | | {{#forargs: variation | key | value | {{#if: {{{pattern1|}}} | {{#forargs: pattern | key2 | value | <!-- Cargo Store for variations+patterns --> {{#cargo_store: | ||
_table=nh_clothing | _table=nh_clothing | ||
− | |Identifier = {{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}} | + | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} |
− | |Name = {{{name|{{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}}}}} | + | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
|IsDefault = {{#ifeq: "{{#var: key }}" | "1" | {{#ifeq: "{{#var: key2 }}" | "1" | Yes | No}} | No}} | |IsDefault = {{#ifeq: "{{#var: key }}" | "1" | {{#ifeq: "{{#var: key2 }}" | "1" | Yes | No}} | No}} | ||
|Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}} - {{{pattern{{#var: key2 }}|}}}) NH Icon.png}}} | |Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}} - {{{pattern{{#var: key2 }}|}}}) NH Icon.png}}} | ||
Line 132: | Line 117: | ||
|Width = {{{width|}}} | |Width = {{{width|}}} | ||
|Height = {{{height|}}} | |Height = {{{height|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Notes = {{{notes|}}} | |Notes = {{{notes|}}} | ||
}} }} | <!-- Cargo Store for variations, no patterns -->{{#cargo_store: | }} }} | <!-- Cargo Store for variations, no patterns -->{{#cargo_store: | ||
_table=nh_clothing | _table=nh_clothing | ||
− | |Identifier = {{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}} | + | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} |
− | |Name = {{{name|{{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}}}}} | + | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
|IsDefault = {{#ifeq: "{{#var: key }}" | "1" | Yes | No}} | |IsDefault = {{#ifeq: "{{#var: key }}" | "1" | Yes | No}} | ||
|Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}}) NH Icon.png}}} | |Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}}) NH Icon.png}}} | ||
Line 172: | Line 145: | ||
|Width = {{{width|}}} | |Width = {{{width|}}} | ||
|Height = {{{height|}}} | |Height = {{{height|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Notes = {{{notes|}}} | |Notes = {{{notes|}}} | ||
}} }} | }} }} | ||
}} | {{#if: {{{pattern1|}}} | {{#forargs: pattern | key | value | <!-- Cargo Store for patterns, no variations --> {{#cargo_store: | }} | {{#if: {{{pattern1|}}} | {{#forargs: pattern | key | value | <!-- Cargo Store for patterns, no variations --> {{#cargo_store: | ||
_table=nh_clothing | _table=nh_clothing | ||
− | |Identifier = {{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}} | + | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} |
− | |Name = {{{name|{{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}}}}} | + | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
|IsDefault = {{#ifeq: "{{#var: key }}" | "1" | Yes | No}} | |IsDefault = {{#ifeq: "{{#var: key }}" | "1" | Yes | No}} | ||
|Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{pattern{{#var: key }}|}}}) NH Icon.png}}} | |Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{pattern{{#var: key }}|}}}) NH Icon.png}}} | ||
Line 213: | Line 174: | ||
|Width = {{{width|}}} | |Width = {{{width|}}} | ||
|Height = {{{height|}}} | |Height = {{{height|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Notes = {{{notes|}}} | |Notes = {{{notes|}}} | ||
}} }} | <!-- Cargo Store for sole item (no variations/patterns) -->{{#cargo_store: | }} }} | <!-- Cargo Store for sole item (no variations/patterns) -->{{#cargo_store: | ||
_table=nh_clothing | _table=nh_clothing | ||
− | |Identifier = {{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}} | + | |Identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} |
− | |Name = {{{name|{{{identifier|{{#titleparts: {{PAGENAME}} | | -1 }}}}}}}} | + | |Name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
|IsDefault = Yes | |IsDefault = Yes | ||
|Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} NH Icon.png}}} | |Image = {{{image|{{#titleparts: {{PAGENAME}} | | -1 }} NH Icon.png}}} | ||
Line 253: | Line 202: | ||
|Width = {{{width|}}} | |Width = {{{width|}}} | ||
|Height = {{{height|}}} | |Height = {{{height|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Notes = {{{notes|}}} | |Notes = {{{notes|}}} | ||
}} | }} | ||
Line 272: | Line 209: | ||
<div style="line-height:.45em; padding:7px 0 9px 0;"> | <div style="line-height:.45em; padding:7px 0 9px 0;"> | ||
[[File:{{#switch: {{{category|}}} | [[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 | ||
− | | Dress- | + | | Dress-Up = Onepiece H Category Icon.png{{!}}Type of dress-up |
| 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 283: | Line 217: | ||
| Shoes = Shoes NH Category Icon.png{{!}}Type of shoe | | Shoes = Shoes NH Category Icon.png{{!}}Type of shoe | ||
| Bags = Bag NH Category Icon.png{{!}}Type of bag | | Bags = Bag NH Category Icon.png{{!}}Type of bag | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]] | | All NH Category Icon.png{{!}}Type of item}}|sub|20px|link=]] | ||
− | <span style="font-size:1.3em; padding-left:2px;">'''{{{name|{{#titleparts: {{PAGENAME}} | | -1 }}}}}'''</span> | + | <span style="font-size:1.3em; padding-left:2px;">'''{{{name|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}'''</span> |
{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block; padding-bottom:.8em;"><small>|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}}}}} Series|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|, |}}[[{{{set-link|{{{set|}}}}}} Set|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function1|}}}{{#if:{{{function2|}}}|, {{{function2|}}}}}{{#if:{{{function3|}}}|, {{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</small></span>|}}</div> | {{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block; padding-bottom:.8em;"><small>|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}}}}} Series|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|, |}}[[{{{set-link|{{{set|}}}}}} Set|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function1|}}}{{#if:{{{function2|}}}|, {{{function2|}}}}}{{#if:{{{function3|}}}|, {{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</small></span>|}}</div> | ||
<div style="min-width: 305px;"> | <div style="min-width: 305px;"> | ||
<div style="text-align:center; background-color:#fff; {{roundy|16px}}; padding:4px 0 1px 0; align-items:center; display:grid; "> | <div style="text-align:center; background-color:#fff; {{roundy|16px}}; padding:4px 0 1px 0; align-items:center; display:grid; "> | ||
− | {{#ifexist:File:{{#titleparts:{{PAGENAME}}||-1}} {{#if:{{{variation1|}}}|({{{variation1|}}}{{#if:{{{pattern1|}}}| - {{{pattern1|}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{{pattern1|}}})}}}} NH Icon.png|[[File:{{#titleparts:{{PAGENAME}}||-1}} {{#if:{{{variation1|}}}|({{{variation1|}}}{{#if:{{{pattern1|}}}| - {{{pattern1|}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{{pattern1|}}})}}}} NH Icon.png|256px|{{#titleparts:{{PAGENAME}}||-1}}]]|[[File:Nia.png|256px|No image available|link=]]}}<br>{{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|<small>{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}</small>|<small>{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}</small>}}|{{#if:{{{pattern1|}}}|<small>{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}</small>|}}}} | + | {{#ifexist:File:{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} {{#if:{{{variation1|}}}|({{{variation1|}}}{{#if:{{{pattern1|}}}| - {{{pattern1|}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{{pattern1|}}})}}}} NH Icon.png|[[File:{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} {{#if:{{{variation1|}}}|({{{variation1|}}}{{#if:{{{pattern1|}}}| - {{{pattern1|}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{{pattern1|}}})}}}} NH Icon.png|256px|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}]]|[[File:Nia.png|256px|No image available|link=]]}}<br>{{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|<small>{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}</small>|<small>{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}</small>}}|{{#if:{{{pattern1|}}}|<small>{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}</small>|}}}} |
</div> | </div> | ||
<!-- Height display --><div style="display:inline-block; vertical-align:top; padding-top:7px;"> | <!-- Height display --><div style="display:inline-block; vertical-align:top; padding-top:7px;"> | ||
Line 323: | Line 248: | ||
<hr class="nh_item-divider" /> | <hr class="nh_item-divider" /> | ||
<!-- Recipe --><div style{{=}}"width:100%; vertical-align:top; display:inline-block; padding:0px 0px 5px 0px;"> | <!-- Recipe --><div style{{=}}"width:100%; vertical-align:top; display:inline-block; padding:0px 0px 5px 0px;"> | ||
− | <span style="font-size:.9em;">'''Recipe:'''{{#if:{{{diy-availability1|}}}| Obtained from {{Availability|{{{diy-availability1|}}}|nb=false|size=sub{{!}}18px|note={{{diy-availability1-note|}}}}}}}{{#if:{{{diy-availability2|}}}|, | + | <span style="font-size:.9em;">'''Recipe:'''{{#if:{{{diy-availability1|}}}| Obtained from</span> {{Availability|{{{diy-availability1|}}}|nb=false|size=sub{{!}}18px|note={{{diy-availability1-note|}}}}}}}{{#if:{{{diy-availability2|}}}|, {{Availability|{{{diy-availability2|}}}|nb=false|size=sub{{!}}18px|note={{{diy-availability2-note|}}}}}}}{{#if:{{{diy-availability3|}}}|, {{Availability|{{{diy-availability3|}}}|nb=false|size=sub{{!}}18px|note={{{diy-availability3-note|}}}}}}}<br> |
<span style="display:inline-block; max-width:335px; font-size:.9em;"> | <span style="display:inline-block; max-width:335px; font-size:.9em;"> | ||
{{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> | {{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> | ||
Line 335: | Line 260: | ||
<span style="font-size:.9em;">'''Label Theme(s):'''<br> | <span style="font-size:.9em;">'''Label Theme(s):'''<br> | ||
{{{label1|Unknown}}}{{#if:{{{label2|}}}| / {{{label2|}}}}}{{#if:{{{label3|}}}| / {{{label3|}}}}}{{#if:{{{label4|}}}| / {{{label4|}}}}}{{#if:{{{label5|}}}| / {{{label5|}}}}}</span> | {{{label1|Unknown}}}{{#if:{{{label2|}}}| / {{{label2|}}}}}{{#if:{{{label3|}}}| / {{{label3|}}}}}{{#if:{{{label4|}}}| / {{{label4|}}}}}{{#if:{{{label5|}}}| / {{{label5|}}}}}</span> | ||
− | </div>}}{{#if:{{{variation1|}}}{{{pattern1|}}}||<div style="display:inline-block; {{#if:{{{ | + | </div>}}{{#if:{{{variation1|}}}{{{pattern1|}}}||<div style="display:inline-block; {{#if:{{{theme1|}}}{{{style|}}}|padding-left:20px;}}"> |
<span style="font-size:.9em;"> '''Colors:'''</span><br><div style="display:inline-block; vertical-align:top; line-height:.9em;">{{Color|{{{color1|Unknown}}}|display=inline-block}} {{Color|{{{color2|Unknown}}}|display=inline-block}}</div> | <span style="font-size:.9em;"> '''Colors:'''</span><br><div style="display:inline-block; vertical-align:top; line-height:.9em;">{{Color|{{{color1|Unknown}}}|display=inline-block}} {{Color|{{{color2|Unknown}}}|display=inline-block}}</div> | ||
</div>}} | </div>}} | ||
Line 351: | Line 276: | ||
{{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var"> | {{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var"> | ||
<div class="nh_item-var-img"> | <div class="nh_item-var-img"> | ||
− | [[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|Nia.png}}|{{#if:{{{pattern1|}}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}} - {{{pattern1|}}}) NH Icon.png|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}} - {{{pattern1|}}}) NH Icon.png|Nia.png}}|{{#ifexist:File:{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}}) NH Icon.png|{{#titleparts: {{PAGENAME}} | | -1 }} ({{{variation{{#var: key }}|}}}) NH Icon.png|Nia.png}}}}}}| | + | [[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|Nia.png}}|{{#if:{{{pattern1|}}}|{{#ifexist:File:{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} ({{{variation{{#var: key }}|}}} - {{{pattern1|}}}) NH Icon.png|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}} ({{{variation{{#var: key }}|}}} - {{{pattern1|}}}) NH Icon.png|Nia.png}}|{{#ifexist:File:{{#replace:{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|.|}}|<nowiki> </nowiki>(New Horizons)|}} ({{{variation{{#var: key }}|}}}) NH Icon.png|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}} ({{{variation{{#var: key }}|}}}) NH Icon.png|Nia.png}}}}}}|36px|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}'s {{{variation{{#var: key }}|}}} variant]]</div><br> |
</div>}} | </div>}} | ||
</div> | </div> | ||
Line 397: | Line 322: | ||
</div> | </div> | ||
</div> | </div> | ||
− | </div><noinclude>{{clear}}<br>{{Documentation}}</noinclude> | + | </div><includeonly> |
+ | [[Category:New Horizons {{#switch: {{{category|}}} | ||
+ | | Tops = tops | ||
+ | | Bottoms = bottoms | ||
+ | | Dress-Up = dress-up | ||
+ | | Headwear = headwear | ||
+ | | Accessories = accessories | ||
+ | | Socks = socks | ||
+ | | Shoes = shoes | ||
+ | | Bags = bags | ||
+ | | {{{category|}}}}}]] | ||
+ | {{#if: {{{series|}}} | [[Category:{{{series|}}} Series]]}} | ||
+ | {{#if: {{{set|}}} | [[Category:{{{set|}}} Set]]}} | ||
+ | {{#if: {{{availability1|}}} | [[Category:Acquired from {{#ifeq:{{{availability1|}}}|Crafting|crafting|{{{availability1|}}}}}]]}} | ||
+ | {{#if: {{{availability2|}}} | [[Category:Acquired from {{#ifeq:{{{availability2|}}}|Crafting|crafting|{{{availability2|}}}}}]]}}</includeonly> | ||
+ | <noinclude>{{clear}}<br>{{Documentation}}</noinclude> |
Revision as of 06:07, May 26, 2020
This template defines the table "nh_clothing". View table.
NHClothing
Buy: Unknown
Sell: Unknown
Obtain from:
Customization:
No customization options.
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
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
andcolor2
should be set to those of the "default" (first) variation. Colors for variations can be defined invar1-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.