Difference between revisions of "Template:NLClothing"

From Nookipedia, the Animal Crossing wiki
m
m
(8 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
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|}}}
Line 133: Line 137:
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
 
  | title            = {{{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 157: 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          = Gender
+
  | label3          = Category
  | data3            = {{#if:{{{gender|}}}|{{{gender|}}}|Unisex}}
+
  | data3            = {{#if:{{{category|}}}|{{{category|}}}|None}}
  
  | label4          = Style
+
  | label4          = Gender
  | data4            = {{#if:{{{style|}}}|[[Clothing/New Leaf/{{{style|}}}|{{{style|}}}]]|None}}
+
  | data4            = {{#if:{{{gender|}}}|{{{gender|}}}|Unisex}}
  
  | label5          = [[Happy Home Academy|HHA]] theme challenges
+
  | label5          = Style
  | 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|}}}]]}}
+
  | data5            = {{#if:{{{style|}}}|[[Clothing/New Leaf/{{{style|}}}|{{{style|}}}]]|None}}
  
  | label6          = HHA points
+
  | label6          = [[Happy Home Academy|HHA]] theme challenges
  | data6            = {{{hha-points|Unknown}}}
+
  | 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|}}}]]}}
  
  | label7          = Colors
+
  | label7           = HHA points
  | 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>
+
| data7            = {{{hha-points|Unknown}}}
 +
 
 +
| label8           = Colors
 +
  | 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 179: 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 205: 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 | type = RV | {{{availability-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.