Difference between revisions of "Template:WWFurniture"

From Nookipedia, the Animal Crossing wiki
(Creating)
 
m (Linking rarity group)
(15 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
|genre1 = String
 
|genre1 = String
 
|genre2 = String
 
|genre2 = String
 +
|category = String
 
|hra_base = Integer
 
|hra_base = Integer
 
|color1 = String
 
|color1 = String
 
|color2 = String
 
|color2 = String
 
|lucky = Boolean
 
|lucky = Boolean
 +
|facing_wall_reduction = Boolean
 
|function = String
 
|function = String
 
|has_surface = Boolean
 
|has_surface = Boolean
Line 51: Line 53:
 
|genre1 = {{{genre1|}}}
 
|genre1 = {{{genre1|}}}
 
|genre2 = {{{genre2|}}}
 
|genre2 = {{{genre2|}}}
 +
|category = {{{category|}}}
 
|hra_base = {{{hra-points|}}}
 
|hra_base = {{{hra-points|}}}
 
|color1 = {{{color1|}}}
 
|color1 = {{{color1|}}}
 
|color2 = {{{color2|}}}
 
|color2 = {{{color2|}}}
|lucky = {{{lucky|}}}
+
|lucky = {{#if: {{{lucky|}}} | Yes | No }}
 +
|facing_wall_reduction = {{#if: {{{facing-wall-reduction|}}} | Yes | No }}
 
|function = {{{function|}}}
 
|function = {{{function|}}}
|has_surface = {{{has-surface|}}}
+
|has_surface = {{#if: {{{has-surface|}}} | Yes | No }}
 
|buy = {{{buy|}}}
 
|buy = {{{buy|}}}
 
|sell = {{{sell|}}}
 
|sell = {{{sell|}}}
Line 71: Line 75:
 
|length = {{{length|}}}
 
|length = {{{length|}}}
 
|width = {{{width|}}}
 
|width = {{{width|}}}
|interactable = {{{interactable|}}}
+
|interactable = {{#if: {{{interactivity|}}} | Yes | No }}
 
|interactivity = {{{interactivity|}}}
 
|interactivity = {{{interactivity|}}}
|animated = {{{animated|}}}
+
|animated = {{#if: {{{animation-activation|}}} | Yes | No }}
 
|animation_activation = {{{animation-activation|}}}
 
|animation_activation = {{{animation-activation|}}}
|sound = {{{sound|}}}
+
|sound = {{#if: {{{sound-activation|}}} | Yes | No }}
 
|sound_activation = {{{sound-activation|}}}
 
|sound_activation = {{{sound-activation|}}}
|placeable_surface = {{{placeable-surface|}}}
+
|placeable_surface = {{#if: {{{placeable-surface|}}} | Yes | No }}
|walkable = {{{walkable|}}}
+
|walkable = {{#if: {{{walkable|}}} | Yes | No }}
 
|universal_code = {{{universal-code|}}}
 
|universal_code = {{{universal-code|}}}
 
|notes = {{{notes|}}}
 
|notes = {{{notes|}}}
Line 99: Line 103:
 
  | righticon        =  
 
  | righticon        =  
  
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
+
  | image            = [[File:{{{image|{{{name|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}} WW Model.png}}}|200px|{{{name|}}}]]
 
  | caption          =  
 
  | caption          =  
  
Line 111: Line 115:
  
 
  | 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|}}}}}}}
+
  | 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%">
 +
Also available from...
 +
<div class="mw-collapsible-content">
 +
{{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }}
 +
</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(s)
+
  | label4          = [[Happy Home Academy|HRA]] genre{{#if:{{{genre2|}}}|s}}
  | data4            = {{{hra-points|Unknown}}}
+
  | data4            = [[Furniture/Wild World/{{{genre1|}}}|{{{genre1|}}}]]{{#if:{{{genre2|}}}|&nbsp;/&nbsp;[[Furniture/Wild World/{{{genre2|}}}|{{{genre2|}}}]]}}
  
  | label4           = [[Happy Home Academy|HRA]] points
+
  | label5           = HRA category
  | data4           = {{{hra-points|Unknown}}}
+
  | data5           = {{#if:{{{category|}}}|[[{{{category|}}}]]|None}}
  
  | label4           = Colors
+
  | label6          = HRA points
  | data4           = <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>
+
| data6            = {{{hra-points|Unknown}}}
 +
 
 +
| label7           = Colors
 +
  | 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>
  
 
  | widebottomlabel  = Audio
 
  | widebottomlabel  = Audio
Line 132: Line 144:
  
 
  | widebottomlabel3 = In other games
 
  | widebottomlabel3 = In other games
  | widebottomdata3  = {{#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=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        = Name
Line 147: Line 159:
 
  | 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]]</includeonly><noinclude>{{clear}}
 
== Notes ==
 
== Notes ==
 
{{Note list}}
 
{{Note list}}

Revision as of 21:59, August 23, 2021

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

  WWFurniture  
File:WWFurniture WW Model.png
Buy price Sell price
Not for sale Cannot be sold
Size
.0 x .0   × 
Obtain via
Rarity group None
HRA genre [[Furniture/Wild World/|]]
HRA category None
HRA points Unknown
Colors
Name 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.