Difference between revisions of "Template:WWFurniture"

From Nookipedia, the Animal Crossing wiki
m
m
(19 intermediate revisions by 3 users not shown)
Line 15: Line 15:
 
|color2 = String
 
|color2 = String
 
|lucky = Boolean
 
|lucky = Boolean
|facing_wall_reduction = Boolean
+
|hra_wall_reduction = Boolean
 
|function = String
 
|function = String
 
|has_surface = Boolean
 
|has_surface = Boolean
Line 28: Line 28:
 
|availability_other = List (,) of String
 
|availability_other = List (,) of String
 
|availability_other_note = String
 
|availability_other_note = String
|plus_availability = String
 
|plus_availability_note = String
 
 
|length = Integer
 
|length = Integer
 
|width = Integer
 
|width = Integer
Line 40: Line 38:
 
|placeable_surface = Boolean
 
|placeable_surface = Boolean
 
|walkable = Boolean
 
|walkable = Boolean
|universal_code = String
 
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Wild World|''Wild World''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{#cargo_store:
+
|reorderable = Boolean
 +
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Wild World|''Wild World''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{WWIdentifier/CargoAttach}}{{#cargo_store:
 
_table=ww_furniture
 
_table=ww_furniture
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}
+
|identifier = {{{identifier|}}}
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
|en_name = {{{name|}}}
 
|catalog_num = {{{num|}}}
 
|catalog_num = {{{num|}}}
|image = {{#ifexist:File:{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}} WW Model.png}}}|{{{image|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}} WW Model.png}}}}}
+
|image = {{{image|}}}
 
|audio = {{{audio|}}}
 
|audio = {{{audio|}}}
 
|collection = {{{collection|}}}
 
|collection = {{{collection|}}}
Line 58: Line 56:
 
|color2 = {{{color2|}}}
 
|color2 = {{{color2|}}}
 
|lucky = {{{lucky|}}}
 
|lucky = {{{lucky|}}}
|facing_wall_reduction = {{#if: {{{facing-wall-reduction|}}} | Yes | No }}
+
|hra_wall_reduction = {{{hra-wall-reduction|}}}
 
|function = {{{function|}}}
 
|function = {{{function|}}}
|has_surface = {{#if: {{{has-surface|}}} | Yes | No }}
+
|has_surface = {{{has-surface|}}}
 
|buy = {{{buy|}}}
 
|buy = {{{buy|}}}
 
|sell = {{{sell|}}}
 
|sell = {{{sell|}}}
Line 71: Line 69:
 
|availability_other = {{{availability-other|}}}
 
|availability_other = {{{availability-other|}}}
 
|availability_other_note = {{{availability-other-note|}}}
 
|availability_other_note = {{{availability-other-note|}}}
|plus_availability = {{{plus-availability|}}}
 
|plus_availability_note = {{{plus-availability-note|}}}
 
 
|length = {{{length|}}}
 
|length = {{{length|}}}
 
|width = {{{width|}}}
 
|width = {{{width|}}}
|interactable = {{#if: {{{interactivity|}}} | Yes | No }}
+
|interactable = {{{interactivity|}}}
 
|interactivity = {{{interactivity|}}}
 
|interactivity = {{{interactivity|}}}
|animated = {{#if: {{{animation-activation|}}} | Yes | No }}
+
|animated = {{{animation-activation|}}}
 
|animation_activation = {{{animation-activation|}}}
 
|animation_activation = {{{animation-activation|}}}
|sound = {{#if: {{{sound-activation|}}} | Yes | No }}
+
|sound = {{{sound-activation|}}}
 
|sound_activation = {{{sound-activation|}}}
 
|sound_activation = {{{sound-activation|}}}
|placeable_surface = {{#if: {{{placeable-surface|}}} | Yes | No }}
+
|placeable_surface = {{{placeable-surface|}}}
|walkable = {{#if: {{{walkable|}}} | Yes | No }}
+
|walkable = {{{walkable|}}}
|universal_code = {{{universal-code|}}}
+
|reorderable = {{{reorderable|}}}
 
|notes = {{{notes|}}}
 
|notes = {{{notes|}}}
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
}}<!-- Cargo Store for different language names -->{{#cargo_store:
 
_table=ww_language_name
 
_table=ww_language_name
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}
+
|identifier = {{{identifier|}}}
|en_name = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
|en_name = {{{name|}}}
 +
|engb_name = {{{engb-name|{{{name|}}}}}}
 
|de_name = {{{de-name|}}}
 
|de_name = {{{de-name|}}}
 
|es_name = {{{es-name|}}}
 
|es_name = {{{es-name|}}}
Line 95: Line 92:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=ww_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = Furniture
 
}}}}</includeonly>{{Infobox 2.0
 
}}}}</includeonly>{{Infobox 2.0
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
  | subtitleabove    = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}}
+
  | subtitleabove    = {{#if:{{{collection|}}}{{{function|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}|{{{collection|}}}]]}}{{#if:{{{function|}}}|{{#if:{{{collection|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{{function|}}}}}{{#if:{{{collection|}}}{{{function|}}}|</span>|}}
  | lefticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
+
  | lefticon        = [[File:Furniture WW Icon.png|Type of furniture|sub|class=sprite|link=Furniture/Wild World]]
| righticon        = &nbsp;
+
| righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''|&nbsp;}}
  
  | image            = [[File:{{{image|{{{name|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}} WW Model.png}}}|200px|{{{name|}}}]]
+
  | image            = [[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 
  | caption          =  
 
  | caption          =  
  
Line 112: Line 114:
  
 
  | label            = Size
 
  | label            = Size
  | data            = <div style="font-size:.9em; padding:3px 0px;">{{Size|{{{width|}}}.0|{{{length|}}}.0}}&nbsp;{{{width|}}}&nbsp;×&nbsp;{{{length|}}}</div>
+
  | data            = <div style="font-size:.9em; padding:3px 0px;">{{Size|{{{length|}}}.0|{{{width|}}}.0}}&nbsp;{{{length|}}}&nbsp;×&nbsp;{{{width|}}}</div>
  
 
  | label2          = Obtain via
 
  | label2          = Obtain via
Line 122: Line 124:
 
</div> | }}
 
</div> | }}
  
  | label3          = Rarity group
+
  | label3          = [[Group|Rarity group]]
 
  | data3            = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown}}} {{Note|Each item belongs in one of three rarity groups (A, B, or C), and each group is mapped to a rarity when the town is created. For example, in one town Group A furniture may be common while in another town, Group A furniture will be rare.}} | None}}
 
  | data3            = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown}}} {{Note|Each item belongs in one of three rarity groups (A, B, or C), and each group is mapped to a rarity when the town is created. For example, in one town Group A furniture may be common while in another town, Group A furniture will be rare.}} | None}}
  
  | label4          = [[Happy Home Academy|HRA]] genre{{#if:{{{genre2|}}}|s}}
+
  | label4          = {{#if:{{{genre1|}}}|[[Happy Home Academy|HRA]] genre{{#if:{{{genre2|}}}|s}}}}
  | data4            = [[Furniture/Wild World/{{{genre1|}}}|{{{genre1|}}}]]{{#if:{{{genre2|}}}|&nbsp;/&nbsp;[[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}}
+
  | data4            = {{#if:{{{genre1|}}}|[[Furniture/Wild World/{{{genre1|}}}|{{{genre1|}}}]]{{#if:{{{genre2|}}}|&nbsp;/&nbsp;[[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}}}}
  
 
  | label5          = HRA category
 
  | label5          = HRA category
Line 134: Line 136:
 
  | data6            = {{{hra-points|Unknown}}}
 
  | data6            = {{{hra-points|Unknown}}}
  
  | label7          = Colors
+
  | label7           = HRA penalty if facing wall
  | data7           = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Furniture/Wild World/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]&nbsp;[[Furniture/Wild World/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]</div>
+
| data7            = {{{hra-wall-reduction|Unknown}}}{{#ifeq:{{{hra-wall-reduction|}}}|Yes|{{Note|If this item is facing a wall in the player's house, the HRA will deduct 800 points from the total score.}}|}}
 +
 
 +
| label8           = Colors
 +
  | data8           = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Furniture/Wild World/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]&nbsp;[[Furniture/Wild World/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]</div>
  
 
  | widebottomlabel  = Audio
 
  | widebottomlabel  = Audio
Line 144: Line 149:
  
 
  | widebottomlabel3 = In other games
 
  | widebottomlabel3 = In other games
  | widebottomdata3  = {{#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|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|default=}}{{#cargo_query:tables=nh_furniture|fields=CONCAT("[[Item:", nh_furniture.en_name, " (New Horizons)|''New Horizons'' (", nh_furniture.en_name, ")]]<br />")|where=nh_furniture.identifier="{{{identifier|}}}"|default=}}
+
  | widebottomdata3  = {{#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|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_pg=1|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Doubutsu no Mori e+)|''Doubutsu no Mori e+'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_e_plus=1 AND in_plus=0 AND in_pg=0|default=}}{{#cargo_query:tables=pg_furniture|fields=CONCAT("[[Item:", pg_furniture.en_name, " (Dòngwù Sēnlín)|''Dòngwù Sēnlín'' (", pg_furniture.en_name, ")]]<br />")|where=pg_furniture.identifier="{{{identifier|}}}" AND in_ique=1 AND in_dnm=0 AND in_plus=0 AND in_pg=0 AND in_e_plus=0|default=}}{{#cargo_query:tables=nh_furniture|fields=CONCAT("[[Item:", nh_furniture.en_name, " (New Horizons)|''New Horizons'' (", nh_furniture.en_name, ")]]<br />")|where=nh_furniture.identifier="{{{identifier|}}}"|default=}}
  
  | languages        = Name
+
  | languages        = Names
 
  | ja-name          = {{{ja-name|}}}
 
  | ja-name          = {{{ja-name|}}}
 
  | zh-name          = N/A
 
  | zh-name          = N/A
Line 159: Line 164:
 
  | nl-name          = N/A
 
  | nl-name          = N/A
 
  | ru-name          = N/A
 
  | ru-name          = N/A
}}<includeonly>[[Category:Wild World furniture]]</includeonly><noinclude>{{clear}}
+
}}<includeonly>[[Category:Wild World furniture]]{{#if: {{{collection|}}} | [[Category:{{#invoke:Collection|main|1={{{collection|}}}}}]]}}{{#if: {{{availability1|}}} | [[Category:Acquired from {{{availability1|}}}]]}}{{#if: {{{availability2|}}} | [[Category:Acquired from {{{availability2|}}}]]}}{{#if: {{{availability3|}}} | [[Category:Acquired from {{{availability3|}}}]]}}{{#if: {{{availability-other|}}} | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}</includeonly><noinclude>{{clear}}
 
== Notes ==
 
== Notes ==
 
{{Note list}}
 
{{Note list}}

Revision as of 11:38, November 30, 2022

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

Type of furniture  
[[File:|200px|]]
Buy price Sell price
Not for sale Cannot be sold
Size
.0 x .0   × 
Obtain via
Rarity group None
HRA category None
HRA points Unknown
HRA penalty if facing wall Unknown
Colors
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A

Notes



No documentation for Template:WWFurniture exists. Create it.