Difference between revisions of "Template:PGStationery"

From Nookipedia, the Animal Crossing wiki
(Removing note explaining groups now that they have their own page)
m (Text replacement - "color-class" to "colorclass")
 
(14 intermediate revisions by 4 users not shown)
Line 13: Line 13:
 
|catalog_num_e_plus = Integer
 
|catalog_num_e_plus = Integer
 
|catalog_num_ique = Integer
 
|catalog_num_ique = Integer
 +
|image = String
 
|image_dnm = String
 
|image_dnm = String
 
|image_plus = String
 
|image_plus = String
Line 31: Line 32:
 
|universal_code = String
 
|universal_code = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{#cargo_store:
+
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{PGIdentifier/CargoAttach}}{{#cargo_store:
 
_table=pg_stationery
 
_table=pg_stationery
 
|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)|}}}}}}}}
|in_dnm = {{#if:{{{num-dnm|}}}|Yes}}
+
|in_dnm = {{#if:{{{num-dnm|}}}|Yes|No}}
|in_plus = {{#if:{{{num-plus|}}}|Yes}}
+
|in_plus = {{#if:{{{num-plus|}}}|Yes|No}}
|in_pg = {{#if:{{{num-pg|}}}|Yes}}
+
|in_pg = {{#if:{{{num-pg|}}}|Yes|No}}
|in_e_plus = {{#if:{{{num-e-plus|}}}|Yes}}
+
|in_e_plus = {{#if:{{{num-e-plus|}}}|Yes|No}}
|in_ique = {{#if:{{{num-dnm|}}}|Yes}}
+
|in_ique = {{#if:{{{num-ique|}}}|Yes|No}}
 
|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_ique = {{{num-dnm|}}}
+
|catalog_num_ique = {{{num-ique|}}}
 +
|image = {{{image|}}}
 
|image_dnm = {{#ifexist:File:{{{image-dnm|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM.png}}}|{{{image-dnm|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM.png}}}}}
 
|image_dnm = {{#ifexist:File:{{{image-dnm|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM.png}}}|{{{image-dnm|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM.png}}}}}
 
|image_plus = {{#ifexist:File:{{{image-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM+.png}}}|{{{image-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM+.png}}}}}
 
|image_plus = {{#ifexist:File:{{{image-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM+.png}}}|{{{image-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM+.png}}}}}
 
|image_pg = {{#ifexist:File:{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG.png}}}|{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG.png}}}}}
 
|image_pg = {{#ifexist:File:{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG.png}}}|{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG.png}}}}}
 
|image_e_plus = {{#ifexist:File:{{{image-e-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnMe+.png}}}|{{{image-e-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnMe+.png}}}}}
 
|image_e_plus = {{#ifexist:File:{{{image-e-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnMe+.png}}}|{{{image-e-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnMe+.png}}}}}
|image_ique = {{#ifexist:File:{{{image-ique|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM iQue.png}}}|{{{image-e-plus|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM iQue.png}}}}}
+
|image_ique = {{#ifexist:File:{{{image-ique|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM iQue.png}}}|{{{image-ique|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} DnM iQue.png}}}}}
 
|rarity_group = {{{rarity-group|}}}
 
|rarity_group = {{{rarity-group|}}}
 
|buy = {{{buy|}}}
 
|buy = {{{buy|}}}
Line 73: Line 75:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|zh_name = {{{zh-name|}}}
 
|zh_name = {{{zh-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=pg_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = Stationery
 
}}}}</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|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
+
  | title            = {{#invoke:SentenceCase|main|{{{name|}}}}}
 
  | lefticon        = [[File:Stationery DnM Inv Icon.png|Type of stationery|sub|class=sprite|link=]]
 
  | lefticon        = [[File:Stationery DnM Inv Icon.png|Type of stationery|sub|class=sprite|link=]]
  | righticon        = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{{num-pg|}}}'''|&nbsp;}}
+
  | righticon        = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{{num-pg|}}}'''|&nbsp;}}{{#if:{{{num-dnm|}}}{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|{{Note|{{#if:{{{num-pg|}}}|{{PG}} catalog number<nowiki>;</nowiki>&#32;}}{{#if:{{{num-dnm|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-dnm|}}}}} in {{DnM}}{{#if:{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-plus|}}}}} in {{DnM+}}{{#if:{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-e-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-e-plus|}}}}} in {{DnMe+}}{{#if:{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-ique|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-ique|}}}}} in {{iQue}}}}}}}}
  
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
+
  | image            = [[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 
  | caption          =  
 
  | caption          =  
  
Line 89: Line 97:
  
 
  | label2          = Obtain via <small>(item)</small>
 
  | label2          = Obtain via <small>(item)</small>
  | data2            = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}} {{#if: {{{availability-other|}}} | <div class="mw-collapsible mw-collapsed" style="width:100%">
+
  | data2            = {{#if:{{{availability1|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}}
Also available from...
 
<div class="mw-collapsible-content">
 
{{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }}
 
</div>
 
</div> | }}
 
  
 
  | label3          = Obtain via <small>(letter)</small>
 
  | label3          = Obtain via <small>(letter)</small>
Line 103: Line 106:
  
 
  | widebottomlabel  = Appearances
 
  | widebottomlabel  = Appearances
  | widebottomdata  = {{#if: {{{num-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{#if: {{{in-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM|shortest}}|appears=no}} }} }}{{#if: {{{num-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{#if: {{{in-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM+|shortest}}|appears=no}} }} }}{{#if: {{{num-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{#if: {{{in-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{Infobox Appearance|game={{PG|shortest}}|appears=no}} }} }}{{#if: {{{num-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{#if: {{{in-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}} }} }}
+
  | widebottomdata  = {{#if: {{{num-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{#if: {{{in-dnm|}}} | {{Infobox Appearance|game={{DnM|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM|shortest}}|appears=no}} }} }}{{#if: {{{num-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{#if: {{{in-plus|}}} | {{Infobox Appearance|game={{DnM+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnM+|shortest}}|appears=no}} }} }}{{#if: {{{num-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{#if: {{{in-pg|}}} | {{Infobox Appearance|game={{PG|shortest}}|appears=yes}}| {{Infobox Appearance|game={{PG|shortest}}|appears=no}} }} }}{{#if: {{{num-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{#if: {{{in-e-plus|}}} | {{Infobox Appearance|game={{DnMe+|shortest}}|appears=yes}}| {{Infobox Appearance|game={{DnMe+|shortest}}|appears=no}} }} }}{{#if: {{{num-ique|}}} | {{Infobox Appearance|game={{iQue|shortest}}|appears=yes}}| {{#if: {{{in-ique|}}} | {{Infobox Appearance|game={{iQue|shortest}}|appears=yes}}| {{Infobox Appearance|game={{iQue|shortest}}|appears=no}} }} }}
  
 
  | widebottomlabel3 = Notes
 
  | widebottomlabel3 = Notes
Line 111: Line 114:
 
  | widebottomdata4  = {{#cargo_query:tables=ww_stationery|fields=CONCAT("[[Item:", ww_stationery.en_name, " (Wild World)|''Wild World'' (", ww_stationery.en_name, ")]]<br />")|where=ww_stationery.identifier="{{{identifier|}}}"|default=}}-->
 
  | widebottomdata4  = {{#cargo_query:tables=ww_stationery|fields=CONCAT("[[Item:", ww_stationery.en_name, " (Wild World)|''Wild World'' (", ww_stationery.en_name, ")]]<br />")|where=ww_stationery.identifier="{{{identifier|}}}"|default=}}-->
  
  | languages        = Name
+
  | languages        = Names
 
  | ja-name          = {{{ja-name|Unknown}}}
 
  | ja-name          = {{{ja-name|Unknown}}}
  | zh-name          = {{#if:{{{num-dnm|}}}|{{{zh-name|Unknown}}}|N/A}}
+
  | zh-name          = {{#if:{{{num-ique|}}}|{{{zh-name|Unknown}}}|N/A}}
 
  | fr-name          = {{#if:{{{num-pg|}}}|{{{fr-name|Unknown}}}|N/A}}
 
  | fr-name          = {{#if:{{{num-pg|}}}|{{{fr-name|Unknown}}}|N/A}}
 
  | es-name          = {{#if:{{{num-pg|}}}|{{{es-name|Unknown}}}|N/A}}
 
  | es-name          = {{#if:{{{num-pg|}}}|{{{es-name|Unknown}}}|N/A}}
Line 124: Line 127:
 
  | nl-name          = N/A
 
  | nl-name          = N/A
 
  | ru-name          = N/A
 
  | ru-name          = N/A
}}<includeonly>{{#if:{{{num-dnm|}}}|[[Category:Doubutsu no Mori stationery]]}}{{#if:{{{num-plus|}}}|[[Category:Doubutsu no Mori+ stationery]]}}{{#if:{{{in-plus|}}}|[[Category:Doubutsu no Mori+ stationery]]}}{{#if:{{{num-pg|}}}|[[Category:Animal Crossing stationery]]}}{{#if:{{{in-pg|}}}|[[Category:Animal Crossing stationery]]}}{{#if:{{{num-e-plus|}}}|[[Category:Doubutsu no Mori e+ stationery]]}}{{#if:{{{num-ique|}}}|[[Category:Doubutsu no Mori stationery]]}}</includeonly><noinclude>{{clear}}
+
}}<includeonly>[[Category:First-generation Animal Crossing stationery]]{{#if:{{{num-dnm|}}}|[[Category:Doubutsu no Mori stationery]]}}{{#if:{{{num-plus|}}}|[[Category:Doubutsu no Mori+ stationery]]}}{{#if:{{{in-plus|}}}|[[Category:Doubutsu no Mori+ stationery]]}}{{#if:{{{num-pg|}}}|[[Category:Animal Crossing stationery]]}}{{#if:{{{in-pg|}}}|[[Category:Animal Crossing stationery]]}}{{#if:{{{num-e-plus|}}}|[[Category:Doubutsu no Mori e+ stationery]]}}{{#if:{{{num-ique|}}}|[[Category:Dòngwù Sēnlín stationery]]}}</includeonly><noinclude>{{clear}}
 
== Notes ==
 
== Notes ==
 
{{Note list}}
 
{{Note list}}

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

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

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

Notes



No documentation for Template:PGStationery exists. Create it.