Difference between revisions of "Template:NHItems"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (removing incorrect category) |
PanchamBro (talk | contribs) (adding variations cargo table; will need to shuffle the existing parameters later.) |
||
Line 38: | Line 38: | ||
|unlocked = Boolean | |unlocked = Boolean | ||
|notes = String | |notes = String | ||
− | }}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NHLang/CargoAttach}}{{NHIdentifer/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}<!-- Cargo Store for itemsdata -->{{#cargo_store: | + | }}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NHLang/CargoAttach}}{{NHIdentifer/CargoAttach}}{{NHItemVariations/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}<!-- Cargo Store for itemsdata -->{{#cargo_store: |
_table=nh_item | _table=nh_item | ||
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | |identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | ||
Line 134: | Line 134: | ||
|version_added = {{{version-added|}}} | |version_added = {{{version-added|}}} | ||
|notes = | |notes = | ||
− | }} | }} <!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store: | + | }} | }} {{#if: {{{variation1|}}} | {{#forargs: variation | key | value | <!-- Cargo Store for variations --> {{#cargo_store: |
+ | _table=nh_item_variation | ||
+ | |identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | ||
+ | |en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} | ||
+ | |image = {{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}} ({{{variation{{#var: key }}|}}}) NH Icon.png}}} | ||
+ | |image_url = {{filepath:{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}} ({{{variation{{#var: key }}|}}}) NH Icon.png}}}}} | ||
+ | |variation = {{{variation{{#var: key }}|}}} | ||
+ | |variation_number = {{#var: key }} | ||
+ | |color1 = {{{var{{#var: key }}-color1|}}} | ||
+ | |color2 = {{{var{{#var: key }}-color2|}}} | ||
+ | }} }} | <!-- Cargo Store for sole item (no variations) -->{{#cargo_store: | ||
+ | _table=nh_item_variation | ||
+ | |identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}} | ||
+ | |en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} | ||
+ | |image = {{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}} NH Icon.png}}} | ||
+ | |image_url = {{filepath:{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}} NH Icon.png}}}}} | ||
+ | |variation = | ||
+ | |variation_number = 1 | ||
+ | |color1 = {{{color1|}}} | ||
+ | |color2 = {{{color2|}}} | ||
+ | }} }}<!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store: | ||
_table=nh_distribution | _table=nh_distribution | ||
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} | |en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}}}} |
Revision as of 18:22, December 23, 2021
This template defines the table "nh_item". View table.
| ||||||||
Buy price | Sell price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Cannot be sold | |||||||
Obtain via | ||||||||
Stack | 0 | |||||||
Variations | ||||||||
None
| ||||||||
Name in other languages
Unknown
Unknown Unknown Unknown
Unknown
Unknown Unknown Unknown
Unknown Unknown Unknown Unknown |
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.