Difference between revisions of "Template:NLFurniture"

From Nookipedia, the Animal Crossing wiki
(Adding formatnum module to num parameters)
m (Text replacement - "color-class" to "colorclass")
(15 intermediate revisions by 4 users not shown)
Line 18: Line 18:
 
|rarity_group = String
 
|rarity_group = String
 
|hha_base = Integer
 
|hha_base = Integer
|color1 = String
 
|color2 = String
 
 
|lucky = Boolean
 
|lucky = Boolean
 
|lucky_season = String
 
|lucky_season = String
Line 45: Line 43:
 
|sell_nook = Integer
 
|sell_nook = Integer
 
|sell_leila = Integer
 
|sell_leila = Integer
 +
|point_requirement = Integer
 +
|savings_requirement = Integer
 
|availability1 = String
 
|availability1 = String
 
|availability1_note = String
 
|availability1_note = String
Line 82: Line 82:
 
|catalog_num = {{{num|}}}
 
|catalog_num = {{{num|}}}
 
|catalog_num_hhd = {{{num-hhd|}}}
 
|catalog_num_hhd = {{{num-hhd|}}}
|in_na = {{{in-na|}}}
+
|in_na = {{#if:{{{in-na|}}}|Yes|No}}
|in_eu = {{{in-eu|}}}
+
|in_eu = {{#if:{{{in-eu|}}}|Yes|No}}
|in_jp = {{{in-jp|}}}
+
|in_jp = {{#if:{{{in-jp|}}}|Yes|No}}
|in_ko = {{{in-ko|}}}
+
|in_ko = {{#if:{{{in-ko|}}}|Yes|No}}
 
|audio = {{{audio|}}}
 
|audio = {{{audio|}}}
 
|collection = {{{collection|}}}
 
|collection = {{{collection|}}}
Line 95: Line 95:
 
|rarity_group = {{{rarity-group|}}}
 
|rarity_group = {{{rarity-group|}}}
 
|hha_base = {{{hha-points|}}}
 
|hha_base = {{{hha-points|}}}
|color1 = {{{color1|}}}
 
|color2 = {{{color2|}}}
 
 
|lucky = {{{lucky|}}}
 
|lucky = {{{lucky|}}}
 
|lucky_season = {{#if:{{{lucky|}}}|{{{lucky-season|All year}}}|}}
 
|lucky_season = {{#if:{{{lucky|}}}|{{{lucky-season|All year}}}|}}
Line 122: Line 120:
 
|sell_nook = {{{sell-nook|}}}
 
|sell_nook = {{{sell-nook|}}}
 
|sell_leila = {{{sell-leila|}}}
 
|sell_leila = {{{sell-leila|}}}
 +
|point_requirement = {{{point-requirement|}}}
 +
|savings_requirement = {{{savings-requirement|}}}
 
|availability1 = {{{availability1|}}}
 
|availability1 = {{{availability1|}}}
 
|availability1_note = {{{availability1-note|}}}
 
|availability1_note = {{{availability1-note|}}}
Line 148: Line 148:
 
|variation_total = {{#if:{{{variation1|}}}|{{#expr:1+{{#if:{{{variation2|}}}|1|0}}+{{#if:{{{variation3|}}}|1|0}}+{{#if:{{{variation4|}}}|1|0}}+{{#if:{{{variation5|}}}|1|0}}+{{#if:{{{variation6|}}}|1|0}}+{{#if:{{{variation7|}}}|1|0}}+{{#if:{{{variation8|}}}|1|0}}}}|0}}
 
|variation_total = {{#if:{{{variation1|}}}|{{#expr:1+{{#if:{{{variation2|}}}|1|0}}+{{#if:{{{variation3|}}}|1|0}}+{{#if:{{{variation4|}}}|1|0}}+{{#if:{{{variation5|}}}|1|0}}+{{#if:{{{variation6|}}}|1|0}}+{{#if:{{{variation7|}}}|1|0}}+{{#if:{{{variation8|}}}|1|0}}}}|0}}
 
|pattern_total = {{#if:{{{pattern1|}}}|{{#expr:1+{{#if:{{{pattern2|}}}|1|0}}+{{#if:{{{pattern3|}}}|1|0}}+{{#if:{{{pattern4|}}}|1|0}}+{{#if:{{{pattern5|}}}|1|0}}+{{#if:{{{pattern6|}}}|1|0}}+{{#if:{{{pattern7|}}}|1|0}}+{{#if:{{{pattern8|}}}|1|0}}}}|0}}
 
|pattern_total = {{#if:{{{pattern1|}}}|{{#expr:1+{{#if:{{{pattern2|}}}|1|0}}+{{#if:{{{pattern3|}}}|1|0}}+{{#if:{{{pattern4|}}}|1|0}}+{{#if:{{{pattern5|}}}|1|0}}+{{#if:{{{pattern6|}}}|1|0}}+{{#if:{{{pattern7|}}}|1|0}}+{{#if:{{{pattern8|}}}|1|0}}}}|0}}
|ore_total = {{#if:{{{ore1|}}}|{{#expr:1+{{#if:{{{ore2|}}}|1|0}}+{{#if:{{{ore3|}}}|1|0}}+{{#if:{{{ore4|}}}|1|0}}+{{#if:{{{ore5|}}}|1|0}}+{{#if:{{{ore6|}}}|1|0}}|0}}
+
|ore_total = {{#if:{{{ore1|}}}|{{#expr:1+{{#if:{{{ore2|}}}|1|0}}+{{#if:{{{ore3|}}}|1|0}}+{{#if:{{{ore4|}}}|1|0}}+{{#if:{{{ore5|}}}|1|0}}+{{#if:{{{ore6|}}}|1|0}}}}|0}}
 
|custom_body_part = {{{custom-body-part|}}}
 
|custom_body_part = {{{custom-body-part|}}}
 
|custom_pattern_part = {{{custom-pattern-part|}}}
 
|custom_pattern_part = {{{custom-pattern-part|}}}
Line 259: Line 259:
 
|color1 = {{{color1|}}}
 
|color1 = {{{color1|}}}
 
|color2 = {{{color2|}}}
 
|color2 = {{{color2|}}}
}}}}}}}}<metakeywords>furniture, item, animal crossing, acnl, new leaf, acnlwa, nlwa, welcome amiibo</metakeywords></includeonly>{{Infobox 2.0
+
}}}}}}<metakeywords>furniture, item, animal crossing, acnl, new leaf, acnlwa, nlwa, welcome amiibo</metakeywords></includeonly>{{Infobox 2.0
 +
| colorclass      = color-series
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
Line 267: Line 268:
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''|&nbsp;}}{{#if:{{{num-hhd|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-hhd|}}}}}'''|&nbsp;}}
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num|}}}}}'''|&nbsp;}}{{#if:{{{num-hhd|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-hhd|}}}}}'''|&nbsp;}}
  
  | image            = {{#ifexist:File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}}{{#if:{{{pattern1|}}}| &nbsp;- {{#invoke:TitleCase|main|{{{pattern1|}}}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{#invoke:TitleCase|main|{{{pattern1|}}}}})}}}} NL Model.png|[[File:{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}}{{#if:{{{pattern1|}}}| &nbsp;- {{#invoke:TitleCase|main|{{{pattern1|}}}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{#invoke:TitleCase|main|{{{pattern1|}}}}})}}}} NL Model.png|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|[[File:Nia.png|128px|No image available|link=]]}}
+
  | image            = {{#ifexist:File:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}}{{#if:{{{pattern1|}}}| &nbsp;- {{#invoke:TitleCase|main|{{{pattern1|}}}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{#invoke:TitleCase|main|{{{pattern1|}}}}})}}}} NL Model.png}}}|[[File:{{{image|{{#invoke:TitleCase|main|{{{name|}}}}} {{#if:{{{variation1|}}}|({{#invoke:TitleCase|main|{{{variation1|}}}}}{{#if:{{{pattern1|}}}| &nbsp;- {{#invoke:TitleCase|main|{{{pattern1|}}}}}}})}}{{#if:{{{pattern1|}}}|{{#if:{{{variation1|}}}||({{#invoke:TitleCase|main|{{{pattern1|}}}}})}}}} NL Model.png}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]|[[File:{{{image|Nia.png}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]}}
 
  | caption          = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}}
 
  | caption          = {{#if:{{{variation1|}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}''' ({{{pattern1|}}})}}|{{Colorshow|666|Variation shown: '''{{{variation1|}}}'''}}}}|{{#if:{{{pattern1|}}}|{{Colorshow|666|Pattern shown: '''{{{pattern1|}}}'''}}|}}}}
  
Line 276: Line 277:
  
 
  | 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 294: Line 295:
  
 
  | label7          = HHA penalty if facing wall
 
  | label7          = HHA penalty if facing wall
  | data7            = {{{hha-wall-reduction|Unknown}}}{{#ifeq:{{{hha-wall-reduction|}}}|Yes|{{Note|If this item is facing a wall in the player's house, the HHA will deduct 100 points from the total score.}}|}}
+
  | data7            = {{{hha-wall-reduction|Unknown}}}{{#ifeq:{{{hha-wall-reduction|}}}|Yes|{{Note|If this item is facing a wall in the player's house, the HHA will deduct 100 points from the total score. If the player is doing a theme challenge, that penalty will increase to 10,000 points.}}|}}
  
 
  | label8          = Style
 
  | label8          = Style
Line 334: Line 335:
  
 
  | widebottomlabel6 = In other games
 
  | widebottomlabel6 = In other games
  | widebottomdata6  = {{#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=ww_furniture|fields=CONCAT("[[Item:", ww_furniture.en_name, " (Wild World)|''Wild World'' (", ww_furniture.en_name, ")]]<br />")|where=ww_furniture.identifier="{{{identifier|}}}"|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=}}
+
  | widebottomdata6  = {{#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=ww_furniture|fields=CONCAT("[[Item:", ww_furniture.en_name, " (Wild World)|''Wild World'' (", ww_furniture.en_name, ")]]<br />")|where=ww_furniture.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=cf_furniture|fields=CONCAT("[[Item:", cf_furniture.en_name, " (City Folk)|''City Folk'' (", cf_furniture.en_name, ")]]<br />")|where=cf_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=}}{{#cargo_query:tables=nh_clothing|fields=CONCAT("[[Item:", nh_clothing.en_name, " (New Horizons)|''New Horizons'' (", nh_clothing.en_name, ")]]<br />")|where=nh_clothing.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=nh_item|fields=CONCAT("[[Item:", nh_item.en_name, " (New Horizons)|''New Horizons'' (", nh_item.en_name, ")]]<br />")|where=nh_item.identifier="{{{identifier|}}}"|delimiter=|default=}}
  
 
  | languages        = Names
 
  | languages        = Names
Line 349: Line 350:
 
  | nl-name          = N/A
 
  | nl-name          = N/A
 
  | ru-name          = N/A
 
  | ru-name          = N/A
}}<includeonly>[[Category:New Leaf furniture]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}{{#if:{{{variation1|}}}{{{pattern1|}}}|[[Category:New Leaf customizable furniture]]}}{{#if: {{{collection|}}} | [[Category:{{#invoke:Collection|main|1={{{collection|}}}}}]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability1|}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability2|}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability3|}}}]]}}}}{{#if: {{{availability-rv|}}} |  {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-rv|}}}'s RV }}}}{{#if: {{{availability-other|}}} | {{#ifeq: {{{availability-other|}}} | Unobtainable | [[Category:Unobtainable items]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}}}</includeonly><noinclude>{{clear}}
+
}}<includeonly>[[Category:New Leaf furniture]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}{{#if:{{{variation1|}}}{{{pattern1|}}}|[[Category:New Leaf customizable furniture]]}}{{#if: {{{collection|}}} | [[Category:{{#invoke:Collection|main|1={{{collection|}}}}}]]}}{{#ifeq: {{{edible|}}} | Yes | [[Category:Food]]}}{{#if: {{{availability1|}}} | {{#ifeq:{{{availability1|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability1|}}}]]}}}}{{#if: {{{availability2|}}} | {{#ifeq:{{{availability2|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability2|}}}]]}}}}{{#if: {{{availability3|}}} | {{#ifeq:{{{availability3|}}}|Unobtainable|[[Category:Unobtainable items]]|[[Category:Acquired from {{{availability3|}}}]]}}}}{{#if: {{{availability-rv|}}} |  {{#invoke: Items| outputAvailabilitiesCategoriesFromList | type = RV | {{{availability-rv|}}} }}}}{{#if: {{{availability-other|}}} | {{#ifeq: {{{availability-other|}}} | Unobtainable | [[Category:Unobtainable items]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}}}</includeonly><noinclude>{{clear}}
 
<br><br>
 
<br><br>
 
{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]
 
{{Documentation}}[[Category:Cargo templates]][[Category:Item infoboxes]]
 
</noinclude>
 
</noinclude>

Revision as of 01:02, May 19, 2024

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

Nia.png
Buy price Sell price
Not for sale Cannot be sold
Size
.0 x .0   × 
Customize No customization options.
Rarity group None
HHA theme challenges None
HHA points Unknown
HHA penalty if facing wall Unknown
Style None
Variations
None
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 Unknown
 Unknown
 N/A



No documentation for Template:NLFurniture exists. Create it.