Difference between revisions of "Template:NHItems"

From Nookipedia, the Animal Crossing wiki
(adding variations cargo table; will need to shuffle the existing parameters later.)
(removing color if non-existent.)
Line 142: Line 142:
 
|variation = {{{variation{{#var: key }}|}}}
 
|variation = {{{variation{{#var: key }}|}}}
 
|variation_number = {{#var: key }}
 
|variation_number = {{#var: key }}
|color1 = {{{var{{#var: key }}-color1|}}}
+
|color1 = {{#ifeq:{{{var{{#var: key }}-color1|}}}|None||{{{var{{#var: key }}-color1|}}}}}
|color2 = {{{var{{#var: key }}-color2|}}}
+
|color2 = {{#ifeq:{{{var{{#var: key }}-color2|}}}|None||{{{var{{#var: key }}-color2|}}}}}
 
}} }} | <!-- Cargo Store for sole item (no variations) -->{{#cargo_store:
 
}} }} | <!-- Cargo Store for sole item (no variations) -->{{#cargo_store:
 
_table=nh_item_variation
 
_table=nh_item_variation
Line 152: Line 152:
 
|variation =
 
|variation =
 
|variation_number = 1
 
|variation_number = 1
|color1 = {{{color1|}}}
+
|color1 = {{#ifeq:{{{color1|}}}|None||{{{color1|}}}}}
|color2 = {{{color2|}}}
+
|color2 = {{#ifeq:{{{color2|}}}|None||{{{color2|}}}}}
 
}} }}<!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store:
 
}} }}<!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store:
 
_table=nh_distribution
 
_table=nh_distribution

Revision as of 18:25, December 23, 2021

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

Type of other item NHItems 32px
No image available
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