Difference between revisions of "Template:NHFurniture"

From Nookipedia, the Animal Crossing wiki
(adding category check for furniture missing cyrus price values)
m
Line 378: Line 378:
 
  | Ceiling decor = ceiling decor items
 
  | Ceiling decor = ceiling decor items
 
  | Food = food items
 
  | Food = food items
  | {{{category|}}}}}]] {{#ifeq: {{{outdoor|}}} | Yes | [[Category:Outdoor items]] | }} {{#if: {{{series|}}} | [[Category:{{{series|}}} Series]]}}{{#if: {{{set|}}} | [[Category:{{{set|}}} Set]]}}{{#if: {{{availability1|}}} | [[Category:Acquired from {{#switch:{{{availability1|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability1|}}}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{#switch:{{{availability2|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability2|}}}}}]]}}{{#if:{{{height|}}} | | [[Category:New Horizons items with missing height]]}} {{#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]]}}|}}[[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]] }}{{#if:{{{former-theme1|}}}|[[Category:New Horizons items with version differences]]}}[[Category:New Horizons furniture]]{{#ifeq: {{{availability1|}}} | Crafting | {{#if: {{{mat1|}}} | | [[Category:New Horizons items with missing crafting recipes]]}}{{#if:{{{diy-availability1|}}} | | [[Category:New Horizons items with missing crafting recipe availability]]}}}}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude>
+
  | {{{category|}}}}}]] {{#ifeq: {{{outdoor|}}} | Yes | [[Category:Outdoor items]] | }} {{#if: {{{series|}}} | [[Category:{{{series|}}} Series]]}}{{#if: {{{set|}}} | [[Category:{{{set|}}} Set]]}}{{#if: {{{availability1|}}} | [[Category:Acquired from {{#switch:{{{availability1|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability1|}}}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{#switch:{{{availability2|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability2|}}}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{#switch:{{{availability3|}}}|Crafting=crafting|Cooking=cooking|#default={{{availability3|}}}}}]]}}{{#if:{{{height|}}} | | [[Category:New Horizons items with missing height]]}} {{#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]]}}|}}[[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]] }}{{#if:{{{former-theme1|}}}|[[Category:New Horizons items with version differences]]}}[[Category:New Horizons furniture]]{{#ifeq: {{{availability1|}}} | Crafting | {{#if: {{{mat1|}}} | | [[Category:New Horizons items with missing crafting recipes]]}}{{#if:{{{diy-availability1|}}} | | [[Category:New Horizons items with missing crafting recipe availability]]}}}}</includeonly><noinclude>{{clear}}<br>{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]</noinclude>

Revision as of 11:53, April 8, 2022

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

Type of item  
No image available
Buy price Sell price
Not for sale Cannot be sold
Size
0.0 x 0.0 0.0 × 0.0
Obtain via
Customize No customization options.
HHA points ?
Colors
Unknown
 
Unknown
Variations
None
Name in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown
 Unknown


Template documentation (view)


More Cargo templates

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.
title
A title override for specific furniture items.
Default value: The title provided for name

Metadata

category
The category of the item as seen in the catalog.
Possible values: Housewares, Miscellaneous, Wall-mounted
series
The HHA series the item is a part of.
series-link
A link override for series
Default value: Value provided for series
set
The HHS set the item is a part of.
set-link
A link override for set
Default value: Value provided for set
theme1, theme2
Themes that the item belongs to. For furniture, this refers to HHA concepts.
function1, function2
The functionality of the item (e.g. bathtub, lighting, table). Functions are not an in-game attribute; Nookipedia uses them to distinguish and categorize items.
Possible values (expand as needed): Bed, Dresser, Instrument, Lighting, Mirror, Seating, Signage, Stereo, Storage, Table, Toilet
color1, color2
The colors for the item (for the purposes of feng shui). Each item has two. For items with variations, color1 and color2 should be set to those of the "default" (first) variation. Colors for variations can be defined in var1-color1/var1-color2, var2-color1/var2-color2, etc.
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}}.
height
The height of the item as a float (e.g. 1.0, 1.5). Generates an appropriately sized silhouette and line to show height relative to the player.
outdoor
Whether the item is considered an "outdoor" item by the game (this has an impact on island evaluations).
Currently not displayed in the template.
interactable
Boolean of whether the player can interact with the item.
Currently not displayed in the template.
sound
Whether the item produces (music or otherwise).
Currently not displayed in the template.
music
Whether the item plays music (if set to yes, sound should also be set to yes).
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.
version-added
The version of the game that the item was added to the game's files (regardless of whether or not the item is accessible without exploits).
Currently not displayed in the template.
version-unlocked
The version of the game that the item was made accessible to players.
Currently not displayed in the template.

Acquiring

availability1, availability2, availability3
How the item can be acquired. Value should match one of the options in Template:Availability.
availability1-season, availability2-season, availability3-season
If the corresponding availability is only during a particular season.
Possible values: Spring, Summer, Fall, Winter
diy-availability, diy-availability2, diy-availability3
If the item is produced using a DIY recipe, this parameter is used to note how the recipe can be acquired. Value should match one of the options in Template:Availability.
diy-availability-note, diy-availability2-note, diy-availability3-note
Notes that will appear in parentheses after the diy-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.
buy1-price, buy2-price
Cost to purchase, if applicable.
buy1-currency, buy2-currency
Currency for corresponding buy price.
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.
Variations
variation1, variation2, variation3, variation4, variation5 variation6, variation7, variation8
The name of each variation of an item.
var1-img, var2-img, var3-img, var4-img, var5-img var6-img, var7-img, var8-img
The image associated with each variant, not including the leading 'File:'. For items with both variants and patterns, these parameters should contain images for each variant using the first (default) pattern.
var1-color1, var2-color1, var3-color1, var4-color1, var5-color1 var6-color1, var7-color1, var8-color1
The first color associated with each variant.
var1-color2, var2-color2, var3-color2, var4-color2, var5-color2 var6-color2, var7-color2, var8-color2
The second color associated with each variant. Should be left blank if a variant can also has a pattern, as the second color is derived from the pattern.
Patterns
pattern1, pattern2, pattern3, pattern4, pattern5, pattern6, pattern7, pattern8
The name of each pattern that can be applied to an item as a customization.
pat1-img, pat2-img, pat3-img, pat4-img, pat5-img, pat6-img, pat7-img, pat8-img
The image associated with each of the above patterns.
pat1-color1, pat2-color1, pat3-color1, pat4-color1, pat5-color1 pat6-color1, pat7-color1, pat8-color1
The first color associated with each pattern.
pat1-color2, pat2-color2, pat3-color2, pat4-color2, pat5-color2 pat6-color2, pat7-color2, pat8-color2
The second color associated with each pattern. Should be left blank if a pattern can also has a variation.

Other

notes
Any additional notes (special properties, glitches, attribution, etc.).
max-length
Optional parameter that can be used to force the 2-column or 3-column display of the item name translations. The default value is 30. Increasing the value creates a tendency towards a 3-column display, decreasing it, a 2-column display.