Difference between revisions of "Template:NLInterior"

From Nookipedia, the Animal Crossing wiki
(removing unnecessary and expensive #ifexists)
m (Text replacement - "'''Internal ID ({{NLWa|short}})''':" to "'''Internal ID ({{NLWa-small}})''':")
 
(12 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|identifier = String
 
|identifier = String
 
|en_name = String
 
|en_name = String
 +
|filename = String
 +
|internal_ID = String
 +
|internal_ID_NLWa = String
 
|catalog_num = Integer
 
|catalog_num = Integer
 
|in_na = Boolean
 
|in_na = Boolean
Line 49: Line 52:
 
|version_added = String
 
|version_added = String
 
|notes = String
 
|notes = String
}}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Leaf|''New Leaf''}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NLLang/CargoAttach}}
+
}}</noinclude><includeonly>{{#if:{{{nodisplaytitle|}}}||{{DISPLAYTITLE:{{#replace:{{SUBPAGENAME}}|New Leaf|''New Leaf''}}}}}}{{#ifeq:{{NAMESPACE}}|Item|<!--Attach to other tables -->{{NLLang/CargoAttach}}{{NLIdentifier/CargoAttach}}<!-- Cargo Store for interior data -->{{#cargo_store:
<!-- Cargo Store for interior data (not including images or variations) -->{{#cargo_store:
 
 
_table=nl_interior
 
_table=nl_interior
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
 
|en_name = {{{name|}}}
 
|en_name = {{{name|}}}
 +
|filename = {{{filename|}}}
 +
|internal_ID = {{{ID|}}}
 +
|internal_ID_NLWa = {{{ID-nlwa|}}}
 
|catalog_num = {{{num|}}}
 
|catalog_num = {{{num|}}}
|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}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|image_url = {{filepath:{{{image|}}}}}
 
|image_url = {{filepath:{{{image|}}}}}
Line 113: Line 118:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
 +
}}<!-- Cargo Store for identifiers -->{{#cargo_store:
 +
_table=nl_identifier
 +
|identifier = {{{identifier|}}}
 +
|en_name = {{{name|}}}
 +
|category = Interior
 
}}}}{{#seo:|image={{filepath:{{{image|{{{name|}}} NL Model.png}}}}}}}<metakeywords>interior, wallpaper, carpet, flooring, item, animal crossing, acnl, new leaf, acnlwa, nlwa, welcome amiibo</metakeywords></includeonly>{{Infobox 2.0
 
}}}}{{#seo:|image={{filepath:{{{image|{{{name|}}} NL Model.png}}}}}}}<metakeywords>interior, wallpaper, carpet, flooring, 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
  | title            = {{#invoke:SentenceCase|main|{{{name|}}}}}
+
  | title            = {{{title|{{#invoke:SentenceCase|main|{{{name|}}}}}}}}
 
  | subtitleabove    = {{#if:{{{collection|}}}|<span style{{=}}"display:inline-block;">[[{{{collection-link|{{{collection|}}}}}}]]}}
 
  | subtitleabove    = {{#if:{{{collection|}}}|<span style{{=}}"display:inline-block;">[[{{{collection-link|{{{collection|}}}}}}]]}}
 
  | lefticon        = [[File:{{#switch: {{{category|}}}
 
  | lefticon        = [[File:{{#switch: {{{category|}}}
Line 123: Line 134:
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
  
  | image            = [[File:{{{image|}}}|128px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
+
  | image            = {{TabStart}}
 
+
{{TabHeader|Model}}
| image2          = [[File:{{{texture|}}}|64px|Texture of {{{name|}}}]]
+
[[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 +
{{TabHeader|Texture}}
 +
[[File:{{{texture|}}}|150x150px|Texture of {{{name|}}}]]
 +
{{TabEnd}}
  
 
  | leftlabel        = Buy price
 
  | leftlabel        = Buy price
Line 148: Line 162:
  
 
  | label6          = Colors
 
  | label6          = Colors
  | data6            = <div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Furniture/New Leaf/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]{{#if:{{{color2|}}}|&nbsp;[[Furniture/New Leaf/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div>
+
  | data6            = {{#if:{{{color1|}}}|<div style="display:inline-block; vertical-align:top; line-height:.9em;">[[Furniture/New Leaf/{{{color1|}}}|{{Color|{{{color1|Unknown}}}|display=inline-block}}]]{{#if:{{{color2|}}}|&nbsp;[[Furniture/New Leaf/{{{color2|}}}|{{Color|{{{color2|Unknown}}}|display=inline-block}}]]}}</div>}}
 +
 
 +
| widebottomlabel = Internal information
 +
| widebottomdata  = {{#if:{{{filename|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Filename''': <code>{{{filename|}}}</code><br></div>}}{{#if:{{{ID|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Internal ID''': <code>{{{ID|}}}</code><br></div>}}{{#if:{{{ID-nlwa|}}}|<div style="text-align: left; padding: 0 0 0 6px">'''Internal ID ({{NLWa-small}})''': <code>{{{ID-nlwa|}}}</code><br></div>}}
  
  | widebottomlabel = Notes
+
  | widebottomlabel2 = Notes
  | widebottomdata = {{{notes|}}}
+
  | widebottomdata2 = {{{notes|}}}
  
  | widebottomlabel2 = In other games
+
  | widebottomlabel3 = In other games
  | widebottomdata2 = {{#cargo_query:tables=pg_interior|fields=CONCAT("[[Item:", pg_interior.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_interior.en_name, ")]]<br />")|where=pg_interior.identifier="{{{identifier|}}}"|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|}}}"|default=}}
+
  | widebottomdata3 = {{#cargo_query:tables=pg_interior|fields=CONCAT("[[Item:", pg_interior.en_name, " (Doubutsu no Mori+)|''Doubutsu no Mori+'' (", pg_interior.en_name, ")]]<br />")|where=pg_interior.identifier="{{{identifier|}}}" AND in_plus=1 AND in_pg=0|delimiter=|default=}}{{#cargo_query:tables=pg_interior|fields=CONCAT("[[Item:", pg_interior.en_name, " (Animal Crossing)|''Animal Crossing'' (", pg_interior.en_name, ")]]<br />")|where=pg_interior.identifier="{{{identifier|}}}" AND in_pg=1|delimiter=|default=}}{{#cargo_query:tables=ww_interior|fields=CONCAT("[[Item:", ww_interior.en_name, " (Wild World)|''Wild World'' (", ww_interior.en_name, ")]]<br />")|where=ww_interior.identifier="{{{identifier|}}}"|delimiter=|default=}}{{#cargo_query:tables=cf_interior|fields=CONCAT("[[Item:", cf_interior.en_name, " (City Folk)|''City Folk'' (", cf_interior.en_name, ")]]<br />")|where=cf_interior.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        = Names
 
  | languages        = Names
Line 172: Line 189:
 
  | Wallpaper = wallpapers
 
  | Wallpaper = wallpapers
 
  | Carpet = carpets
 
  | Carpet = carpets
  | {{{category|}}}}}]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}{{#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}}
+
  | {{{category|}}}}}]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}{{#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 | 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>

Latest revision as of 20:10, September 4, 2024

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

Model

[[File:|200px|]]

Texture

[[File:|150x150px|Texture of ]]


Buy price Sell price
Not for sale Cannot be sold
Rarity group None
HHA theme challenges None
Style None
HHA points Unknown
Names in other languages
 Unknown
 Unknown
 Unknown
 Unknown
 N/A
 Unknown
 Unknown
 N/A
 N/A
 Unknown
 Unknown
 N/A



No documentation for Template:NLInterior exists. Create it.