Difference between revisions of "Template:PGItems"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (Preparing template once item capitalization proposal passes and several changes to names are made automatically.) |
PanchamBro (talk | contribs) m (Text replacement - "color-class" to "colorclass") |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 31: | Line 31: | ||
|universal_code = String | |universal_code = String | ||
|notes = String | |notes = String | ||
− | }}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{#cargo_store: | + | }}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{PGIdentifier/CargoAttach}}{{#cargo_store: |
_table=pg_item | _table=pg_item | ||
|identifier = {{{identifier|}}} | |identifier = {{{identifier|}}} | ||
Line 73: | Line 73: | ||
|ja_name = {{{ja-name|}}} | |ja_name = {{{ja-name|}}} | ||
|zh_name = {{#if:{{{in-ique|}}}|{{{zh-name|}}}|}} | |zh_name = {{#if:{{{in-ique|}}}|{{{zh-name|}}}|}} | ||
+ | }}<!-- Cargo Store for identifiers -->{{#cargo_store: | ||
+ | _table=pg_identifier | ||
+ | |identifier = {{{identifier|}}} | ||
+ | |en_name = {{{name|}}} | ||
+ | |category = Other | ||
}}}}</includeonly>{{Infobox 2.0 | }}}}</includeonly>{{Infobox 2.0 | ||
+ | | colorclass = color-series | ||
| primarycolor = 39 100 | | primarycolor = 39 100 | ||
| secondarycolor = 42 73 | | secondarycolor = 42 73 | ||
− | | title = {{#invoke:SentenceCase|main|{{{name|}}}}} | + | | title = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}} |
| lefticon = {{#ifexist:File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} PG Inv Icon.png}}}|[[File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} PG Inv Icon.png}}}|Type of other item|sub|32px|link=]]|<span style="padding-left:{{{32px}}};"></span>}} | | lefticon = {{#ifexist:File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} PG Inv Icon.png}}}|[[File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} PG Inv Icon.png}}}|Type of other item|sub|32px|link=]]|<span style="padding-left:{{{32px}}};"></span>}} | ||
| righticon = | | righticon = | ||
Line 173: | Line 179: | ||
| widebottomlabel3 = In other games | | widebottomlabel3 = In other games | ||
− | | widebottomdata3 = {{#cargo_query:tables=ww_item|fields=CONCAT("[[Item:", ww_item.en_name, " (Wild World)|''Wild World'' (", ww_item.en_name, ")]]<br />")|where=ww_item.identifier="{{{identifier|}}}"|default=}}{{#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=}} | + | | widebottomdata3 = {{#cargo_query:tables=ww_item|fields=CONCAT("[[Item:", ww_item.en_name, " (Wild World)|''Wild World'' (", ww_item.en_name, ")]]<br />")|where=ww_item.identifier="{{{identifier|}}}"|default=}}{{#cargo_query:tables=cf_item|fields=CONCAT("[[Item:", cf_item.en_name, " (City Folk)|''City Folk'' (", cf_item.en_name, ")]]<br />")|where=cf_item.identifier="{{{identifier|}}}"|default=}}{{#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 = Names | | languages = Names |
Latest revision as of 00:03, May 19, 2024
This template defines the table "pg_item". View table.
| ||||||||
[[File:|256px|class=sprite|]] | ||||||||
Buy price | Sell price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Cannot be sold | |||||||
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 |
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
Module:Items
Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
Module:Items
Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
No documentation for Template:PGItems exists. Create it.