Difference between revisions of "Template:PGItems"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) m |
PanchamBro (talk | contribs) (adding Inv Icon to the item table) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
|in_pg = Boolean | |in_pg = Boolean | ||
|in_e_plus = Boolean | |in_e_plus = Boolean | ||
+ | |in_ique = Boolean | ||
|image = String | |image = String | ||
+ | |inv_image = String | ||
|buy = Integer | |buy = Integer | ||
|sell = Integer | |sell = Integer | ||
Line 20: | Line 22: | ||
|universal_code = String | |universal_code = String | ||
|notes = String | |notes = String | ||
− | }}</noinclude><includeonly>{{DISPLAYTITLE:{{# | + | }}</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)|}}}}} | ||
|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:{{{ | + | |in_dnm = {{#if:{{{in-dnm|}}}|Yes|No}}} |
− | |in_plus = {{#if:{{{ | + | |in_plus = {{#if:{{{in-plus|}}}|Yes|No}}} |
− | |in_pg = {{#if:{{{ | + | |in_pg = {{#if:{{{in-pg|}}}|Yes|No}}} |
− | |in_e_plus = {{#if:{{{ | + | |in_e_plus = {{#if:{{{in-e-plus|}}}|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 50: | Line 54: | ||
|it_name = {{{it-name|}}} | |it_name = {{{it-name|}}} | ||
|ja_name = {{{ja-name|}}} | |ja_name = {{{ja-name|}}} | ||
− | |zh_name = {{#if:{{{in- | + | |zh_name = {{#if:{{{in-ique|}}}|{{{zh-name|}}}|}} |
}}}}</includeonly>{{Infobox 2.0 | }}}}</includeonly>{{Infobox 2.0 | ||
| primarycolor = 39 100 | | primarycolor = 39 100 | ||
Line 56: | 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|}}}]] | ||
Line 70: | Line 74: | ||
| label2 = Obtain via | | label2 = Obtain via | ||
− | | data2 = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}} | + | | data2 = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if: {{{availability-other|}}} | <div class="mw-collapsible mw-collapsed" style="width:100%"> |
+ | Also available from... | ||
+ | <div class="mw-collapsible-content"> | ||
+ | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | ||
+ | </div> | ||
+ | </div> | }} | ||
| widebottomlabel = Appearances | | widebottomlabel = Appearances | ||
Line 77: | Line 86: | ||
| widebottomlabel2 = Notes | | widebottomlabel2 = Notes | ||
| widebottomdata2 = {{{notes|}}} | | widebottomdata2 = {{{notes|}}} | ||
+ | |||
+ | | widebottomlabel3 = In other games | ||
+ | | widebottomdata3 = {{#cargo_query:tables=nh_identifier|fields=CONCAT("[[Item:", nh_identifier.en_name, " (New Horizons)|''New Horizons'' (", nh_identifier.en_name, ")]]<br />")|where=nh_identifier.identifier="{{{identifier|}}}"|default=}} | ||
| languages = Name | | languages = Name | ||
| ja-name = {{{ja-name|}}} | | ja-name = {{{ja-name|}}} | ||
− | | zh-name = {{#if:{{{in- | + | | zh-name = {{#if:{{{in-ique|}}}|{{{zh-name|}}}|N/A}} |
| fr-name = {{{fr-name|}}} | | fr-name = {{{fr-name|}}} | ||
| es-name = {{{es-name|}}} | | es-name = {{{es-name|}}} | ||
Line 91: | Line 103: | ||
| nl-name = N/A | | nl-name = N/A | ||
| ru-name = N/A | | ru-name = N/A | ||
− | }}<includeonly>{{#if:{{{in-dnm|}}}|[[Category:Doubutsu no Mori other items]]}}{{#if:{{{in-plus|}}}|[[Category:Animal Crossing other items]]}}{{#if:{{{in-pg|}}}|[[Category:Animal Crossing other items]]}}{{#if:{{{in-e-plus|}}}|[[Category:Doubutsu no Mori e+ other items]]}}</includeonly><noinclude>{{clear}} | + | }}<includeonly>{{#if:{{{in-dnm|}}}|[[Category:Doubutsu no Mori other items]]}}{{#if:{{{in-plus|}}}|[[Category:Animal Crossing other items]]}}{{#if:{{{in-pg|}}}|[[Category:Animal Crossing other items]]}}{{#if:{{{in-e-plus|}}}|[[Category:Doubutsu no Mori e+ other items]]}}{{#if:{{{in-ique|}}}|[[Category:Doubutsu no Mori other items]]}}</includeonly><noinclude>{{clear}} |
{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]] | {{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]] | ||
</noinclude> | </noinclude> |
Revision as of 23:59, August 15, 2021
This template defines the table "pg_item". View table.
| ||||||||
[[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.