Difference between revisions of "Template:WWFurniture"

From Nookipedia, the Animal Crossing wiki
(hiding HRA genre if none is found)
(Adding parameter for whether it can be transferred to CF via the Moving Van)
(20 intermediate revisions by 4 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 42: Line 40:
 
|notes = String
 
|notes = String
 
|reorderable = Boolean
 
|reorderable = Boolean
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|Wild World|''Wild World''}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{WWLang/CargoAttach}}{{#cargo_store:
+
|moving_van = 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 57: Line 56:
 
|color1 = {{{color1|}}}
 
|color1 = {{{color1|}}}
 
|color2 = {{{color2|}}}
 
|color2 = {{{color2|}}}
|lucky = {{#if: {{{lucky|}}} | Yes | No }}
+
|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 70:
 
|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|}}}
|reorderable = {{#if: {{{reorderable|}}} | Yes | No }}
+
|reorderable = {{{reorderable|}}}
 +
|moving_van = {{{moving-van|}}}
 
|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 94:
 
|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 116:
  
 
  | 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
  | data2            = {{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}} {{#if: {{{availability-other|}}} | <div class="mw-collapsible mw-collapsed" style="width:100%">
+
  | data2            = {{#if:{{{availability1|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}}
Also available from...
 
<div class="mw-collapsible-content">
 
{{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }}
 
</div>
 
</div> | }}
 
  
 
  | label3          = [[Group|Rarity group]]
 
  | label3          = [[Group|Rarity group]]
Line 134: Line 133:
 
  | 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>
 +
 
 +
| label9          = {{#if:{{{num|}}}|Transferable to {{CF|short|nolink}} catalog}}
 +
| data9            = {{#if:{{{num|}}}|{{#if:{{{moving-van|}}}|{{{moving-van|}}}|Unknown}}}}
  
 
  | 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|delimiter=|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|delimiter=|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|delimiter=|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|delimiter=|default=}}{{#cargo_query:tables=nl_furniture|fields=CONCAT("[[Item:", nl_furniture.en_name, " (New Leaf)|''New Leaf'' (", nl_furniture.en_name, ")]]<br />")|where=nl_furniture.identifier="{{{identifier|}}}"|delimiter=|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|}}}"|delimiter=|default=}}{{#cargo_query:tables=nh_interior|fields=CONCAT("[[Item:", nh_interior.en_name, " (New Horizons)|''New Horizons'' (", nh_interior.en_name, ")]]<br />")|where=nh_interior.identifier="{{{identifier|}}}"|delimiter=|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 17:20, December 20, 2023

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   × 
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.