Difference between revisions of "Template:NHItems"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) |
Dorsal Axe (talk | contribs) (Switching to CSS colour class) |
||
(79 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
|identifier = String | |identifier = String | ||
|en_name = String | |en_name = String | ||
+ | |catalog_num = Integer | ||
|image = String | |image = String | ||
+ | |image_url = String | ||
|stack = Integer | |stack = Integer | ||
|hha_base = Integer | |hha_base = Integer | ||
Line 9: | Line 11: | ||
|buy1_currency = String | |buy1_currency = String | ||
|buy1_wikitext = Wikitext string | |buy1_wikitext = Wikitext string | ||
+ | |buy1_note = String | ||
+ | |buy2_price = Integer | ||
+ | |buy2_currency = String | ||
+ | |buy2_wikitext = Wikitext string | ||
+ | |buy2_note = String | ||
|sell = Integer | |sell = Integer | ||
+ | |item_type = String | ||
|is_fence = Boolean | |is_fence = Boolean | ||
|is_material = Boolean | |is_material = Boolean | ||
|material_type = String | |material_type = String | ||
|material_seasonality = String | |material_seasonality = String | ||
+ | |material_sort = Integer | ||
+ | |material_name_sort = Integer | ||
+ | |material_seasonality_sort = Integer | ||
|edible = Boolean | |edible = Boolean | ||
+ | |energy_points = Integer | ||
|plant_type = String | |plant_type = String | ||
|availability1 = String | |availability1 = String | ||
Line 22: | Line 34: | ||
|availability3 = String | |availability3 = String | ||
|availability3_note = String | |availability3_note = String | ||
+ | |customizable = Boolean | ||
+ | |custom_kits = Integer | ||
+ | |custom_body_part = String | ||
+ | |cyrus_price = Integer | ||
|version_added = String | |version_added = String | ||
|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}}{{#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}}{{NHIdentifier/CargoAttach}}{{NHItemVariations/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}<!-- Cargo Store for itemsdata -->{{#cargo_store: |
_table=nh_item | _table=nh_item | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | | | + | |en_name = {{{name|}}} |
− | | | + | |catalog_num = {{{num|}}} |
+ | |image = {{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png | ||
+ | |image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}} | ||
|stack = {{{stack|}}} | |stack = {{{stack|}}} | ||
|hha_base = {{{hha-base|}}} | |hha_base = {{{hha-base|}}} | ||
Line 35: | Line 53: | ||
|buy1_currency = {{{buy1-currency|}}} | |buy1_currency = {{{buy1-currency|}}} | ||
|buy1_wikitext = {{#ifeq:{{{buy1-price|}}}|NA|NA|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}}}}} | |buy1_wikitext = {{#ifeq:{{{buy1-price|}}}|NA|NA|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}}}}} | ||
+ | |buy1_note = {{{buy1-note|}}} | ||
+ | |buy2_price = {{{buy2-price|}}} | ||
+ | |buy2_currency = {{{buy2-currency|}}} | ||
+ | |buy2_wikitext = {{#ifeq:{{{buy2-price|}}}|NA|NA|{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}}}}} | ||
+ | |buy2_note = {{{buy2-note|}}} | ||
|sell = {{{sell|}}} | |sell = {{{sell|}}} | ||
|availability1 = {{{availability1|}}} | |availability1 = {{{availability1|}}} | ||
Line 43: | Line 66: | ||
|availability3_note = {{{availability3-note|}}} | |availability3_note = {{{availability3-note|}}} | ||
|version_added = {{{version-added|}}} | |version_added = {{{version-added|}}} | ||
− | |is_fence = {{# | + | |customizable = {{#if: {{{customizable|}}} | Yes | No}} |
+ | |custom_kits = {{{custom-kits|}}} | ||
+ | |custom_body_part = {{{custom-body-part|}}} | ||
+ | |cyrus_price = {{{cyrus-price|}}} | ||
+ | |item_type = {{{item-type|}}} | ||
+ | |is_fence = {{#if: {{{is-fence|}}} | Yes | No}} | ||
|plant_type = {{{plant-type|}}} | |plant_type = {{{plant-type|}}} | ||
− | |is_material = {{# | + | |is_material = {{#if: {{{material|}}} | Yes | No}} |
|material_type = {{{material-type|}}} | |material_type = {{{material-type|}}} | ||
− | |edible = {{# | + | |edible = {{#if: {{{energy-points|}}} | Yes | No}} |
+ | |energy_points = {{{energy-points|}}} | ||
|material_seasonality = {{{material-seasonality|}}} | |material_seasonality = {{{material-seasonality|}}} | ||
+ | |material_sort = {{#switch:{{{material-type|}}}|wood=1|bamboo=2|Tree=3|Ore=4|Underwater=5|Fruit=6|Plant=7|Ingredient=8|Shell=9|Trash=10|star fragment=11|Flower=12|Mushroom=13|Leaf=14|snowflake=15|Feather=16|Egg=17|Ornament=18|Other=19}} | ||
+ | |material_name_sort = {{#switch:{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Horizons)|}}}}}|star fragment=1|Large star fragment=2|Aries fragment=3|Taurus fragment=4|Gemini fragment=5|Cancer fragment=6|Leo fragment=7|Virgo fragment=8|Libra fragment=9|Scorpius fragment=10|Sagittarius fragment=11|Capricorn fragment=12|Aquarius fragment=13|Pisces fragment=14}} | ||
+ | |material_seasonality_sort = {{#switch:{{{material-seasonality|}}}|Spring=1|Summer=2|Fall=3|Winter=4|Festivale=5|Bunny Day=6|Halloween=7|Festive season=8}} | ||
|unlocked = {{#if: {{{unlocked|}}} | Yes | No}} | |unlocked = {{#if: {{{unlocked|}}} | Yes | No}} | ||
|notes = {{{notes|}}} | |notes = {{{notes|}}} | ||
}}<!-- Cargo Store for different language names -->{{#cargo_store: | }}<!-- Cargo Store for different language names -->{{#cargo_store: | ||
_table=nh_language_name | _table=nh_language_name | ||
− | |identifier = {{{identifier | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
+ | |type = Other Item | ||
+ | |engb_name = {{{engb-name|}}} | ||
|de_name = {{{de-name|}}} | |de_name = {{{de-name|}}} | ||
|es_name = {{{es-name|}}} | |es_name = {{{es-name|}}} | ||
Line 67: | Line 101: | ||
|zh_name = {{{zh-name|}}} | |zh_name = {{{zh-name|}}} | ||
|zht_name = {{{zht-name|{{{zh-name|}}}}}} | |zht_name = {{{zht-name|{{{zh-name|}}}}}} | ||
+ | }}<!-- Cargo Store for identifiers -->{{#cargo_store: | ||
+ | _table=nh_identifier | ||
+ | |identifier = {{{identifier|}}} | ||
+ | |en_name = {{{name|}}} | ||
+ | |category = {{#switch:{{{item-type|}}}|Fence=Fence|#default=Other}} | ||
}}<!-- Cargo Store for recipe, if craftable --> {{#if: {{{mat1|}}} | }}<!-- Cargo Store for recipe, if craftable --> {{#if: {{{mat1|}}} | ||
| {{#cargo_store: | | {{#cargo_store: | ||
_table=nh_recipe | _table=nh_recipe | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
− | |image = {{ | + | |num = {{{diy-num|}}} |
− | |image_url = {{filepath:{{ | + | |image = {{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png |
+ | |image_url = {{filepath:{{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png}} | ||
|serial_id = {{{serial-id|}}} | |serial_id = {{{serial-id|}}} | ||
− | |type = {{{type|{{# | + | |type = {{{type|{{#switch:{{{item-type|}}}|Fence=Fence|#default=Item}}}}} |
|buy1_price = {{{diy-buy1-price|}}} | |buy1_price = {{{diy-buy1-price|}}} | ||
|buy1_currency = {{{diy-buy1-currency|}}} | |buy1_currency = {{{diy-buy1-currency|}}} | ||
Line 103: | Line 143: | ||
|material6 = {{{mat6|}}} | |material6 = {{{mat6|}}} | ||
|material6_num = {{{mat6-num|}}} | |material6_num = {{{mat6-num|}}} | ||
− | }} | }} }}</includeonly> | + | |version_added = {{{version-added|}}} |
− | {{Infobox 2.0 | + | |notes = |
+ | }} | }} {{#if: {{{variation1|}}} | {{#forargs: variation | key | value | <!-- Cargo Store for variations --> {{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}}) NH Icon.png}}}}}}}{{#cargo_store: | ||
+ | _table=nh_item_variation | ||
+ | |identifier = {{{identifier|}}} | ||
+ | |en_name = {{{name|}}} | ||
+ | |image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png}}} | ||
+ | |image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png}}}}} | ||
+ | |variation = {{{variation{{#var: key }}|}}} | ||
+ | |variation_number = {{#var: key }} | ||
+ | |color1 = {{#ifeq:{{{var{{#var: key }}-color1|}}}|None||{{{var{{#var: key }}-color1|}}}}} | ||
+ | |color2 = {{#ifeq:{{{var{{#var: key }}-color2|}}}|None||{{{var{{#var: key }}-color2|}}}}} | ||
+ | }} }} | <!-- Cargo Store for sole item (no variations) -->{{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}}}}{{#cargo_store: | ||
+ | _table=nh_item_variation | ||
+ | |identifier = {{{identifier|}}} | ||
+ | |en_name = {{{name|}}} | ||
+ | |image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} | ||
+ | |image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}} | ||
+ | |variation = | ||
+ | |variation_number = 1 | ||
+ | |color1 = {{#ifeq:{{{color1|}}}|None||{{{color1|}}}}} | ||
+ | |color2 = {{#ifeq:{{{color2|}}}|None||{{{color2|}}}}} | ||
+ | }} }}<!-- Cargo store for distributions -->{{#if:{{{distribution|}}}|{{NHDistribution/CargoAttach}}{{#cargo_store: | ||
+ | _table=nh_distribution | ||
+ | |en_name = {{{name|}}} | ||
+ | |image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} | ||
+ | |type = Others | ||
+ | |distribution = {{{distribution|}}} | ||
+ | |distribution_note = {{{distribution-note|}}} | ||
+ | |distribution_sort = {{{distribution-sort|}}} | ||
+ | |distribution_type = {{{distribution-type|}}} | ||
+ | |version = {{{version-added|}}} | ||
+ | }}|}}<!-- Cargo Store for seasonal item -->{{#ifeq:{{{availability1|}}}|Nook Shopping|{{#ifeq:{{{availability1-note|}}}|Seasonal|{{NHSeasonal/CargoAttach}}{{#cargo_store: | ||
+ | _table=nh_seasonal | ||
+ | |en_name = {{{name|}}} | ||
+ | |event = {{{event|}}} | ||
+ | |region = {{{region|}}} | ||
+ | |description = {{{event-description|}}} | ||
+ | |former_description = {{{former-event-description|}}} | ||
+ | |event_date_north = {{{event-date|}}} | ||
+ | |event_date_south = {{{event-date-southern|}}} | ||
+ | |event_date_sort = {{{event-date-sort|}}} | ||
+ | |version_added = {{{version-added|}}} | ||
+ | }}|}}|}}}}</includeonly>{{Infobox 2.0 | ||
+ | | colorclass = color-series | ||
| primarycolor = 39 100 | | primarycolor = 39 100 | ||
| secondarycolor = 42 73 | | secondarycolor = 42 73 | ||
− | | title = {{{ | + | | title = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}} |
− | | | + | | lefticon = {{#switch:{{{item-type|}}}|Fence=[[File:Fence NH Inv Icon.png|sub|32px|link=]]|#default=[[File:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} NH Inv Icon.png}}}|sub|32px|link=]]}} |
− | | | + | | righticon = [[File:{{#switch:{{{item-type|}}} |
− | + | | Fence = Fencing NH Category Icon.png{{!}}Type of fence | |
+ | | Wheat | ||
+ | | Tree | ||
+ | | Tomato | ||
+ | | Sugarcane | ||
+ | | Pumpkin | ||
+ | | Potato | ||
+ | | Flower | ||
+ | | Bush = Plants HHP Category Icon.png{{!}}Type of plant | ||
+ | | #default = Etc NH Category Icon.png{{!}}Type of other item}}|sub|20px|link=]]{{#if:{{{num|}}}| '''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''}} | ||
− | | image = {{#ifexist:File:{{# | + | | image = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}})}} NH Icon.png|[[File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}})}} NH Icon.png|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|[[File:Nia.png|128px|No image available|link=]]}} |
| caption = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}} | | caption = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}} | ||
− | | leftlabel = Buy | + | | leftlabel = Buy price |
− | | rightlabel = Sell | + | | rightlabel = Sell price |
− | | leftdata = {{#if:{{{buy1-price|}}}|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}|short=yes}}|Not for sale}} | + | | leftdata = {{#if:{{{buy1-price|}}}|{{Currency|{{{buy1-currency|}}}|{{{buy1-price|}}}|short=yes|note={{{buy1-note|}}}}}|Not for sale}}{{#if:{{{buy2-price|}}}|<br>{{Currency|{{{buy2-currency|}}}|{{{buy2-price|}}}|short=yes|note={{{buy2-note|}}}}}|}} |
| rightdata = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}} | | rightdata = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}} | ||
− | | label = Obtain via | + | | label = Size |
− | | | + | | data = {{#if:{{{grid-size|}}}|<div style="font-size:.9em; padding:3px 0px;">{{Size|{{#sub:{{{grid-size|0.0×0.0}}}|0|3}}|{{#sub:{{{grid-size|0.0×0.0}}}|4}}}}{{#sub:{{{grid-size|0.0×0.0}}}|0|3}} × {{#sub:{{{grid-size|0.0×0.0}}}|4}}</div>}} |
+ | |||
+ | | label2 = Obtain via | ||
+ | | data2 = {{Availability|{{{availability1|}}}|note={{#if:{{{availability1-note|}}}|{{{availability1-note|}}} {{#if:{{{material-seasonality|}}}|- {{{material-seasonality|}}}}}|{{{material-seasonality|}}}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{#if:{{{availability2-note|}}}|{{{availability2-note|}}} {{#if:{{{material-seasonality|}}}|- {{{material-seasonality|}}}}}|{{{material-seasonality|}}}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{#if:{{{availability3-note|}}}|{{{availability3-note|}}} {{#if:{{{material-seasonality|}}}|- {{{material-seasonality|}}}}}|{{{material-seasonality|}}}}}}}}} | ||
+ | |||
+ | | label3 = Stack | ||
+ | | data3 = {{{stack|0}}} | ||
+ | |||
+ | | label4 = Recipe | ||
+ | | data4 = {{#if:{{{diy-availability1|}}}|{{Material|{{{mat1|}}}|{{{mat1-num|}}}|sentence-case=yes}}{{#if:{{{mat2|}}}|{{Material|{{{mat2|}}}|{{{mat2-num|}}}|sentence-case=yes}}}}{{#if:{{{mat3|}}}|{{Material|{{{mat3|}}}|{{{mat3-num|}}}|sentence-case=yes}}}}{{#if:{{{mat4|}}}|{{Material|{{{mat4|}}}|{{{mat4-num|}}}|sentence-case=yes}}}}{{#if:{{{mat5|}}}|{{Material|{{{mat5|}}}|{{{mat5-num|}}}|sentence-case=yes}}}}{{#if:{{{mat6|}}}|{{Material|{{{mat6|}}}|{{{mat6-num|}}}|sentence-case=yes}}}}}} | ||
+ | |||
+ | | label5 = Recipe type | ||
+ | | data5 = {{#if:{{{diy-availability1|}}}|[[DIY recipes/Other|Other]]}} | ||
+ | |||
+ | | label6 = Recipe obtained via | ||
+ | | data6 = {{#if:{{{diy-availability1|}}}|{{Availability|{{{diy-availability1|}}}|size=sub{{!}}18px|note={{{diy-availability1-note|}}}}}{{#if:{{{diy-availability2|}}}|{{Availability|{{{diy-availability2|}}}|size=sub{{!}}18px|note={{{diy-availability2-note|}}}}}}}{{#if:{{{diy-availability3|}}}|{{Availability|{{{diy-availability3|}}}|size=sub{{!}}18px|note={{{diy-availability3-note|}}}}}}}}} | ||
+ | |||
+ | | label7 = Recipe buy price | ||
+ | | data7 = {{#if:{{{diy-buy1-price|}}}|{{Currency|{{{diy-buy1-currency|}}}|{{{diy-buy1-price|}}}|short=yes}}}}{{#if:{{{diy-buy2-price|}}}|<br>{{Currency|{{{diy-buy2-currency|}}}|{{{diy-buy2-price|}}}|short=yes}}}} | ||
+ | |||
+ | | label8 = Edible | ||
+ | | data8 = {{#if: {{{energy-points|}}} | Yes (provides {{{energy-points|}}} [[edible|energy points]]) |}} | ||
− | | | + | | label9 = Customize |
− | | | + | | data9 = {{#if:{{{cyrus-price|}}}{{{customizable|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable|}}}|[[File:{{#invoke:TitleCase|main|{{{custom-kit-type|customization kit}}}}} NH Customization Icon.png|22px|link=|Remake kit]] {{{custom-kits|}}} {{{custom-kit-type|kit}}}{{#ifexpr:{{{custom-kits|}}} > 1|s|}}<br />}}{{#if:{{{variation1|}}}|[[File:Customization NH Icon.png|22px|link=|Variations]] {{#expr:{{#if:{{{variation1|}}}|1|0}}+{{#if:{{{variation2|}}}|1|0}}+{{#if:{{{variation3|}}}|1|0}}+{{#if:{{{variation4|}}}|1|0}}+{{#if:{{{variation5|}}}|1|0}}+{{#if:{{{variation6|}}}|1|0}}+{{#if:{{{variation7|}}}|1|0}}+{{#if:{{{variation8|}}}|1|0}}}} variations{{#if:{{{customizable-variation|}}}||{{#if:{{{pattern1|}}}| (Cyrus only)}}}}}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}|<br />}}[[File:Fabric NH Icon.png|22px|link=|Patterns]] {{#expr:{{#if:{{{pattern1|}}}|1|0}}+{{#if:{{{pattern2|}}}|1|0}}+{{#if:{{{pattern3|}}}|1|0}}+{{#if:{{{pattern4|}}}|1|0}}+{{#if:{{{pattern5|}}}|1|0}}+{{#if:{{{pattern6|}}}|1|0}}+{{#if:{{{pattern7|}}}|1|0}}+{{#if:{{{pattern8|}}}|1|0}}}} patterns|}}|}} |
− | | | + | | {{#ifeq:{{{hha-base|}}}|0|NULL}}label10 = HHA points |
− | + | | {{#ifeq:{{{hha-base|}}}|0|NULL}}data10 = {{{hha-base|}}} | |
− | | | + | | {{#if:{{{color1|}}}{{{color2|}}}||NULL}}{{#ifeq:{{{color1|}}}|None|NULL}}{{#ifeq:{{{color2|}}}|None|NULL}}label11 = Colors |
− | + | | {{#if:{{{color1|}}}{{{color2|}}}||NULL}}{{#ifeq:{{{color1|}}}|None|NULL}}{{#ifeq:{{{color2|}}}|None|NULL}}data11 = <div style="display:inline-block; vertical-align:top; line-height:.9em;">{{Color|{{{color1|Unknown}}}|display=inline-block}} {{Color|{{{color2|Unknown}}}|display=inline-block}}</div> | |
− | | | + | | widebottomlabel = Variations |
− | | | + | | widebottomdata = <div class="nh_item-flex-container" style="position:relative; text-align:center;"> |
+ | {{#if:{{{variation1|}}} | | ||
+ | {{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var"> | ||
+ | <div class="nh_item-var-img"> | ||
+ | [[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|Nia.png}}|{{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png|Nia.png}}}}|36px|{{#invoke:SentenceCase|main|{{{name|}}}}}'s {{{variation{{#var: key }}|}}} variant]]</div></div>}}</div> | ||
+ | | <div style="width:100%; text-align: center;">None</div> }} | ||
− | | | + | | widebottomlabel2 = Notes |
− | | | + | | widebottomdata2 = {{{notes|}}} |
− | | {{# | + | | widebottomlabel3 = In other games |
− | + | | widebottomdata3 = {{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|default=}}{{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_item|fields=CONCAT("[[Item:", pg_item.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_item.en_name, ")]]<br />")|where=pg_item.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|default=}}{{#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=ww_clothing|fields=CONCAT("[[Item:", ww_clothing.en_name, " (Wild World)|''Wild World'' (", ww_clothing.en_name, ")]]<br />")|where=ww_clothing.identifier="{{{identifier|}}}"|delimiter=|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=cf_clothing|fields=CONCAT("[[Item:", cf_clothing.en_name, " (City Folk)|''City Folk'' (", cf_clothing.en_name, ")]]<br />")|where=cf_clothing.identifier="{{{identifier|}}}"|delimiter=|default=}} | |
− | |||
− | |||
− | | languages = | + | | languages = Names |
| ja-name = {{{ja-name|}}} | | ja-name = {{{ja-name|}}} | ||
| ko-name = {{{ko-name|}}} | | ko-name = {{{ko-name|}}} | ||
Line 163: | Line 279: | ||
}} | }} | ||
<includeonly> | <includeonly> | ||
− | {{#if: {{{material|}}}|[[Category:New Horizons materials]]}}{{# | + | {{#if:{{{material|}}}|[[Category:New Horizons materials]]}}{{#switch:{{{item-type|}}}|Fence=[[Category:New Horizons fence items]]|Flower = [[Category:New Horizons flower items]]|Bush = [[Category:New Horizons bush items]]|Tree = [[Category:New Horizons tree items]]|#default=[[Category:New Horizons other items]]}}{{#ifeq: {{{edible|}}} | Yes | [[Category:Food]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability1|}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability2|}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]] [[Category:Unobtainable items in New Horizons]]|[[Category:Acquired from {{{availability3|}}}]]}}}}{{#if: {{{diy-availability1|}}}|[[Category:Recipes acquired from {{{diy-availability1|}}}]]}}{{#if: {{{diy-availability2|}}}|[[Category:Recipes acquired from {{{diy-availability2|}}}]]}}{{#if: {{{diy-availability3|}}}|[[Category:Recipes acquired from {{{diy-availability3|}}}]]}}[[Category:New Horizons items introduced in {{{version-added|}}}]]{{#if:{{{ja-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{ko-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{zh-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{fr-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{it-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{es-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{de-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{nl-name|}}}||[[Category:New Horizons items with missing other language information]]}}{{#if:{{{ru-name|}}}||[[Category:New Horizons items with missing other language information]]}}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude> |
Revision as of 04:49, May 18, 2024
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
| ||||||||
Names 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.