Difference between revisions of "Template:WWClothing"

From Nookipedia, the Animal Crossing wiki
m
m (Text replacement - "color-class" to "colorclass")
 
(17 intermediate revisions by 5 users not shown)
Line 6: Line 6:
 
|image = String
 
|image = String
 
|texture= String
 
|texture= String
 +
|audio = String
 
|rarity_group = String
 
|rarity_group = String
 
|type = String
 
|type = String
Line 24: Line 25:
 
|notes = String
 
|notes = String
 
|reorderable = Boolean
 
|reorderable = Boolean
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Wild World|''Wild World''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{#cargo_store:
+
|moving_van = Boolean
 +
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Wild World|''Wild World''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{WWIdentifier/CargoAttach}}{{#cargo_store:
 
_table=ww_clothing
 
_table=ww_clothing
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
Line 30: Line 32:
 
|catalog_num = {{{num|}}}
 
|catalog_num = {{{num|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
|rarity_group = {{{rarity-group|}}}
 
 
|texture = {{{texture|}}}
 
|texture = {{{texture|}}}
 +
|audio = {{{audio|}}}
 
|rarity_group = {{{rarity-group|}}}
 
|rarity_group = {{{rarity-group|}}}
 
|type = {{{type|}}}
 
|type = {{{type|}}}
Line 47: Line 49:
 
|availability_other = {{{availability-other|}}}
 
|availability_other = {{{availability-other|}}}
 
|availability_other_note = {{{availability-other-note|}}}
 
|availability_other_note = {{{availability-other-note|}}}
|availability_dates = {{{availability-dates|}}}
+
|availability_dates = {{#switch: {{{availability-season|}}} |Spring=Feb 25 – May 26|Summer=May 27 – Aug 26|Fall=Aug 27 – Nov 26|Winter=Nov 27 – Feb 24}}
 
|availability_season = {{{availability-season|}}}
 
|availability_season = {{{availability-season|}}}
 
|reorderable = {{#if: {{{reorderable|}}} | Yes | No }}
 
|reorderable = {{#if: {{{reorderable|}}} | Yes | No }}
 +
|moving_van = {{{moving-van|}}}
 
|notes = {{{notes|}}}
 
|notes = {{{notes|}}}
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
_table=ww_language_name
 
_table=ww_language_name
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}
+
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
 
|engb_name = {{{engb-name|{{{name|}}}}}}
 
|engb_name = {{{engb-name|{{{name|}}}}}}
Line 62: Line 65:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=ww_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = Clothing
 
}}}}</includeonly>{{Infobox 2.0
 
}}}}</includeonly>{{Infobox 2.0
 +
| colorclass      = color-series
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
  | title            = {{{name|}}}
+
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
 
  | lefticon        = [[File:{{#switch: {{{type|}}}
 
  | lefticon        = [[File:{{#switch: {{{type|}}}
 
  | Tops = Top WW Icon.png{{!}}Type of top
 
  | Tops = Top WW Icon.png{{!}}Type of top
Line 71: Line 80:
 
  | Helmets = Helmet WW Icon.png{{!}}Type of headgear
 
  | Helmets = Helmet WW Icon.png{{!}}Type of headgear
 
  | Accessories = Accessory WW Icon.png{{!}}Type of accessory}}|sub|class=sprite|link=]]
 
  | Accessories = Accessory WW Icon.png{{!}}Type of accessory}}|sub|class=sprite|link=]]
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
+
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''|&nbsp;}}
  
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
+
  | image            = {{#if:{{{texture|}}}|
| caption          =
+
{{TabStart}}
| image2          = {{#if:{{{texture|}}}|[[File:{{{texture|}}}|100px|class=sprite|{{{name|}}}]]}}
+
{{TabHeader|Model}}
| caption2        =
+
[[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 +
{{TabHeader|Texture}}
 +
[[File:{{{texture|}}}|200px|class=sprite|Texture of {{{name|}}}]]
 +
{{TabEnd}}|[[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|}}
  
 
  | leftlabel        = Buy price
 
  | leftlabel        = Buy price
Line 92: Line 104:
  
 
  | label2          = {{#if: {{{availability-season|}}} | Season | }}
 
  | label2          = {{#if: {{{availability-season|}}} | Season | }}
  | data2            = {{#if: {{{availability-season|}}} | {{#ifeq: {{{availability-season|}}} | All year | {{{availability-season|}}} | {{{availability-season|}}}<!-- ({{{availability-dates|}}})--> }} | }}
+
  | data2            = {{#if: {{{availability-season|}}} | [[{{{availability-season|}}}]] <small>({{#switch: {{{availability-season|}}} |Spring=Feb 25 – May 26|Summer=May 27 – Aug 26|Fall=Aug 27 – Nov 26|Winter=Nov 27 – Feb 24}})</small>}}
  
 
  | label3          = [[Group|Rarity group]]
 
  | label3          = [[Group|Rarity group]]
Line 103: Line 115:
 
  | data5            = 3
 
  | data5            = 3
  
  | widebottomlabel = Notes
+
| label6          = {{#if:{{{moving-van|}}}|Transferable to {{CF|short|nolink}} catalog}}
  | widebottomdata = {{{notes|}}}
+
| data6            = {{#if:{{{moving-van|}}}|{{{moving-van|}}}}}
 +
 
 +
  | widebottomlabel = Audio
 +
| widebottomdata  = {{#if: {{{audio|}}} | [[File:{{{audio|}}}]] | }}
 +
 
 +
| widebottomlabel2 = Notes
 +
  | widebottomdata2 = {{{notes|}}}
  
 
  | widebottomlabel3 = In other games
 
  | widebottomlabel3 = In other games
  | widebottomdata3  = {{#cargo_query:tables=pg_clothing|fields=CONCAT("[[Item:", pg_clothing.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_clothing.en_name, ")]]<br />")|where=pg_clothing.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|default=}}{{#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_clothing|fields=CONCAT("[[Item:", pg_clothing.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_clothing.en_name, ")]]<br />")|where=pg_clothing.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|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=}}
+
  | widebottomdata3  = {{#cargo_query:tables=pg_clothing|fields=CONCAT("[[Item:", pg_clothing.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_clothing.en_name, ")]]<br />")|where=pg_clothing.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|delimiter=|default=}}{{#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_clothing|fields=CONCAT("[[Item:", pg_clothing.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_clothing.en_name, ")]]<br />")|where=pg_clothing.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|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=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=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=}}{{#cargo_query:tables=nh_item|fields=CONCAT("[[Item:", nh_item.en_name, " (New Horizons)|''New Horizons'' (", nh_item.en_name, ")]]<br />")|where=nh_item.identifier="{{{identifier|}}}"|delimiter=|default=}}
  
  | languages        = Name
+
  | languages        = Names
 
  | ja-name          = {{{ja-name|}}}
 
  | ja-name          = {{{ja-name|}}}
 
  | zh-name          = N/A
 
  | zh-name          = N/A
Line 128: Line 146:
 
| Helmets = headgear
 
| Helmets = headgear
 
| Accessories = accessories
 
| Accessories = accessories
}}]]</includeonly><noinclude>{{clear}}
+
}}]]{{#if: {{{availability1|}}} | [[Category:Acquired from {{{availability1|}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{{availability2|}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{{availability3|}}}]]}}{{#if: {{{availability-other|}}} | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}</includeonly><noinclude>{{clear}}
 
== Notes ==
 
== Notes ==
 
{{Note list}}
 
{{Note list}}

Latest revision as of 01:02, May 19, 2024

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

[[File:|200px|]]
Buy price Sell price
Not for sale Cannot be sold
Obtain via
Rarity group None
HRA points 3
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A

Notes



No documentation for Template:WWClothing exists. Create it.