Difference between revisions of "Template:NHItems"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (adding unobtainable item categorization status) |
Dorsal Axe (talk | contribs) (Switching to CSS colour class) |
||
(21 intermediate revisions by 2 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 | |image_url = String | ||
Line 40: | Line 41: | ||
|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}}{{ | + | }}</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| | + | |en_name = {{{name|}}} |
− | |image = {{ | + | |catalog_num = {{{num|}}} |
− | |image_url = {{filepath:{{{image|{{# | + | |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 76: | Line 78: | ||
|energy_points = {{{energy-points|}}} | |energy_points = {{{energy-points|}}} | ||
|material_seasonality = {{{material-seasonality|}}} | |material_seasonality = {{{material-seasonality|}}} | ||
− | |material_sort = {{#switch:{{{material-type|}}}| | + | |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)|}}}}}| | + | |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| | + | |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 | |type = Other Item | ||
|engb_name = {{{engb-name|}}} | |engb_name = {{{engb-name|}}} | ||
Line 101: | Line 103: | ||
}}<!-- Cargo Store for identifiers -->{{#cargo_store: | }}<!-- Cargo Store for identifiers -->{{#cargo_store: | ||
_table=nh_identifier | _table=nh_identifier | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
|category = {{#switch:{{{item-type|}}}|Fence=Fence|#default=Other}} | |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|{{#switch:{{{item-type|}}}|Fence=Fence|#default=Item}}}}} | |type = {{{type|{{#switch:{{{item-type|}}}|Fence=Fence|#default=Item}}}}} | ||
Line 142: | Line 145: | ||
|version_added = {{{version-added|}}} | |version_added = {{{version-added|}}} | ||
|notes = | |notes = | ||
− | }} | }} {{#if: {{{variation1|}}} | {{#forargs: variation | key | value | <!-- Cargo Store for variations --> {{#cargo_store: | + | }} | }} {{#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 | _table=nh_item_variation | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name | + | |en_name = {{{name|}}} |
− | |image = {{{image|{{# | + | |image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png}}} |
− | |image_url = {{filepath:{{{image|{{# | + | |image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation{{#var: key }}|}}}}}) NH Icon.png}}}}} |
|variation = {{{variation{{#var: key }}|}}} | |variation = {{{variation{{#var: key }}|}}} | ||
|variation_number = {{#var: key }} | |variation_number = {{#var: key }} | ||
|color1 = {{#ifeq:{{{var{{#var: key }}-color1|}}}|None||{{{var{{#var: key }}-color1|}}}}} | |color1 = {{#ifeq:{{{var{{#var: key }}-color1|}}}|None||{{{var{{#var: key }}-color1|}}}}} | ||
|color2 = {{#ifeq:{{{var{{#var: key }}-color2|}}}|None||{{{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) -->{{#seo:|image={{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}}}}{{#cargo_store: |
_table=nh_item_variation | _table=nh_item_variation | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
− | |image = {{{image|{{# | + | |image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} |
− | |image_url = {{filepath:{{{image|{{# | + | |image_url = {{filepath:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}}}} |
|variation = | |variation = | ||
|variation_number = 1 | |variation_number = 1 | ||
Line 164: | Line 167: | ||
}} }}<!-- 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 | ||
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
− | |image = {{{image|{{ | + | |image = {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} |
|type = Others | |type = Others | ||
|distribution = {{{distribution|}}} | |distribution = {{{distribution|}}} | ||
Line 174: | Line 177: | ||
}}|}}<!-- Cargo Store for seasonal item -->{{#ifeq:{{{availability1|}}}|Nook Shopping|{{#ifeq:{{{availability1-note|}}}|Seasonal|{{NHSeasonal/CargoAttach}}{{#cargo_store: | }}|}}<!-- Cargo Store for seasonal item -->{{#ifeq:{{{availability1|}}}|Nook Shopping|{{#ifeq:{{{availability1-note|}}}|Seasonal|{{NHSeasonal/CargoAttach}}{{#cargo_store: | ||
_table=nh_seasonal | _table=nh_seasonal | ||
− | |en_name = {{{name| | + | |en_name = {{{name|}}} |
|event = {{{event|}}} | |event = {{{event|}}} | ||
|region = {{{region|}}} | |region = {{{region|}}} | ||
Line 184: | Line 187: | ||
|version_added = {{{version-added|}}} | |version_added = {{{version-added|}}} | ||
}}|}}|}}}}</includeonly>{{Infobox 2.0 | }}|}}|}}}}</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|}}}'''}}|}}}} | ||
Line 209: | Line 222: | ||
| label4 = Recipe | | label4 = Recipe | ||
− | | data4 = {{#if:{{{diy-availability1|}}}|{{Material|{{{mat1|}}}|{{{mat1-num|}}}}}{{#if:{{{mat2|}}}|{{Material|{{{mat2|}}}|{{{mat2-num|}}}}}}}{{#if:{{{mat3|}}}|{{Material|{{{mat3|}}}|{{{mat3-num|}}}}}}}{{#if:{{{mat4|}}}|{{Material|{{{mat4|}}}|{{{mat4-num|}}}}}}}{{#if:{{{mat5|}}}|{{Material|{{{mat5|}}}|{{{mat5-num|}}}}}}}{{#if:{{{mat6|}}}|{{Material|{{{mat6|}}}|{{{mat6-num|}}}}}}}}} | + | | 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 | | label5 = Recipe type | ||
− | | data5 = {{#if:{{{diy-availability1|}}}|[[DIY recipes/ | + | | data5 = {{#if:{{{diy-availability1|}}}|[[DIY recipes/Other|Other]]}} |
| label6 = Recipe obtained via | | 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|}}}}}}}}} | | 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 = | + | | label7 = Recipe buy price |
− | | data7 = {{#if: {{{ | + | | 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 = | + | | label8 = Edible |
− | | data8 = {{{energy-points|}}} | + | | data8 = {{#if: {{{energy-points|}}} | Yes (provides {{{energy-points|}}} [[edible|energy points]]) |}} |
| label9 = Customize | | label9 = Customize | ||
− | | data9 = {{#if:{{{cyrus-price|}}}{{{customizable|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable|}}}|[[File:{{{custom-kit-type| | + | | 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}}label10 = HHA points | ||
Line 237: | Line 250: | ||
{{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var"> | {{#forargs: variation | key | value | <div class="nh_item-flex-item nh_item-var"> | ||
<div class="nh_item-var-img"> | <div class="nh_item-var-img"> | ||
− | [[File:{{#if:{{{var{{#var: key }}-img|}}}|{{#ifexist:File:{{{var{{#var: key }}-img|}}}|{{{var{{#var: key }}-img|}}}|Nia.png | + | [[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> }} | | <div style="width:100%; text-align: center;">None</div> }} | ||
Line 244: | Line 257: | ||
| widebottomlabel3 = In other games | | 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=}} | + | | 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 = Names | | languages = Names | ||
Line 266: | Line 279: | ||
}} | }} | ||
<includeonly> | <includeonly> | ||
− | {{#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]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from | + | {{#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.