Difference between revisions of "Template:PGClothing"

From Nookipedia, the Animal Crossing wiki
(Updating Cargo table to store texture and AF+ universal code; removing unneeded images)
m (Fix)
(35 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
|identifier = String
 
|identifier = String
 
|en_name = String
 
|en_name = String
|es_name = String
+
|in_dnm = Boolean
|de_name = String
+
|in_plus = Boolean
|fr_name = String
+
|in_pg = Boolean
|it_name = String
+
|in_e_plus = Boolean
|ja_name = String
+
|in_ique = Boolean
|zh_name = String
 
 
|catalog_num_dnm = Integer
 
|catalog_num_dnm = Integer
 
|catalog_num_plus = Integer
 
|catalog_num_plus = Integer
 
|catalog_num_pg = Integer
 
|catalog_num_pg = Integer
 
|catalog_num_e_plus = Integer
 
|catalog_num_e_plus = Integer
 +
|catalog_num_ique = Integer
 
|image = String
 
|image = String
 
|texture = String
 
|texture = String
Line 23: Line 23:
 
|availability2 = String
 
|availability2 = String
 
|availability2_note = String
 
|availability2_note = String
|availability3 = String
 
|availability3_note = String
 
 
|availability_other = List (,) of String
 
|availability_other = List (,) of String
 
|availability_other_note = String
 
|availability_other_note = String
|season = String
+
|availability_dates = String
 +
|availability_season = String
 
|style = String
 
|style = String
 
|universal_code = String
 
|universal_code = String
 
|universal_code_plus = String
 
|universal_code_plus = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Animal Crossing|''Animal Crossing''}}}}{{#ifeq:{{NAMESPACE}}|Item|{{#cargo_store:
+
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{#cargo_store:
_table=pg_furniture
+
_table=pg_clothing
 
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
 
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
 
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
 
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
|es_name = {{{es-name|}}}
+
|in_dnm = {{#if:{{{num-dnm|}}}|Yes|{{{in-dnm|No}}}}}
|de_name = {{{de-name|}}}
+
|in_plus = {{#if:{{{num-plus|}}}|Yes|{{{in-plus|No}}}}}
|fr_name = {{{fr-name|}}}
+
|in_pg = {{#if:{{{num-pg|}}}|Yes|{{{in-pg|No}}}}}
|it_name = {{{it-name|}}}
+
|in_e_plus = {{#if:{{{num-e-plus|}}}|Yes|{{{in-e-plus|No}}}}}
|ja_name = {{{ja-name|}}}
+
|in_ique = {{#if:{{{num-ique|}}}|Yes|{{{in-ique|No}}}}}
|zh_name = {{{zh-name|}}}
 
 
|catalog_num_dnm = {{{num-dnm|}}}
 
|catalog_num_dnm = {{{num-dnm|}}}
 
|catalog_num_plus = {{{num-plus|}}}
 
|catalog_num_plus = {{{num-plus|}}}
 
|catalog_num_pg = {{{num-pg|}}}
 
|catalog_num_pg = {{{num-pg|}}}
 
|catalog_num_e_plus = {{{num-e-plus|}}}
 
|catalog_num_e_plus = {{{num-e-plus|}}}
 +
|catalog_num_e_plus = {{{num-ique|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|texture = {{{texture|}}}
 
|texture = {{{texture|}}}
Line 56: Line 55:
 
|availability2 = {{{availability2|}}}
 
|availability2 = {{{availability2|}}}
 
|availability2_note = {{{availability2-note|}}}
 
|availability2_note = {{{availability2-note|}}}
|availability3 = {{{availability3|}}}
 
|availability3_note = {{{availability3-note|}}}
 
 
|availability_other = {{{availability-other|}}}
 
|availability_other = {{{availability-other|}}}
 
|availability_other_note = {{{availability-other-note|}}}
 
|availability_other_note = {{{availability-other-note|}}}
|season = {{{season|}}}
+
|availability_dates = {{{availability-dates|}}}
 +
|availability_season = {{{availability-season|}}}
 
|style = {{{style|}}}
 
|style = {{{style|}}}
 
|universal_code = {{{universal-code|}}}
 
|universal_code = {{{universal-code|}}}
 
|universal_code_plus = {{{universal-code-plus|}}}
 
|universal_code_plus = {{{universal-code-plus|}}}
 
|notes = {{{notes|}}}
 
|notes = {{{notes|}}}
}}}}</includeonly>
+
}}<!-- Cargo Store for different language names -->{{#cargo_store:
{{Infobox 2.0
+
_table=pg_language_name
 +
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
 +
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
 +
|de_name = {{{de-name|}}}
 +
|es_name = {{{es-name|}}}
 +
|fr_name = {{{fr-name|}}}
 +
|it_name = {{{it-name|}}}
 +
|ja_name = {{{ja-name|}}}
 +
|zh_name = {{#if:{{{num-ique|}}}|{{{zh-name|}}}|}}
 +
}}}}</includeonly>{{Infobox 2.0
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
 
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
 
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
 
  | subtitleabove    = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}}
 
  | subtitleabove    = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}}
  | lefticon        = &nbsp;<!--'''<nowiki>#</nowiki>{{{num-display|}}}'''-->
+
  | lefticon        = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{{num-pg|}}}'''|&nbsp;}}
 
  | righticon        = &nbsp;
 
  | righticon        = &nbsp;
  
 
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
 
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
 
  | caption          =  
 
  | caption          =  
 +
| image2          = [[File:{{{texture|}}}|100px|class=sprite|{{{name|}}}]]
 +
| caption2        =
  
  | leftlabel        = Buy Price
+
  | leftlabel        = Buy price
  | rightlabel      = Sell Price
+
  | rightlabel      = Sell price
 
  | leftdata        = {{#if:{{{buy|}}}|{{Currency|Bells|{{{buy|}}}|short=yes}}|Not for sale}}
 
  | leftdata        = {{#if:{{{buy|}}}|{{Currency|Bells|{{{buy|}}}|short=yes}}|Not for sale}}
  | rightdata        = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Unknown}}
+
  | rightdata        = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}}
  
 
  | label            = Obtain via
 
  | label            = Obtain via
 
  | data            = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}
 
  | data            = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}
  
  | label2          = Season
+
  | label2          = {{#if: {{{availability-season|}}} | Season | }}
  | data2            = {{#if:{{{season|}}}|{{{season|}}}|All year}}
+
  | data2            = {{#if: {{{availability-season|}}} | {{#ifeq: {{{availability-season|}}} | All year | {{{availability-season|}}} | {{{availability-season|}}} ({{{availability-dates|}}}) }} | }}
  
  | label3          = Rarity Group
+
  | label3          = [[Group|Rarity group]]
 
  | data3            = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown}}} {{Note|Each item belongs in one of three rarity groups (A, B, or C), and each group is mapped to a rarity when the town is created. For example, in one town Group A clothing may be common while in another town, Group A clothing will be rare.}} | None}}
 
  | data3            = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown}}} {{Note|Each item belongs in one of three rarity groups (A, B, or C), and each group is mapped to a rarity when the town is created. For example, in one town Group A clothing may be common while in another town, Group A clothing will be rare.}} | None}}
  
 
  | label4          = Style  
 
  | label4          = Style  
  | data4            = {{#if: {{{style|}}} | {{{style|Unknown}}} {{Note|In {{DnMe+|nolink}} only, each clothing item has a style that determines which villagers will like or dislike it when given as a gift from another villager, as well as their reaction to the player if they wear it.}} | None}}  
+
  | data4            = {{#if: {{{style|}}} | [[Clothing/Doubutsu no Mori e+/{{{style|}}}|{{{style|Unknown}}}]] {{Note|In {{DnMe+|nolink}} only, each clothing item has a style that determines which villagers will like or dislike it when given as a gift from another villager, as well as their reaction to the player if they wear it.}} | None}}  
  
  | label5          = [[Happy Home Academy|HRA]] Points
+
  | label5          = [[Happy Home Academy|HRA]] points
 
  | data5            = 3
 
  | data5            = 3
  
Line 105: Line 114:
 
  | languages        = Name
 
  | languages        = Name
 
  | ja-name          = {{{ja-name|}}}
 
  | ja-name          = {{{ja-name|}}}
  | zh-name          = {{{zh-name|}}}
+
  | zh-name          = {{#if:{{{num-dnm|}}}|{{{zh-name|}}}|N/A}}
 
  | fr-name          = {{{fr-name|}}}
 
  | fr-name          = {{{fr-name|}}}
 
  | es-name          = {{{es-name|}}}
 
  | es-name          = {{{es-name|}}}
Line 116: Line 125:
 
  | nl-name          = N/A
 
  | nl-name          = N/A
 
  | ru-name          = N/A
 
  | ru-name          = N/A
}}<noinclude>{{clear}}
+
}}<includeonly>{{#if:{{{num-dnm|}}}|[[Category:Doubutsu no Mori clothing]]}}{{#if:{{{num-plus|}}}|[[Category:Doubutsu no Mori+ clothing]]}}{{#if:{{{num-pg|}}}|[[Category:Animal Crossing clothing]]}}{{#if:{{{num-e-plus|}}}|[[Category:Doubutsu no Mori e+ clothing]]}}{{#if:{{{num-ique|}}}|[[Category:Doubutsu no Mori clothing]]}}</includeonly><noinclude>{{clear}}
 
== Notes ==
 
== Notes ==
 
{{Note list}}
 
{{Note list}}

Revision as of 05:35, August 11, 2021

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

  PGClothing  
[[File:|200px|]]
[[File:|100px|class=sprite|]]
Buy price Sell price
Not for sale Cannot be sold
Obtain via
Rarity group None
Style None
HRA points 3
Appearances
Name in other languages
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A

Notes



No documentation for Template:PGClothing exists. Create it.