Difference between revisions of "Template:PGFurniture"

From Nookipedia, the Animal Crossing wiki
(Fixing furniture category usage)
(Adding identifier table)
(30 intermediate revisions by 3 users not shown)
Line 23: Line 23:
 
|rarity_group = String
 
|rarity_group = String
 
|hra_base = Integer
 
|hra_base = Integer
 +
|hra_wall_reduction = Boolean
 
|color = String
 
|color = String
 
|lucky = Boolean
 
|lucky = Boolean
|function = String
 
 
|has_surface = Boolean
 
|has_surface = Boolean
 
|buy = Integer
 
|buy = Integer
Line 59: Line 59:
 
|length = Integer
 
|length = Integer
 
|width = Integer
 
|width = Integer
 +
|length_ique = Integer
 
|interactable = Boolean
 
|interactable = Boolean
 
|interactivity = String
 
|interactivity = String
Line 70: Line 71:
 
|universal_code = String
 
|universal_code = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{#cargo_store:
+
}}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#invoke:Items|italicizeGameInTitle|{{SUBPAGENAME}}}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{PGLang/CargoAttach}}{{PGIdentifier/CargoAttach}}{{#cargo_store:
 
_table=pg_furniture
 
_table=pg_furniture
 
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
 
|identifier = {{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Animal Crossing)|}}}}}
Line 94: Line 95:
 
|rarity_group = {{{rarity-group|}}}
 
|rarity_group = {{{rarity-group|}}}
 
|hra_base = {{{hra-points|}}}
 
|hra_base = {{{hra-points|}}}
 +
|hra_wall_reduction = {{{hra-wall-reduction|}}}
 
|color = {{{color|}}}
 
|color = {{{color|}}}
 
|lucky = {{{lucky|}}}
 
|lucky = {{{lucky|}}}
|function = {{{function|}}}
 
 
|has_surface = {{{has-surface|}}}
 
|has_surface = {{{has-surface|}}}
 
|buy = {{{buy|}}}
 
|buy = {{{buy|}}}
Line 129: Line 130:
 
|availability_ique_other_note = {{{availability-ique-other-note|}}}
 
|availability_ique_other_note = {{{availability-ique-other-note|}}}
 
|length = {{{length|}}}
 
|length = {{{length|}}}
 +
|length_ique = {{#if:{{{length-ique|}}}|{{{length-ique|}}}|{{{length|}}}}}
 
|width = {{{width|}}}
 
|width = {{{width|}}}
 
|interactable = {{{interactable|}}}
 
|interactable = {{{interactable|}}}
Line 151: Line 153:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|zh_name = {{{zh-name|}}}
 
|zh_name = {{{zh-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=pg_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>(Animal Crossing)|}}}}}}}}
+
  | 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|}}}{{{interactivity|}}}|<span style{{=}}"display:inline-block;">|}}{{#if:{{{collection|}}}|[[{{{collection-link|{{{collection|}}}}}}|{{{collection|}}}]]}}{{#if:{{{interactivity|}}}|{{#if:{{{collection|}}}|&nbsp;&nbsp;{{Colorshow|dcab00|'''{{!}}'''}}&nbsp;&nbsp;}}{{#ifeq:{{{interactivity|}}}|NES game|{{#if:{{{num-pg|}}}{{{num-e-plus|}}}{{{in-pg|}}}{{{in-e-plus|}}}|NES game|Famicom game}}|{{{interactivity|}}}}}}}{{#if:{{{collection|}}}{{{interactivity|}}}|</span>|}}
  | lefticon        = [[File:Furniture PG Inv Icon.png|Type of furniture|sub|class=sprite|link=]]
+
  | lefticon        = [[File:Furniture PG Inv Icon.png|Type of furniture|sub|class=sprite|link=Furniture/First-generation Animal Crossing]]
 
  | righticon        = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-pg|}}}}}'''|&nbsp;}}{{#if:{{{num-dnm|}}}{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|{{Note|{{#if:{{{num-pg|}}}|{{PG}} catalog number<nowiki>;</nowiki>&#32;}}{{#if:{{{num-dnm|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-dnm|}}}}} in {{DnM}}{{#if:{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-plus|}}}}} in {{DnM+}}{{#if:{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-e-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-e-plus|}}}}} in {{DnMe+}}{{#if:{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-ique|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-ique|}}}}} in {{iQue}}}}}}}}
 
  | righticon        = {{#if:{{{num-pg|}}}|'''<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-pg|}}}}}'''|&nbsp;}}{{#if:{{{num-dnm|}}}{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|{{Note|{{#if:{{{num-pg|}}}|{{PG}} catalog number<nowiki>;</nowiki>&#32;}}{{#if:{{{num-dnm|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-dnm|}}}}} in {{DnM}}{{#if:{{{num-plus|}}}{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-plus|}}}}} in {{DnM+}}{{#if:{{{num-e-plus|}}}{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-e-plus|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-e-plus|}}}}} in {{DnMe+}}{{#if:{{{num-ique|}}}|<nowiki>;</nowiki>&#32;}}}}{{#if:{{{num-ique|}}}|<nowiki>#</nowiki>{{#invoke:formatnum|main|lang=en|{{{num-ique|}}}}} in {{iQue}}}}}}}}
  
  | image            = [[File:{{{image|}}}|200px|{{{name|}}}]]
+
  | image            = [[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 
  | caption          =  
 
  | caption          =  
  
Line 173: Line 180:
 
  | 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>}}
 
  | 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>}}
  
| label3 =  
+
| label3 =  
 
{{#if: {{{availability-dnm|}}}
 
{{#if: {{{availability-dnm|}}}
| {{#switch: {{{availability-dnm}}}
+
    |{{#if: {{{num-ique|}}}
| {{{availability-plus}}} = {{#ifeq: {{{availability-plus}}} | {{{availability-pg}}}
+
        |Obtain via:<br>({{DnM|shortest}}/{{iQue|shortest}})
| {{#ifeq: {{{availability-pg}}} | {{{availability-e-plus}}}
+
        |Obtain via:<br>({{DnM|shortest}})
| Obtain via:<br>(all versions)
+
    }}
| Obtain via:<br>({{DnM|shortest}}/{{DnM+|shortest}}/<br>{{PG|shortest}})
+
    |{{#if: {{{num-ique|}}}
}}
+
        |Obtain via:<br>({{iQue|shortest}})
| {{#ifeq: {{{availability-plus}}} | {{{availability-e-plus}}}
+
    }}  
| Obtain via:<br>({{DnM|shortest}}/{{DnM+|shortest}}/{{DnMe+|shortest}})
 
| Obtain via:<br>({{DnM|shortest}}/{{DnM+|shortest}})
 
}}
 
}}
 
| Obtain via:<br>({{DnM|shortest}})
 
}}
 
 
}}
 
}}
  | data3 = {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm|}}}}}
+
 
| label4 =
+
  | data3 =  
{{#if: {{{availability-plus|}}}
+
{{#if: {{{availability-dnm|}}}
| {{#switch: {{{availability-plus}}}
+
    | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm|}}}}} {{#if: {{{availability-dnm-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm-other|}}}}}|}}
| {{{availability-dnm}}} =
+
    | {{#if: {{{availability-ique|}}}
| {{{availability-pg}}} = {{#ifeq: {{{availability-pg}}} | {{{availability-e-plus}}}
+
        | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-ique|}}}}} {{#if: {{{availability-ique-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-ique-other|}}}}}|}}
| Obtain via:<br>({{DnM+|shortest}}/{{PG|shortest}}/{{DnMe+|shortest}})
+
    }}
| Obtain via:<br>({{DnM+|shortest}}/{{PG|shortest}})
 
}}
 
| {{{availability-e-plus}}} = Obtain via:<br>({{DnM+|shortest}}/{{DnMe+|shortest}})
 
| Obtain via:<br>({{DnM+|shortest}})
 
}}
 
}}
 
| data4 = {{#if: {{{availability-plus|}}}
 
| {{#switch: {{{availability-plus}}}
 
| {{{availability-dnm}}} =
 
| {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus|}}}}}
 
}}
 
 
}}
 
}}
| label5 =
+
 
{{#if: {{{availability-pg|}}}
+
  | label4 =  
| {{#switch: {{{availability-pg}}}
+
{{#if: {{{availability-plus|}}}
| {{{availability-dnm}}} = {{#ifeq: {{{availability-pg}}} | {{{availability-plus}}} || Obtain via:<br>({{PG|shortest}})}}
+
        | {{#switch: {{{availability-plus}}}{{{availability-plus-other|}}}
| {{{availability-plus}}} =
+
            | {{{availability-pg}}}{{{availability-pg-other|}}} =  
| {{{availability-e-plus}}} = Obtain via:<br>({{PG|shortest}}/{{DnMe+|shortest}})
+
            {{#ifeq: {{{availability-plus}}}{{{availability-plus-other|}}} | {{{availability-e-plus}}}{{{availability-e-plus-other|}}}
| Obtain via:<br>({{PG|shortest}})
+
                | Obtain via:<br>({{DnM+|shortest}}/{{PG|shortest}}/{{nowrap|{{DnMe+|shortest}}}})
}}
+
                | Obtain via:<br>({{DnM+|shortest}}/{{PG|shortest}})
 +
            }}
 +
            | {{{availability-e-plus}}}{{{availability-e-plus-other|}}} = Obtain via:<br>({{DnM+|shortest}}/{{DnMe+|shortest}})
 +
            | Obtain via:<br>({{DnM+|shortest}})
 +
        }}
 
}}
 
}}
  | data5 =  
+
 
 +
  | data4 =
 +
{{#if: {{{availability-plus|}}}
 +
    | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus|}}}}}{{#if: {{{availability-plus-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus-other|}}}}}|}}
 +
}}
 +
 
 +
 
 +
| label5 =  
 
{{#if: {{{availability-pg|}}}
 
{{#if: {{{availability-pg|}}}
| {{#switch: {{{availability-pg}}}
+
    | {{#switch: {{{availability-pg}}}{{{availability-pg-other|}}}
| {{{availability-dnm}}} = {{#ifeq: {{{availability-pg}}} | {{{availability-plus}}}||{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}}}
+
        | {{{availability-plus}}}{{{availability-plus-other|}}} =
| {{{availability-plus}}} =
+
        | {{{availability-e-plus}}}{{{availability-e-plus-other|}}} = Obtain via:<br>({{PG|shortest}}/{{DnMe+|shortest}})
| {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}
+
        | Obtain via:<br>({{PG|shortest}})
}}
+
    }}
 +
}}
 +
 
 +
| data5  =
 +
{{#if: {{{availability-pg|}}}
 +
    |{{#switch: {{{availability-pg}}}{{{availability-pg-other|}}}
 +
        | {{{availability-plus}}}{{{availability-plus-other|}}} =
 +
        | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}{{#if: {{{availability-pg-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg-other|}}}}}|}}
 +
    }}
 
}}
 
}}
| label6 =
+
 
 +
 
 +
| label6 =  
 
{{#if: {{{availability-e-plus|}}}
 
{{#if: {{{availability-e-plus|}}}
| {{#switch: {{{availability-e-plus}}}
+
    | {{#switch: {{{availability-e-plus}}}{{{availability-e-plus-other|}}}
| {{{availability-dnm}}}
+
        | {{{availability-plus}}}{{{availability-plus-other|}}} =
| {{{availability-plus}}}
+
        | {{{availability-pg}}}{{{availability-pg-other|}}} =
| {{{availability-pg}}} =
+
        | Obtain via:<br>({{DnMe+|shortest}})
| Obtain via:<br>({{DnMe+|shortest}})
+
    }}
}}
+
}}
}}
+
 
  | data6 =  
+
  | data6 =
{{#if: {{{availability-e-plus|}}}
+
{{#if: {{{availability-e-plus|}}}
| {{#switch: {{{availability-e-plus}}}
+
    |{{#switch: {{{availability-e-plus}}}{{{availability-e-plus-other|}}}
| {{{availability-dnm}}}
+
    | {{{availability-plus}}}{{{availability-plus-other|}}} =
| {{{availability-plus}}}
+
        | {{{availability-pg}}}{{{availability-pg-other|}}} =
| {{{availability-pg}}} =
+
    | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus|}}}}}{{#if: {{{availability-e-plus-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus-other|}}}}}|}}
| {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus|}}}}}
+
    }}
}}
 
 
}}
 
}}
 +
 
  | label7          = [[Group|Rarity group]]
 
  | label7          = [[Group|Rarity group]]
  | data7            = {{#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}}
+
  | data7            = {{#if: {{{rarity-group|}}} | {{{rarity-group|Unknown}}} | }}
  
 
  | label8          = [[Happy Home Academy|HRA]] points
 
  | label8          = [[Happy Home Academy|HRA]] points
 
  | data8          = {{{hra-points|Unknown}}}
 
  | data8          = {{{hra-points|Unknown}}}
  
  | label9          = [[Fêng shui|Feng shui]]
+
  | label9         = HRA penalty if facing wall
  | data9           = {{#if: {{{color|}}} | [[Furniture/Animal Crossing/{{{color|}}}|{{color|{{{color|}}}}}]] | None}}
+
| data9          = {{{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.}}|}}
 +
 
 +
| label10           = [[Fêng shui|Feng shui]]
 +
  | data10           = {{#if: {{{color|}}} | [[Furniture/First-generation Animal Crossing/{{{color|}}}|{{color|{{{color|}}}}}]] | None}}
  
 
  | widebottomlabel  = Audio
 
  | widebottomlabel  = Audio
Line 267: Line 281:
 
  | languages        = Names
 
  | languages        = Names
 
  | ja-name          = {{{ja-name|Unknown}}}
 
  | ja-name          = {{{ja-name|Unknown}}}
  | zh-name          = {{#if:{{{num-dnm|}}}|{{{zh-name|Unknown}}}|N/A}}
+
  | zh-name          = {{#if:{{{num-ique|}}}|{{{zh-name|Unknown}}}|N/A}}
 
  | fr-name          = {{#if:{{{fr-name|}}}|{{{fr-name|Unknown}}}|N/A}}
 
  | fr-name          = {{#if:{{{fr-name|}}}|{{{fr-name|Unknown}}}|N/A}}
 
  | es-name          = {{#if:{{{es-name|}}}|{{{es-name|Unknown}}}|N/A}}
 
  | es-name          = {{#if:{{{es-name|}}}|{{{es-name|Unknown}}}|N/A}}
Line 279: Line 293:
 
  | ru-name          = N/A
 
  | ru-name          = N/A
 
}}
 
}}
<includeonly>{{#if:{{{num-dnm|}}}|[[Category:Doubutsu no Mori furniture]]}}
+
<includeonly>[[Category:First-generation Animal Crossing furniture]]{{#if:{{{num-dnm|}}}|[[Category:Doubutsu no Mori furniture]]}}
 
{{#if:{{{in-dnm|}}}|[[Category:Doubutsu no Mori furniture]]}}
 
{{#if:{{{in-dnm|}}}|[[Category:Doubutsu no Mori furniture]]}}
 
{{#if:{{{num-plus|}}}|[[Category:Doubutsu no Mori+ furniture]]}}
 
{{#if:{{{num-plus|}}}|[[Category:Doubutsu no Mori+ furniture]]}}
Line 288: Line 302:
 
{{#if:{{{num-ique|}}}|[[Category:Dòngwù Sēnlín furniture]]}}
 
{{#if:{{{num-ique|}}}|[[Category:Dòngwù Sēnlín furniture]]}}
 
{{#if:{{{in-ique|}}}|[[Category:Dòngwù Sēnlín furniture]]}}
 
{{#if:{{{in-ique|}}}|[[Category:Dòngwù Sēnlín 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-other|}}} | {{#ifeq: {{{availability-other|}}} | Unobtainable | [[Category:Unobtainable items]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}}}{{#if: {{{availability-dnm|}}} | {{#ifeq: {{{availability-dnm|}}} | Unobtainable | [[Category:Unobtainable items in Doubutsu no Mori]] | {{#if:{{{availability-dnm-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-dnm-other|}}}}}}}{{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-dnm|}}}}}}}}}{{#if: {{{availability-plus|}}} | {{#ifeq: {{{availability-plus|}}} | Unobtainable | [[Category:Unobtainable items in Doubutsu no Mori+]] | {{#if:{{{availability-plus-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-plus-other|}}}}}}}{{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-plus|}}}}}}}}}{{#if: {{{availability-pg|}}} | {{#ifeq: {{{availability-pg|}}} | Unobtainable | [[Category:Unobtainable items in Animal Crossing]] | {{#if:{{{availability-pg-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-pg-other|}}}}}}}{{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-pg|}}}}}}}}}{{#if: {{{availability-e-plus|}}} | {{#ifeq: {{{availability-e-plus|}}} | Unobtainable | [[Category:Unobtainable items in Doubutsu no Mori e+]] | {{#if:{{{availability-e-plus-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-e-plus-other|}}}}}}}{{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-e-plus|}}}}}}}}}{{#if: {{{availability-ique|}}} | {{#ifeq: {{{availability-ique|}}} | Unobtainable | [[Category:Unobtainable items in Dòngwù Sēnlín]] | {{#if:{{{availability-ique-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-ique-other|}}}}}}}{{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-ique|}}}}}}}}}</includeonly><noinclude>{{clear}}
+
{{#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-other|}}} | {{#ifeq: {{{availability-other|}}} | Unobtainable | [[Category:Unobtainable items]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-other|}}}}}}}}}{{#if: {{{availability-dnm|}}} | {{#ifeq: {{{availability-dnm|}}} | Unobtainable | [[Category:Unobtainable items in Doubutsu no Mori]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-dnm|}}}}}{{#if:{{{availability-dnm-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-dnm-other|}}}}}}}}}}}{{#if: {{{availability-plus|}}} | {{#ifeq: {{{availability-plus|}}} | Unobtainable | [[Category:Unobtainable items in Doubutsu no Mori+]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-plus|}}}}}{{#if:{{{availability-plus-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-plus-other|}}}}}}}}}}}{{#if: {{{availability-pg|}}} | {{#ifeq: {{{availability-pg|}}} | Unobtainable | [[Category:Unobtainable items in Animal Crossing]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-pg|}}}}}{{#if:{{{availability-pg-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-pg-other|}}}}}}}}}}}{{#if: {{{availability-e-plus|}}} | {{#ifeq: {{{availability-e-plus|}}} | Unobtainable | [[Category:Unobtainable items in Doubutsu no Mori e+]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-e-plus|}}}}}{{#if:{{{availability-e-plus-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-e-plus-other|}}}}}}}}}}}{{#if: {{{availability-ique|}}} | {{#ifeq: {{{availability-ique|}}} | Unobtainable | [[Category:Unobtainable items in Dòngwù Sēnlín]] | {{#invoke: Items| outputAvailabilitiesCategoriesFromList | {{{availability-ique|}}}}}{{#if:{{{availability-ique-other|}}}|{{#invoke: Items| outputAvailabilitiesCategoriesFromList |{{{availability-ique-other|}}}}}}}}}}}</includeonly><noinclude>{{clear}}
  
 
== Notes ==
 
== Notes ==

Revision as of 10:36, November 30, 2022

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

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

Notes



Template documentation (view)


More Cargo templates

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 the num_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.