Difference between revisions of "Template:PGItems"

From Nookipedia, the Animal Crossing wiki
(adding availability-other param)
(adding Inv Icon to the item table)
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
|in_ique = Boolean
 
|in_ique = Boolean
 
|image = String
 
|image = String
 +
|inv_image = String
 
|buy = Integer
 
|buy = Integer
 
|sell = Integer
 
|sell = Integer
Line 21: Line 22:
 
|universal_code = String
 
|universal_code = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Animal Crossing|''Animal Crossing''}}}}{{#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}}{{#cargo_store:
 
_table=pg_item
 
_table=pg_item
 
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
 
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
Line 31: Line 32:
 
|in_ique = {{#if:{{{in-ique|}}}|Yes|No}}}
 
|in_ique = {{#if:{{{in-ique|}}}|Yes|No}}}
 
|image = {{#ifexist:File:{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG Model.png}}}|{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG Sprite.png}}}}}
 
|image = {{#ifexist:File:{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG Model.png}}}|{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG Sprite.png}}}}}
 +
|inv_image = {{#ifexist:File:{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG Inv Icon.png}}}|{{{image-pg|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}} PG Inv Icon.png}}}}}
 
|buy = {{{buy|}}}
 
|buy = {{{buy|}}}
 
|sell = {{{sell|}}}
 
|sell = {{{sell|}}}
Line 58: Line 60:
 
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
 
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}}
 
  | lefticon        = [[File:Etc NH Category Icon.png{{!}}Type of other item|sub|20px|link=]]
 
  | lefticon        = [[File:Etc NH Category Icon.png{{!}}Type of other item|sub|20px|link=]]
  | righticon        = [[File:{{{name|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}} PG Inv Icon.png|sub|32px|link=]]
+
  | righticon        = [[File:{{{inv-icon|{{{name|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}} PG Inv Icon.png}}}|sub|32px|link=]]
  
 
  | image            = [[File:{{{image|}}}|256px|class=sprite|{{{name|}}}]]
 
  | image            = [[File:{{{image|}}}|256px|class=sprite|{{{name|}}}]]

Revision as of 23:59, August 15, 2021

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

Type of other item PGItems 32px
[[File:|256px|class=sprite|]]
Buy price Sell price
Not for sale Cannot be sold
Obtain via
Appearances
Name in other languages
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A

No documentation for Template:PGItems exists. Create it.