Difference between revisions of "Template:NLClothing"

From Nookipedia, the Animal Crossing wiki
m
(17 intermediate revisions by 3 users not shown)
Line 53: Line 53:
 
|availability_other = List (,) of String
 
|availability_other = List (,) of String
 
|availability_other_note = String
 
|availability_other_note = String
 +
|availability_dates = String
 +
|availability_season = String
 
|version_added = String
 
|version_added = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Leaf|''New Leaf''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NLLang/CargoAttach}}{{#cargo_store:
+
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Leaf|''New Leaf''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NLLang/CargoAttach}}{{NHIdentifier/CargoAttach}}{{#cargo_store:
 
_table=nl_clothing
 
_table=nl_clothing
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
 
|catalog_num = {{{num|}}}
 
|catalog_num = {{{num|}}}
|in_na = {{{in-na|}}}
+
|in_na = {{#if:{{{in-na|}}}|Yes|No}}
|in_eu = {{{in-eu|}}}
+
|in_eu = {{#if:{{{in-eu|}}}|Yes|No}}
|in_jp = {{{in-jp|}}}
+
|in_jp = {{#if:{{{in-jp|}}}|Yes|No}}
|in_ko = {{{in-ko|}}}
+
|in_ko = {{#if:{{{in-ko|}}}|Yes|No}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
Line 109: Line 111:
 
|availability_other = {{{availability-other|}}}
 
|availability_other = {{{availability-other|}}}
 
|availability_other_note = {{{availability-other-note|}}}
 
|availability_other_note = {{{availability-other-note|}}}
 +
|availability_dates = {{#switch: {{{availability-season|}}} |Spring={{#ifeq:{{{availability1|}}}|GracieGrace|Mar 1 – May 31|Feb 25 – May 31}}|Summer={{#ifeq:{{{availability1|}}}|GracieGrace|Jun 1 – Aug 31|Jun 1 – Aug 31}}|Fall={{#ifeq:{{{availability1|}}}|GracieGrace|Sep 1 – Nov 30|Sep 1 – Nov 25}}|Winter={{#ifeq:{{{availability1|}}}|GracieGrace|Dec 1 – Feb 24|Nov 26 – Feb 24}}}}
 +
|availability_season = {{{availability-season|}}}
 
|version_added = {{{version-added|}}}
 
|version_added = {{{version-added|}}}
 
|notes = {{{notes|}}}
 
|notes = {{{notes|}}}
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
_table=nl_language_name
 
_table=nl_language_name
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Leaf)|}}}}}
+
|identifier = {{{identifier|}}}
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Leaf)|}}}}}}}}
+
|en_name = {{{name|}}}}
 +
|engb_name = {{{engb-name|}}}
 
|de_name = {{{de-name|}}}
 
|de_name = {{{de-name|}}}
 
|es_name = {{{es-name|}}}
 
|es_name = {{{es-name|}}}
Line 123: Line 128:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=nl_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = Clothing
 
}}}}{{#seo:|image={{filepath:{{{image|{{{name|}}} NL Model.png}}}}}}}<metakeywords>clothing, item, animal crossing, acnl, new leaf, acnlwa, nlwa, welcome amiibo</metakeywords></includeonly>{{Infobox 2.0
 
}}}}{{#seo:|image={{filepath:{{{image|{{{name|}}} NL Model.png}}}}}}}<metakeywords>clothing, item, animal crossing, acnl, new leaf, acnlwa, nlwa, welcome amiibo</metakeywords></includeonly>{{Infobox 2.0
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
  | title            = {{#invoke:SentenceCase|main|{{{name|}}}}}
+
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
  | subtitleabove    = {{#if:{{{collection|}}}|<span style{{=}}"display:inline-block;">[[{{{collection-link|{{{collection|}}}}}}]]}}
+
  | subtitleabove    = {{#if:{{{collection|}}}|<span style{{=}}"display:inline-block;">{{{collection|}}} [[look]]}}
 
  | lefticon        = [[File:{{#switch: {{{clothing-category|}}}
 
  | lefticon        = [[File:{{#switch: {{{clothing-category|}}}
 
  | Tops = Top NL Icon.png{{!}}Type of top
 
  | Tops = Top NL Icon.png{{!}}Type of top
Line 134: Line 144:
 
  | Hats = Hat NL Icon.png{{!}}Type of headgear
 
  | Hats = Hat NL Icon.png{{!}}Type of headgear
 
  | Helmets = Helmet NL Icon.png{{!}}Type of headgear
 
  | Helmets = Helmet NL Icon.png{{!}}Type of headgear
  | Accessories = Accessory NH Icon.png{{!}}Type of accessory
+
  | Accessories = Accessory NL Icon.png{{!}}Type of accessory
 
  | Socks = Socks NL Icon.png{{!}}Type of sock
 
  | Socks = Socks NL Icon.png{{!}}Type of sock
 
  | Shoes = Shoes NL Icon.png{{!}}Type of shoe
 
  | Shoes = Shoes NL Icon.png{{!}}Type of shoe
Line 141: Line 151:
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
  
  | image            = {{#ifexist:File:{{{name|}}} NL Model.png|[[File:{{{name|}}} NL Model.png|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|[[File:Nia.png|128px|No image available|link=]]}}
+
  | image            = [[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
  
 
  | leftlabel        = Buy price
 
  | leftlabel        = Buy price
Line 151: Line 161:
 
  | data            = {{#if:{{{availability1|}}}{{{availability-rv|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#if:{{{availability1|}}}|{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability-rv|}}}|{{#invoke: Items | outputRVAvailabilitiesFromList | {{{availability-rv|}}}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}}
 
  | data            = {{#if:{{{availability1|}}}{{{availability-rv|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#if:{{{availability1|}}}|{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability-rv|}}}|{{#invoke: Items | outputRVAvailabilitiesFromList | {{{availability-rv|}}}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}}
  
  | label2          = Category
+
  | label2           = {{#if: {{{availability-season|}}} | Season | }}
  | data2           = {{#if:{{{category|}}}|{{{category|}}}|None}}
+
| data2            = {{#if: {{{availability-season|}}} | [[{{{availability-season|}}}]] <small>({{#switch: {{{availability-season|}}} |Spring={{#ifeq:{{{availability1|}}}|GracieGrace|Mar 1 – May 31|Feb 25 – May 31}}|Summer={{#ifeq:{{{availability1|}}}|GracieGrace|Jun 1 – Aug 31|Jun 1 – Aug 31}}|Fall={{#ifeq:{{{availability1|}}}|GracieGrace|Sep 1 – Nov 30|Sep 1 – Nov 25}}|Winter={{#ifeq:{{{availability1|}}}|GracieGrace|Dec 1 – Feb 24|Nov 26 – Feb 24}}}})</small>}}
 +
 
 +
| label3           = Category
 +
  | data3           = {{#if:{{{category|}}}|{{{category|}}}|None}}
  
  | label3           = Gender
+
  | label4           = Gender
  | data3           = {{#if:{{{gender|}}}|{{{gender|}}}|Unisex}}
+
  | data4           = {{#if:{{{gender|}}}|{{{gender|}}}|Unisex}}
  
  | label4           = Style
+
  | label5           = Style
  | data4           = {{#if:{{{style|}}}|[[Clothing/New Leaf/{{{style|}}}|{{{style|}}}]]|None}}
+
  | data5           = {{#if:{{{style|}}}|[[Clothing/New Leaf/{{{style|}}}|{{{style|}}}]]|None}}
  
  | label5           = [[Happy Home Academy|HHA]] theme challenges
+
  | label6           = [[Happy Home Academy|HHA]] theme challenges
  | data5           = {{#if:{{{theme1|}}}|[[Furniture/New Leaf/{{{theme1|}}}|{{{theme1|}}}]]|}}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;[[Furniture/New Leaf/{{{theme2|}}}|{{{theme2|}}}]]}}{{#if:{{{theme3|}}}|&nbsp;/&nbsp;[[Furniture/New Leaf/{{{theme3|}}}|{{{theme3|}}}]]}}
+
  | data6           = {{#if:{{{theme1|}}}|[[Furniture/New Leaf/{{{theme1|}}}|{{{theme1|}}}]]|}}{{#if:{{{theme2|}}}|&nbsp;/&nbsp;[[Furniture/New Leaf/{{{theme2|}}}|{{{theme2|}}}]]}}{{#if:{{{theme3|}}}|&nbsp;/&nbsp;[[Furniture/New Leaf/{{{theme3|}}}|{{{theme3|}}}]]}}
  
  | label6           = HHA points
+
  | label7           = HHA points
  | data6           = {{{hha-points|Unknown}}}
+
  | data7           = {{{hha-points|Unknown}}}
  
  | label7           = Colors
+
  | label8           = Colors
  | data7           = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Clothing/New Leaf/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]{{#if:{{{color2|}}}|&nbsp;[[Clothing/New Leaf/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div>
+
  | data8           = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Clothing/New Leaf/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]{{#if:{{{color2|}}}|&nbsp;[[Clothing/New Leaf/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div>
  
 
  | widebottomlabel  = Notes
 
  | widebottomlabel  = Notes
Line 173: Line 186:
  
 
  | widebottomlabel2 = In other games
 
  | widebottomlabel2 = In other games
  | widebottomdata2  = {{#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|}}}" AND in_pg=1|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|}}}" AND in_pg=1|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|}}}"|default=}}{{#cargo_query:tables=nh_clothing|fields=CONCAT("[[Item:", nh_clothing.en_name, " (New Horizons)|''New Horizons'' (", nh_clothing.en_name, ")]]<br />")|where=nh_clothing.identifier="{{{identifier|}}}"|default=}}
+
  | widebottomdata2  = {{#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|}}}" AND in_pg=1|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|}}}" AND in_pg=1|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=cf_clothing|fields=CONCAT("[[Item:", cf_clothing.en_name, " (City Folk)|''City Folk'' (", cf_clothing.en_name, ")]]<br />")|where=cf_clothing.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=cf_tool|fields=CONCAT("[[Item:", cf_tool.en_name, " (City Folk)|''City Folk'' (", cf_tool.en_name, ")]]<br />")|where=cf_tool.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nh_clothing|fields=CONCAT("[[Item:", nh_clothing.en_name, " (New Horizons)|''New Horizons'' (", nh_clothing.en_name, ")]]<br />")|where=nh_clothing.identifier="{{{identifier|}}}"|delimiter=|default=}}
  
 
  | languages        = Names
 
  | languages        = Names
Line 189: Line 202:
 
  | ru-name          = N/A
 
  | ru-name          = N/A
 
}}<includeonly>
 
}}<includeonly>
[[Category:New Leaf {{#switch: {{{clothing-category|}}}
+
[[Category:New Leaf clothing]][[Category:New Leaf {{#switch: {{{clothing-category|}}}
 
  | Tops = tops
 
  | Tops = tops
 
  | Bottoms = bottoms
 
  | Bottoms = bottoms
Line 199: Line 212:
 
  | Shoes = shoes
 
  | Shoes = shoes
 
  | Umbrellas = umbrellas
 
  | Umbrellas = umbrellas
  | Wet Suits = wet suit
+
  | Wet suits = wet suits
 
  | Other = other clothing
 
  | Other = other clothing
  | {{{category|}}}}}]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}{{#if: {{{collection|}}} | [[Category:{{{collection|}}}]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability1|}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability2|}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability3|}}}]]}}}}{{#if: {{{availability-rv|}}} |  {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-rv|}}}'s RV }}}}{{#if: {{{availability-other|}}} | {{#ifeq: {{{availability-other|}}} | Unobtainable | [[Category:Unobtainable items]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}}}</includeonly><noinclude>{{clear}}
+
  | {{{category|}}}}}]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}{{#if: {{{collection|}}} | [[Category:{{{collection|}}} look]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability1|}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability2|}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability3|}}}]]}}}}{{#if: {{{availability-rv|}}} |  {{#invoke: Items| outputAvailabilitiesCategoriesFromList | type = RV | {{{availability-rv|}}} }}}}{{#if: {{{availability-other|}}} | {{#ifeq: {{{availability-other|}}} | Unobtainable | [[Category:Unobtainable items]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}}}</includeonly><noinclude>{{clear}}
 
<br><br>
 
<br><br>
 
{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]
 
{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 04:32, April 20, 2024

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

[[File:|sub|class=sprite|link=Clothing/New Leaf]]  
[[File:|200px|]]
Buy price Sell price
Not for sale Cannot be sold
Category None
Gender Unisex
Style None
HHA points Unknown
Colors
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 Unknown
 Unknown
 N/A



No documentation for Template:NLClothing exists. Create it.