Difference between revisions of "Template:NHTools"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) m |
PanchamBro (talk | contribs) m (Text replacement - "{{#if:{{{crafting-serial-id|}}}|" to "{{#if:{{{crafting-serial-ID|}}}|") |
||
(51 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
|identifier = String | |identifier = String | ||
|en_name = String | |en_name = String | ||
+ | |filename = String | ||
+ | |internal_ID = Integer | ||
+ | |catalog_num = Integer | ||
|uses = String | |uses = String | ||
|inv_icon = String | |inv_icon = String | ||
|inv_icon_url = String | |inv_icon_url = String | ||
+ | |stack = Integer | ||
|hha_base = Integer | |hha_base = Integer | ||
|buy1_price = Integer | |buy1_price = Integer | ||
Line 26: | Line 30: | ||
|customizable = Boolean | |customizable = Boolean | ||
|custom_kits = Integer | |custom_kits = Integer | ||
+ | |custom_kit_type = String | ||
|custom_body_part = String | |custom_body_part = String | ||
+ | |cyrus_price = Integer | ||
|is_material = Boolean | |is_material = Boolean | ||
+ | |edible = Boolean | ||
+ | |energy_points = Integer | ||
+ | |catalog = String | ||
|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}}{{ | + | }}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Horizons|''New Horizons''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NHLang/CargoAttach}}{{NHIdentifier/CargoAttach}}{{#if: {{{mat1|}}} | {{NHRecipe/CargoAttach}}}}{{NHToolsVariations/CargoAttach}}<!-- Cargo Store for tools data (not including images or variations) -->{{#cargo_store: |
_table=nh_tool | _table=nh_tool | ||
− | |identifier = {{{identifier| | + | |identifier = {{{identifier|}}} |
− | | | + | |en_name = {{{name|}}} |
+ | |filename = {{{filename|}}} | ||
+ | |internal_ID = {{{ID|}}} | ||
+ | |catalog_num = {{{num|}}} | ||
|uses = {{{uses|}}} | |uses = {{{uses|}}} | ||
− | |inv_icon = {{{inv-icon | + | |inv_icon = {{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} NH Inv Icon.png}}} |
− | |inv_icon_url = {{filepath:{{{inv-icon | + | |inv_icon_url = {{filepath:{{{inv-icon|{{#invoke:TitleCase|main|{{{name|}}}}} NH Inv Icon.png}}}}} |
|hha_base = {{{hha-base|}}} | |hha_base = {{{hha-base|}}} | ||
+ | |stack = {{{stack|}}} | ||
|buy1_price = {{{buy1-price|}}} | |buy1_price = {{{buy1-price|}}} | ||
|buy1_currency = {{{buy1-currency|}}} | |buy1_currency = {{{buy1-currency|}}} | ||
Line 58: | Line 71: | ||
|customizable = {{#if: {{{customizable|}}} | Yes | No}} | |customizable = {{#if: {{{customizable|}}} | Yes | No}} | ||
|custom_kits = {{{custom-kits|}}} | |custom_kits = {{{custom-kits|}}} | ||
+ | |custom_kit_type = {{#if: {{{customizable|}}} | {{{custom-kit-type|Customization Kit}}} | }} | ||
|custom_body_part = {{{custom-body-part|}}} | |custom_body_part = {{{custom-body-part|}}} | ||
+ | |cyrus_price = {{{cyrus-price|}}} | ||
|is_material = {{#if: {{{is-material|}}} | Yes | No}} | |is_material = {{#if: {{{is-material|}}} | Yes | No}} | ||
+ | |edible = {{#if: {{{energy-points|}}} | Yes | No}} | ||
+ | |energy_points = {{{energy-points|}}} | ||
+ | |catalog = {{{catalog|}}} | ||
|version_added = {{{version-added|}}} | |version_added = {{{version-added|}}} | ||
|unlocked = {{#if: {{{unlocked|}}} | Yes | No}} | |unlocked = {{#if: {{{unlocked|}}} | Yes | No}} | ||
Line 65: | Line 83: | ||
}}<!-- 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 = Tool | ||
+ | |engb_name = {{{engb-name|}}} | ||
|de_name = {{{de-name|}}} | |de_name = {{{de-name|}}} | ||
|es_name = {{{es-name|}}} | |es_name = {{{es-name|}}} | ||
Line 81: | Line 101: | ||
}}<!-- 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 = | + | |category = Tool |
}}<!-- 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 |
− | |serial_id = {{{serial- | + | |image_url = {{filepath:{{#invoke:TitleCase|main|{{{name|}}}}} NH DIY Icon.png}} |
− | |type = {{{recipe-type| | + | |card_color = {{{crafting-card-color|}}} |
+ | |serial_id = {{{crafting-serial-ID|}}} | ||
+ | |internal_id = {{{crafting-ID|}}} | ||
+ | |type = {{{recipe-type|Tools}}} | ||
|buy1_price = {{{diy-buy1-price|}}} | |buy1_price = {{{diy-buy1-price|}}} | ||
|buy1_currency = {{{diy-buy1-currency|}}} | |buy1_currency = {{{diy-buy1-currency|}}} | ||
Line 100: | Line 123: | ||
|buy2_wikitext = {{#ifeq:{{{diy-buy2-price|}}}|NA|NA|{{Currency|{{{diy-buy2-currency|}}}|{{{diy-buy2-price|}}}}}}} | |buy2_wikitext = {{#ifeq:{{{diy-buy2-price|}}}|NA|NA|{{Currency|{{{diy-buy2-currency|}}}|{{{diy-buy2-price|}}}}}}} | ||
|sell = {{{diy-sell|}}} | |sell = {{{diy-sell|}}} | ||
+ | |recipes_to_unlock = {{{recipes-to-unlock|}}} | ||
|diy_availability1 = {{{diy-availability1|}}} | |diy_availability1 = {{{diy-availability1|}}} | ||
|diy_availability1_note = {{{diy-availability1-note|}}} | |diy_availability1_note = {{{diy-availability1-note|}}} | ||
Line 119: | Line 143: | ||
|material6 = {{{mat6|}}} | |material6 = {{{mat6|}}} | ||
|material6_num = {{{mat6-num|}}} | |material6_num = {{{mat6-num|}}} | ||
− | }} | }} {{#if: {{{variation1|}}} | {{#forargs: variation | key | value | <!-- Cargo Store for variations --> {{#cargo_store: | + | |version_added = {{{version-added|}}} |
+ | |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_tool_variation | _table=nh_tool_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 = {{{var{{#var: key }}-color1|}}} | |color1 = {{{var{{#var: key }}-color1|}}} | ||
|color2 = {{{var{{#var: key }}-color2|}}} | |color2 = {{{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_tool_variation | _table=nh_tool_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 142: | Line 168: | ||
_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)|}}}}}}}} | ||
− | |image = {{#if: {{{variation1|}}} | {{{image|{{ | + | |image = {{#if: {{{variation1|}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} ({{#invoke:TitleCase|main|{{{variation1|}}}}}) NH Icon.png}}} | {{{image|{{#invoke:TitleCase|main|{{{name|}}}}} NH Icon.png}}} }} |
|type = Tool | |type = Tool | ||
|distribution = {{{distribution|}}} | |distribution = {{{distribution|}}} | ||
Line 149: | Line 175: | ||
|distribution_type = {{{distribution-type|}}} | |distribution_type = {{{distribution-type|}}} | ||
|version = {{{version-added|}}} | |version = {{{version-added|}}} | ||
− | }}|}}}}</includeonly>{{Infobox 2.0 | + | }}|}}<!-- 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|}}}}}}}} |
| subtitleabove = {{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}}}}} Series|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|, |}}[[{{{set-link|{{{set|}}}}}} Set|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function1|}}}{{#if:{{{function2|}}}|, {{{function2|}}}}}{{#if:{{{function3|}}}|, {{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</span>|}} | | subtitleabove = {{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{series|}}}|[[{{{series-link|{{{series|}}}}}} Series|{{{series|}}} Series]]|}}{{#if:{{{set|}}}|{{#if:{{{series|}}}|, |}}[[{{{set-link|{{{set|}}}}}} Set|{{{set|}}} Set]]|}}{{#if:{{{function1|}}}|{{#if:{{{series|}}}{{{set|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function1|}}}{{#if:{{{function2|}}}|, {{{function2|}}}}}{{#if:{{{function3|}}}|, {{{function3|}}}}}}}{{#if:{{{series|}}}{{{set|}}}{{{function1|}}}|</span>|}} | ||
− | | lefticon = | + | | lefticon = {{#if:{{{inv-icon|}}}|[[File:{{{inv-icon|}}}|sub|32px|link=]]| }} |
− | + | | righticon = [[File:Tool NH Category Icon.png|Type of tool/good|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 172: | Line 206: | ||
| data = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability4|}}}|{{Availability|{{{availability4|}}}|note={{{availability4-note|}}}}}}} | | data = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability4|}}}|{{Availability|{{{availability4|}}}|note={{{availability4-note|}}}}}}} | ||
− | | label2 = Recipe | + | | label2 = Stack |
− | | | + | | data2 = {{{stack|1}}} |
+ | |||
+ | | label3 = Recipe | ||
+ | | data3 = {{#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}}}}}} | ||
− | | | + | | label4 = Recipe type |
− | | | + | | data4 = {{#if:{{{diy-availability1|}}}|[[DIY recipes/{{#switch:{{{recipe-type|}}}|Item=Other|#default=Tools}}|{{#switch:{{{recipe-type|}}}|Item=Other|#default=Tools}}]]}} |
− | | | + | | label5 = Recipe obtained via |
− | | | + | | data5 = {{#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|}}}}}}}}} |
− | | | + | | label6 = Uses |
− | | | + | | data6 = {{{uses|}}} |
− | | | + | | label7 = Edible |
− | | {{#if:{{{ | + | | data7 = {{#if: {{{energy-points|}}} | Yes (provides {{{energy-points|}}} [[edible|energy points]]) |}} |
− | | widebottomlabel = Variations | + | | label8 = Customize |
− | | | + | | data8 = {{#if:{{{cyrus-price|}}}{{{customizable|}}}|{{#if:{{{cyrus-price|}}}|{{Availability|Cyrus|nb=true}}: {{Currency|Bells|{{{cyrus-price|}}}}}<br />|}}{{#if:{{{customizable|}}}|[[File:{{{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|}}|No customization options.}}{{#if:{{{custom-pattern-part|}}}{{{custom-body-part|}}}|{{#if:{{{cyrus-price|}}}||[[Category:New Horizons items with missing Cyrus price parameters]]}}}} |
+ | |||
+ | | {{#if:{{{variation1|}}}{{{pattern1|}}}|NULL}}{{#if:{{{color1|}}}{{{color2|}}}||NULL}}{{#ifeq:{{{color1|}}}|None|NULL}}{{#ifeq:{{{color2|}}}|None|NULL}}label9 = Colors | ||
+ | | {{#if:{{{variation1|}}}{{{pattern1|}}}|NULL}}{{#if:{{{color1|}}}{{{color2|}}}||NULL}}{{#ifeq:{{{color1|}}}|None|NULL}}{{#ifeq:{{{color2|}}}|None|NULL}}data9 = <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 = Internal information | ||
+ | | widebottomdata = {{#if:{{{filename|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Filename''': <code>{{{filename|}}}</code><br></div>}}{{#if:{{{ID|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Internal ID''': <code>{{{ID|}}}</code><br></div>}}{{#if: {{{mat1|}}}|{{#if:{{{crafting-card-color|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Crafting card color''': <code>{{{crafting-card-color|}}}</code><br></div>}}{{#if:{{{crafting-serial-ID|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Crafting serial ID''': <code>{{{crafting-serial-ID|}}}</code><br></div>}}{{#if:{{{crafting-ID|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Crafting internal ID''': <code>{{{crafting-ID|}}}</code><br></div>}}}} | ||
+ | |||
+ | | widebottomlabel2 = Variations | ||
+ | | widebottomdata2 = <div class="nh_item-flex-container" style="position:relative; text-align:center;"> | ||
{{#if:{{{variation1|}}} | | {{#if:{{{variation1|}}} | | ||
{{#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> }} | ||
− | | | + | | widebottomlabel3 = Notes |
− | | | + | | widebottomdata3 = {{{notes|}}} |
+ | |||
+ | | widebottomlabel4 = In other games | ||
+ | | widebottomdata4 = {{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|delimiter=|default=}}{{#cargo_query:tables=pg_tool|fields=CONCAT("[[Item:", pg_tool.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_tool.en_name, ")]]<br />")|where=pg_tool.identifier="{{{identifier|}}}" AND in_pg=1|delimiter=|default=}}{{#cargo_query:tables=pg_tool|fields=CONCAT("[[Item:", pg_tool.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_tool.en_name, ")]]<br />")|where=pg_tool.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|delimiter=|default=}}{{#cargo_query:tables=ww_identifier|fields=CONCAT("[[Item:", ww_identifier.en_name, " (Wild World)|''Wild World'' (", ww_identifier.en_name, ")]]<br />")|where=ww_identifier.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=cf_identifier|fields=CONCAT("[[Item:", cf_identifier.en_name, " (City Folk)|''City Folk'' (", cf_identifier.en_name, ")]]<br />")|where=cf_identifier.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nl_identifier|fields=CONCAT("[[Item:", nl_identifier.en_name, " (New Leaf)|''New Leaf'' (", nl_identifier.en_name, ")]]<br />")|where=nl_identifier.identifier="{{{identifier|}}}"|delimiter=|default=}} | ||
− | | languages = | + | | languages = Names |
| ja-name = {{{ja-name|}}} | | ja-name = {{{ja-name|}}} | ||
| ko-name = {{{ko-name|}}} | | ko-name = {{{ko-name|}}} | ||
Line 218: | Line 267: | ||
}} | }} | ||
<includeonly> | <includeonly> | ||
− | [[Category:New Horizons tools]]{{#if: {{{ | + | [[Category:New Horizons tools]]{{#if: {{{energy-points|}}} | [[Category:Food]]}}{{#if: {{{availability1|}}} | [[Category:Acquired from {{{availability1|}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{{availability2|}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{{availability3|}}}]]}}[[Category:New Horizons items introduced in {{{version-added|}}}]]{{#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|}}}]]}}{{#if: {{{is-material|}}} | [[Category:New Horizons materials]] }}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude> |
Latest revision as of 02:16, September 7, 2024
This template defines the table "nh_tool". View table.
| ||||||||
Buy price | Sell price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Unknown | |||||||
Obtain via | ||||||||
Stack | 1 | |||||||
Customize | No customization options. | |||||||
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.
Parameters
Names
name
- The English name of the item.
- Default value: Item name in page title.
ja-name
- The Japanese name of the item.
fr-name
- The French name of the item.
frq-name
- The Quebec French name of the item.
de-name
- The German name of the item.
ko-name
- The Korean name of the item.
it-name
- The Italian name of the item.
nl-name
- The Dutch name of the item.
zh-name
- The Simplified Chinese name of the item.
zht-name
- The Traditional Chinese name of the item.
es-name
- The Spanish name of the item.
esl-name
- The Latin American Spanish name of the item.
ru-name
- The Russian name of the item.
identifier
- An identifier that connects this item to items in other iterations of Animal Crossing. If an item changes name from game to game, the identifier remains constant. The identifier should be the name of the item as it appears in the earliest Animal Crossing game. For items which can only be obtained as a customization option in a later game (e.g. the Black Pawn & White Pawn become customization options for the Pawn in ACNL), the later name is used instead.
- Default value: Item name in page title.
Metadata
category
- The category of the item as seen in the catalog.
- Possible values: Housewares, Miscellaneous, Wall-mounted, Wallpaper, Floors, Rug, Fashion Items, Creatures, Other
theme1
,theme2
,theme3
,theme4
,theme5
- Themes that the item belongs to. For furniture, this refers to HHA concepts. For clothing, this refers to Label themes.
color1
,color2
- The colors for the item (for the purposes of feng shui). Each item has two. For items with variations,
color1
andcolor2
should be set to those of the "default" (first) variation. Colors for variations can be defined invar1-color1
/var1-color2
,var2-color1
/var2-color2
, etc.
function1
,function2
- The functionality of the item (e.g. bathtub, lighting, table).
length
- The length of the item as a float (e.g. 1.0, 1.5). Sources an image using {{Size}}.
width
- The width of the item as a float (e.g. 1.0, 1.5). Sources an image using {{Size}}.
interactable
- Boolean of whether the player can interact with the item.
- Currently not displayed in the template.
sound
- Boolean of whether the item produces sound.
- Currently not displayed in the template.
lighting
- Boolean of whether the item emits light.
- Currently not displayed in the template.
animated
- Whether the item is animated without any interaction. This will mostly be used with some wallpapers/flooring, but some furniture as well (e.g. fires, wind turbine, etc.)
- Currently not displayed in the template.
Acquiring
availability
,availability2
- How the item can be acquired. Value should match one of the options in Template:Availability.
mat1
,mat2
,mat3
,mat4
,mat5
,mat6
- Names of materials needed. Value should match one of the options in Template:Material.
mat1-num
,mat2-num
,mat3-num
,mat4-num
,mat5-num
,mat6-num
- Number of material needed.
season
,season2
- The season an item is exclusively available in.
buy
- Cost to purchase.
currency
- Currency to purchase. Value should match one of the options in Template:Currency.
sell
- Sell price in Bells.
Customization
customizable
- True or False for whether the item is customizable.
custom-kits
- The number of customization kits required to do a customization.
pattern
- If set to True, item can be customized with patterns.
pattern1
,pattern2
,pattern3
,pattern4
,pattern5
,pattern6
,pattern7
,pattern8
- The name of a pattern.
- Currently not displayed in the template.
var
- The name of the default (first) variation; this is what is shown at the top of the template.
var1
,var2
,var3
,var4
,var5
var6
,var7
,var8
- Additional variation names.
var1-img
,var2-img
,var3-img
,var4-img
,var5-img
var6-img
,var7-img
,var8-img
var1-color1
,var2-color1
,var3-color1
,var4-color1
,var5-color1
var6-color1
,var7-color1
,var8-color1
var1-color2
,var2-color2
,var3-color2
,var4-color2
,var5-color2
var6-color2
,var7-color2
,var8-color2
Other
notes
- Any additional notes (special properties, glitches, attribution, etc.).