Difference between revisions of "Template:CFClothing"

From Nookipedia, the Animal Crossing wiki
(Adding point savings requirement parameter)
 
(12 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|audio = String
 
|audio = String
 
|type = String
 
|type = String
 +
|type_sort = Integer
 
|style = String
 
|style = String
 
|color1 = String
 
|color1 = String
Line 15: Line 16:
 
|buy_currency = String
 
|buy_currency = String
 
|sell = Integer
 
|sell = Integer
 +
|savings_requirement = Integer
 
|availability1 = String
 
|availability1 = String
 
|availability1_note = String
 
|availability1_note = String
Line 35: Line 37:
 
|audio = {{{audio|}}}
 
|audio = {{{audio|}}}
 
|type = {{{type|}}}
 
|type = {{{type|}}}
 +
|type_sort = {{#switch:{{{type|}}}|Tops=1|Hats=2|Helmets=2|Accessories=2}}
 
|style = {{{style|}}}
 
|style = {{{style|}}}
 
|color1 = {{{color1|}}}
 
|color1 = {{{color1|}}}
Line 43: Line 46:
 
|buy_currency = {{{buy-currency|Bells}}}
 
|buy_currency = {{{buy-currency|Bells}}}
 
|sell = {{{sell|}}}
 
|sell = {{{sell|}}}
 +
|savings_requirement = {{{savings-requirement|}}}
 
|availability1 = {{{availability1|}}}
 
|availability1 = {{{availability1|}}}
 
|availability1_note = {{{availability1-note|}}}
 
|availability1_note = {{{availability1-note|}}}
Line 51: Line 55:
 
|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 = {{#ifeq:{{{availability1|}}}|GracieGrace|{{#switch: {{{availability-season|}}} |Spring=Feb 1 – Apr 30|Summer=May 1 – Jul 31|Fall=Aug 1 – Oct 31|Winter=Nov 1 – Jan 31}}|{{#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 = {{{reorderable|}}}
 
|notes = {{{notes|}}}
 
|notes = {{{notes|}}}
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
Line 77: Line 81:
 
  | 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|}}} [[look]]}}
+
  | subtitleabove    = {{#if:{{{collection|}}}|<span style{{=}}"display:inline-block;">{{#invoke:SentenceCase|main|{{{collection|}}}}} [[look]]}}
 
  | lefticon        = [[File:{{#switch: {{{type|}}}
 
  | lefticon        = [[File:{{#switch: {{{type|}}}
 
  | Tops = Top CF Icon.png{{!}}Type of top
 
  | Tops = Top CF Icon.png{{!}}Type of top
Line 102: Line 106:
  
 
  | 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>({{#ifeq:{{{availability1|}}}|GracieGrace|{{#switch: {{{availability-season|}}} |Spring=Feb 1 – Apr 30|Summer=May 1 – Jul 31|Fall=Aug 1 – Oct 31|Winter=Nov 1 – Jan 31}}|{{#switch: {{{availability-season|}}} |Spring=Feb 25 – May 26|Summer=May 27 – Aug 26|Fall=Aug 27 – Nov 26|Winter=Nov 27 – Feb 24}}}})</small>}}
  
  | label4           = {{#if:{{{style|}}}|Style}}
+
  | label3           = {{#if:{{{style|}}}|Style}}
  | data4           = {{#if:{{{style|}}}|[[Clothing/City Folk/{{{style|}}}|{{{style|Unknown}}}]]}}
+
  | data3           = {{#if:{{{style|}}}|[[Clothing/City Folk/{{{style|}}}|{{{style|Unknown}}}]]}}
  
  | label5           = HRA points
+
  | label4           = HRA points
  | data5           = {{{hra-base|}}}
+
  | data4           = {{{hra-base|}}}
  
  | label6           = Colors
+
  | label5           = {{#if:{{{color1|}}}|Colors|}}
  | data6           = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Clothing/City Folk/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]{{#if:{{{color2|}}}|&nbsp;[[Clothing/City Folk/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div>
+
  | data5           = {{#if:{{{color1|}}}|<div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Clothing/City Folk/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]{{#if:{{{color2|}}}|&nbsp;[[Clothing/City Folk/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div>}}
  
 
  | widebottomlabel  = Audio
 
  | widebottomlabel  = Audio
Line 120: Line 124:
  
 
  | 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|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=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=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=}}
+
  | 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=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=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        = Names
 
  | languages        = Names
Line 141: Line 145:
 
| Helmets = headgear
 
| Helmets = headgear
 
| Accessories = accessories
 
| Accessories = accessories
}}]]{{#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}}
+
}}]]{{#if: {{{availability1|}}} | {{#ifeq: {{{availability1|}}} | Unobtainable | [[Category:Unobtainable items]] [[Category:Unobtainable items in City Folk]] | [[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 00:46, May 8, 2024

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

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

Notes



No documentation for Template:CFClothing exists. Create it.