Difference between revisions of "Template:PGFurniture"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Creating) |
SuperHamster (talk | contribs) (Implementing infobox) |
||
Line 40: | Line 40: | ||
|notes = String | |notes = String | ||
}} | }} | ||
+ | {{Infobox 2.0 | ||
+ | | primarycolor = 39 100 | ||
+ | | secondarycolor = 42 73 | ||
+ | | title = {{{name|}}} | ||
+ | | subtitleabove = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}| {{Colorshow|dcab00|'''{{!}}'''}} }}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}} | ||
+ | | lefticon = | ||
+ | | righticon = | ||
+ | |||
+ | | image = {{{image|}}} | ||
+ | | caption = | ||
+ | |||
+ | | leftlabel = Buy Price | ||
+ | | rightlabel = Sell Price | ||
+ | | leftdata = {{#if:{{{buy-price|}}}|{{Currency|Bells|{{{buy-price|}}}|short=yes}}|Not for sale}} | ||
+ | | rightdata = {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Unknown}} | ||
+ | |||
+ | | label = Size | ||
+ | | data = <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|{{{availability|<includeonly>[[Category:Animal Crossing items without availability]]</includeonly>}}}|note={{{availability-note|}}}}} | ||
+ | |||
+ | | label3 = Rarity Group | ||
+ | | data3 = {{{rarity-group|Unknown}}} {{Note|Each item belong in one of three rarity groups (A, B, or C), and each group is mapped to a rarity when town is created. For example, in one town Group A furniture may be common while in another town, Group A furniture will be rare.}} | ||
+ | |||
+ | | label4 = [[Happy Home Academy|HRA]] Points | ||
+ | | data4 = {{{hra-points|?}}} | ||
+ | |||
+ | | label5 = [[Feng Shui]] | ||
+ | | data5 = {{#if: {{{color|}}} | {{color|{{{color|}}}}} | None}} | ||
+ | |||
+ | | widebottomlabel = Notes | ||
+ | | widebottomdata = {{{notes|}}} | ||
+ | |||
+ | | languages = Name | ||
+ | | ja-name = {{{ja-name|}}} | ||
+ | | fr-name = {{{fr-name||}}} | ||
+ | | es-name = {{{es-name|}}} | ||
+ | | it-name = {{{it-name|}}} | ||
+ | | de-name = {{{de-name|}}} | ||
+ | }}<noinclude>{{clear}} | ||
+ | == Notes == | ||
+ | {{Note list}} | ||
+ | <br><br> | ||
+ | {{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]] | ||
+ | </noinclude> |
Revision as of 22:02, October 18, 2020
This template defines the table "pg_furniture". View table.
| ||||||||
Buy Price | Sell Price | |||||||
---|---|---|---|---|---|---|---|---|
Not for sale | Unknown | |||||||
Size |
0.0 × 0.0
| |||||||
Obtain via | ||||||||
Rarity Group | Unknown [nb 1] | |||||||
HRA Points | ? | |||||||
Feng Shui | None | |||||||
Name in other languages
Unknown
Unknown Unknown Unknown
Unknown
Unknown Unknown Unknown
Unknown Unknown Unknown Unknown |
Notes
- ↑ Each item belong in one of three rarity groups (A, B, or C), and each group is mapped to a rarity when town is created. For example, in one town Group A furniture may be common while in another town, Group A furniture will be rare.
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.