Difference between revisions of "Template:NLClothing"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m |
Dorsal Axe (talk | contribs) (Switching to CSS colour class) |
||
(33 intermediate revisions by 4 users not shown) | |||
Line 9: | Line 9: | ||
|in_ko = Boolean | |in_ko = Boolean | ||
|image = String | |image = String | ||
+ | |image_url = String | ||
|clothing_category = String | |clothing_category = String | ||
|clothing_category_sort = Integer | |clothing_category_sort = Integer | ||
Line 19: | Line 20: | ||
|color1 = String | |color1 = String | ||
|color2 = String | |color2 = String | ||
+ | |category = String | ||
|reorderable = Boolean | |reorderable = Boolean | ||
|prevent_tans = Boolean | |prevent_tans = Boolean | ||
Line 42: | Line 44: | ||
|sell_nook = Integer | |sell_nook = Integer | ||
|sell_leila = Integer | |sell_leila = Integer | ||
+ | |point_requirement = Integer | ||
+ | |savings_requirement = Integer | ||
|availability1 = String | |availability1 = String | ||
|availability1_note = String | |availability1_note = String | ||
Line 51: | Line 55: | ||
|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 | ||
|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|}}}}} | ||
|clothing_category = {{{clothing-category|}}} | |clothing_category = {{{clothing-category|}}} | ||
|clothing_category_sort = {{#switch:{{{clothing-category|}}}|Tops=1|Bottoms=2|Dresses=3|Hats|Helmets=4|Accessories=5|Socks|Shoes=6|Umbrellas=7|Wet Suits|Other=8}} | |clothing_category_sort = {{#switch:{{{clothing-category|}}}|Tops=1|Bottoms=2|Dresses=3|Hats|Helmets=4|Accessories=5|Socks|Shoes=6|Umbrellas=7|Wet Suits|Other=8}} | ||
Line 70: | Line 78: | ||
|theme3 = {{{theme3|}}} | |theme3 = {{{theme3|}}} | ||
|style = {{{style|}}} | |style = {{{style|}}} | ||
+ | |color1 = {{{color1|}}} | ||
+ | |color2 = {{{color2|}}} | ||
|category = {{{category|}}} | |category = {{{category|}}} | ||
|reorderable = {{#if: {{{reorderable|}}} | Yes | No }} | |reorderable = {{#if: {{{reorderable|}}} | Yes | No }} | ||
Line 94: | Line 104: | ||
|sell_nook = {{{sell-nook|}}} | |sell_nook = {{{sell-nook|}}} | ||
|sell_leila = {{{sell-leila|}}} | |sell_leila = {{{sell-leila|}}} | ||
+ | |point_requirement = {{{point-requirement|}}} | ||
+ | |savings_requirement = {{{savings-requirement|}}} | ||
|availability1 = {{{availability1|}}} | |availability1 = {{{availability1|}}} | ||
|availability1_note = {{{availability1-note|}}} | |availability1_note = {{{availability1-note|}}} | ||
Line 103: | Line 115: | ||
|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 28/29|Nov 26 – Feb 24}}}} | ||
+ | |availability_season = {{{availability-season|}}} | ||
+ | |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| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}}} |
+ | |engb_name = {{{engb-name|}}} | ||
|de_name = {{{de-name|}}} | |de_name = {{{de-name|}}} | ||
|es_name = {{{es-name|}}} | |es_name = {{{es-name|}}} | ||
Line 116: | Line 132: | ||
|ja_name = {{{ja-name|}}} | |ja_name = {{{ja-name|}}} | ||
|ko_name = {{{ko-name|}}} | |ko_name = {{{ko-name|}}} | ||
− | }}}}</includeonly>{{Infobox 2.0 | + | }}<!-- 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 | ||
+ | | color-class = color-series | ||
| primarycolor = 39 100 | | primarycolor = 39 100 | ||
| secondarycolor = 42 73 | | secondarycolor = 42 73 | ||
− | | title = {{{ | + | | title = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}} |
− | | subtitleabove = {{#if:{{{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 127: | Line 149: | ||
| 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 | + | | 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 | ||
| Umbrellas = Umbrella NL Icon.png{{!}}Type of umbrella | | Umbrellas = Umbrella NL Icon.png{{!}}Type of umbrella | ||
− | | Wet | + | | Wet suits = Wet Suit NL Icon.png{{!}}Type of wet suit}}|sub|class=sprite|link=Clothing/New Leaf]] |
| righticon = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''| }} | | righticon = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''| }} | ||
− | | image = | + | | image = [[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]] |
− | |||
| leftlabel = Buy price | | leftlabel = Buy price | ||
| rightlabel = Sell price | | rightlabel = Sell price | ||
| leftdata = {{#if:{{{buy1-price|}}}|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}|short=yes}}|Not for sale}}{{#if:{{{buy2-price|}}}|<br>{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}|short=yes}}}}{{#if:{{{buy3-price|}}}|<br>{{Currency|{{{buy3-currency|}}}|{{{buy3-price|}}}|short=yes}}}} | | leftdata = {{#if:{{{buy1-price|}}}|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}|short=yes}}|Not for sale}}{{#if:{{{buy2-price|}}}|<br>{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}|short=yes}}}}{{#if:{{{buy3-price|}}}|<br>{{Currency|{{{buy3-currency|}}}|{{{buy3-price|}}}|short=yes}}}} | ||
− | | rightdata = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}|note=[[Re-Tail]] sell price{{#if:{{{sell-nook|}}}|; can be sold for 80% of this price ({{Currency|Bells|{{{sell-nook|}}}}}) at [[Timmy and Tommy's store]]|}}{{#if:{{{sell-leila|}}}|{{#if:{{{sell-nook|}}}|, and for 5% ({{Currency|Bells|{{{sell-leila|}}}}}) to [[Leila]] on [[Tortimer Island]]}}|}}}}|Cannot be sold}} | + | | rightdata = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}|note=[[Re-Tail]] sell price{{#if:{{{sell-nook|}}}|; can be sold for 80% of this price ({{Currency|Bells|{{{sell-nook|}}}}}) at [[Timmy and Tommy's store]]|}}{{#if:{{{sell-leila|}}}|{{#if:{{{sell-nook|}}}|, and for 5% ({{Currency|Bells|{{{sell-leila|}}}}}) to [[Leila]] on [[Tortimer Island]]|; can be sold for 5% ({{Currency|Bells|{{{sell-leila|}}}}}) to [[Leila]] on [[Tortimer Island]]}}|}}}}|Cannot be sold}} |
| label = Obtain via | | label = Obtain via | ||
− | | data = {{#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|}}} | <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 = {{#if: {{{availability-season|}}} | Season | }} | |
− | {{# | + | | 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 28/29|Nov 26 – Feb 24}}}})</small>}} |
− | |||
− | </ | ||
− | | | + | | label3 = Category |
− | | | + | | data3 = {{#if:{{{category|}}}|{{{category|}}}|None}} |
− | | | + | | label4 = Gender |
− | | | + | | data4 = {{#if:{{{gender|}}}|{{{gender|}}}|Unisex}} |
− | | | + | | label5 = Style |
− | | | + | | data5 = {{#if:{{{style|}}}|[[Clothing/New Leaf/{{{style|}}}|{{{style|}}}]]|None}} |
− | | | + | | label6 = [[Happy Home Academy|HHA]] theme challenges |
− | | | + | | data6 = {{#if:{{{theme1|}}}|[[Furniture/New Leaf/{{{theme1|}}}|{{{theme1|}}}]]|}}{{#if:{{{theme2|}}}| / [[Furniture/New Leaf/{{{theme2|}}}|{{{theme2|}}}]]}}{{#if:{{{theme3|}}}| / [[Furniture/New Leaf/{{{theme3|}}}|{{{theme3|}}}]]}} |
− | | | + | | label7 = HHA points |
− | | | + | | 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|}}}| [[Clothing/New Leaf/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div> |
| widebottomlabel = Notes | | widebottomlabel = Notes | ||
Line 172: | Line 191: | ||
| 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 = | + | | languages = Names |
| ja-name = {{{ja-name|}}} | | ja-name = {{{ja-name|}}} | ||
| zh-name = N/A | | zh-name = N/A | ||
Line 188: | Line 207: | ||
| 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 198: | Line 217: | ||
| Shoes = shoes | | Shoes = shoes | ||
| Umbrellas = umbrellas | | Umbrellas = umbrellas | ||
− | | Wet | + | | Wet suits = wet suits |
| Other = other clothing | | Other = other clothing | ||
− | | {{{category|}}}}}]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf | + | | {{{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> |
Latest revision as of 04:18, May 18, 2024
This template defines the table "nl_clothing". View table.
| ||||||||
[[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.