Difference between revisions of "Template:PGFurniture"
From Nookipedia, the Animal Crossing wiki
AlexBot2004 (talk | contribs) m |
PanchamBro (talk | contribs) (removing function usage in favor of interactivity; adding system to distinguish NES and Famicom game.) |
||
Line 26: | Line 26: | ||
|color = String | |color = String | ||
|lucky = Boolean | |lucky = Boolean | ||
− | |||
|has_surface = Boolean | |has_surface = Boolean | ||
|buy = Integer | |buy = Integer | ||
Line 99: | Line 98: | ||
|color = {{{color|}}} | |color = {{{color|}}} | ||
|lucky = {{{lucky|}}} | |lucky = {{{lucky|}}} | ||
− | |||
|has_surface = {{{has-surface|}}} | |has_surface = {{{has-surface|}}} | ||
|buy = {{{buy|}}} | |buy = {{{buy|}}} | ||
Line 159: | Line 157: | ||
| secondarycolor = 42 73 | | secondarycolor = 42 73 | ||
| title = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}} | | title = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}}}} | ||
− | | subtitleabove = {{#if:{{{collection|}}}{{{ | + | | subtitleabove = {{#if:{{{collection|}}}{{{interactivity|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}|{{{collection|}}}]]}}{{#if:{{{interactivity|}}}|{{#if:{{{collection|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{#ifeq:{{{interactivity|}}}|NES game|{{#if:{{{num-pg|}}}{{{num-e-plus|}}}{{{in-pg|}}}{{{in-e-plus|}}}|NES game|Famicom game}}|{{{interactivity|}}}}}}}{{#if:{{{collection|}}}{{{interactivity|}}}|</span>|}} |
| lefticon = [[File:Furniture PG Inv Icon.png|Type of furniture|sub|class=sprite|link=Furniture/First-generation Animal Crossing]] | | lefticon = [[File:Furniture PG Inv Icon.png|Type of furniture|sub|class=sprite|link=Furniture/First-generation Animal Crossing]] | ||
| righticon = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-pg|}}}}}'''| }}{{#if:{{{num-dnm|}}}{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|{{Note|{{#if:{{{num-pg|}}}|{{PG}} catalog number<nowiki>;</nowiki> }}{{#if:{{{num-dnm|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-dnm|}}}}} in {{DnM}}{{#if:{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-plus|}}}}} in {{DnM+}}{{#if:{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-e-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-e-plus|}}}}} in {{DnMe+}}{{#if:{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-ique|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-ique|}}}}} in {{iQue}}}}}}}} | | righticon = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-pg|}}}}}'''| }}{{#if:{{{num-dnm|}}}{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|{{Note|{{#if:{{{num-pg|}}}|{{PG}} catalog number<nowiki>;</nowiki> }}{{#if:{{{num-dnm|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-dnm|}}}}} in {{DnM}}{{#if:{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-plus|}}}}} in {{DnM+}}{{#if:{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-e-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-e-plus|}}}}} in {{DnMe+}}{{#if:{{{num-ique|}}}|<nowiki>;</nowiki> }}}}{{#if:{{{num-ique|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-ique|}}}}} in {{iQue}}}}}}}} |
Revision as of 09:07, November 23, 2022
This template defines the table "pg_furniture". View table.
| ||||||||
[[File:|200px|]] | ||||||||
Buy price | Sell price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Cannot be sold | |||||||
Size | .0 x .0
×
| |||||||
HRA points | Unknown | |||||||
HRA penalty if facing wall | Unknown | |||||||
Feng shui | None | |||||||
Appearances | ||||||||
Names in other languages
Unknown
N/A N/A N/A
N/A
N/A N/A N/A
N/A N/A N/A N/A |
Notes
Template documentation (view)
More Cargo templates |
---|
- For query instructions see our Cargo documentation.
Parameters
Names
en-name
- The English name of the item. Items only available in Japanese versions should have the translated name in this parameter.
- Default value: Item name in page title.
ja-name
- The Japanese name of the item. All items should have a Japanese names.
fr-name
- The French name of the item, if applicable. Only items in Animal Crossing have French names.
de-name
- The German name of the item, if applicable. Only items in Animal Crossing have German names.
it-name
- The Italian name of the item, if applicable. Only items in Animal Crossing have Italian names.
zh-name
- The Simplified Chinese name of the item, if applicable. Only items in Doubutsu no Mori have Chinese names.
es-name
- The Spanish name of the item, if applicable. Only items in Animal Crossing have Spanish names.
Metadata
series
- The HRA series the item is a part of, if applicable.
set
- The HRA set the item is a part of, if applicable.
theme
- Theme HRA theme the item is a part of, if applicable.
function
- The functionality of the item (e.g. clock, lighting, table), if applicable. Functions are not an in-game attribute; Nookipedia uses them to distinguish and categorize items.
color
- The fêng shui color of the item, if applicable.
hra-base
- The base Happy Room Academy score of item.
length
- The length of the item as a float (can be 1.0 or 2.0). Sources an image using {{Size}}.
width
- The width of the item as a float (can be 1.0 or 2.0). Sources an image using {{Size}}.
interactable
- Boolean of whether the player can interact with the item.
- Currently not displayed in the template.
sound
- Whether the item produces sound (music or otherwise).
- 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.
num-dnm
- The item's number in the catalog in Doubutsu no Mori, if applicable.
num-plus
- The item's number in the catalog in Doubutsu no Mori+, if applicable.
num-pg
- The item's number in the catalog in Animal Crossing, if applicable.
num-e-plus
- The item's number in the catalog in Doubutsu no Mori e+, if applicable.
Acquiring
availability1
- How the item can be acquired. Value should match one of the options in Template:Availability.
rarity-group
- The rarity group for items obtained from Tom Nook's store, if applicable. Automatically adds a note about how rarity groups work.
buy
- Cost to purchase in Bells, if applicable.
sell
- Sell price in Bells.
Internal data
id_dnm
- The item's internal hexadecimal ID in Doubutsu no Mori, if applicable.
id_plus
- The item's internal hexadecimal ID in Doubutsu no Mori+, if applicable.
id_pg
- The item's internal hexadecimal ID in Animal Crossing, if applicable.
id_e_plus
- The item's internal hexadecimal ID in Doubutsu no Mori e+, if applicable.
Other
num_display
- The catalog number to be displayed in the infobox. Should match the number in the game in the page title (e.g. Blue Bed (Animal Crossing) would have its
num_pg
value in this parameter, while Dharma (Doubutsu no Mori+ would use thenum_plus
value).
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.