Difference between revisions of "Template:NLInterior"

From Nookipedia, the Animal Crossing wiki
m
(Identifier more games.)
(11 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
|in_ko = Boolean
 
|in_ko = Boolean
 
|image = String
 
|image = String
 +
|image_url = String
 
|texture = String
 
|texture = String
 
|collection = String
 
|collection = String
Line 48: Line 49:
 
|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|}}}
 
|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|}}}}}
 
|texture = {{{texture|}}}
 
|texture = {{{texture|}}}
 
|collection = {{{collection|}}}
 
|collection = {{{collection|}}}
Line 111: Line 112:
 
|ja_name = {{{ja-name|}}}
 
|ja_name = {{{ja-name|}}}
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
}}}}</includeonly>{{Infobox 2.0
+
}}<!-- 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
 
  | primarycolor    = 39 100
 
  | primarycolor    = 39 100
 
  | secondarycolor  = 42 73
 
  | secondarycolor  = 42 73
  | title            = {{{name|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(New Leaf)|}}}}}
+
  | 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|}}}|<span style{{=}}"display:inline-block;">[[{{{collection-link|{{{collection|}}}}}}]]}}
 
  | lefticon        = [[File:{{#switch: {{{category|}}}
 
  | lefticon        = [[File:{{#switch: {{{category|}}}
 
  | Wallpaper = Wallpaper NL Icon.png{{!}}Type of wallpaper
 
  | Wallpaper = Wallpaper NL Icon.png{{!}}Type of wallpaper
Line 121: Line 127:
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
 
  | righticon        = {{#if:{{{num|}}}|'''<nowiki>#</nowiki>{{{num|}}}'''|&nbsp;}}
  
  | image            = {{#ifexist:File:{{{image|{{{name|}}} NL Model.png}}}|[[File:{{{image|{{{name|}}} NL Model.png}}}|128px|{{{name|}}}]]|[[File:Nia.png|128px|No image available|link=]]}}
+
  | image            = {{TabStart}}
| image2          = {{#ifexist:File:{{{texture|{{{name|}}} NL Texture.png}}}|[[File:{{{texture|File:{{{name|}}} NL Texture.png}}}|64px|{{{name|}}}]]|}}
+
{{TabHeader|Model}}
 +
[[File:{{{image|}}}|200px|{{#invoke:SentenceCase|main|{{{name|}}}}}]]
 +
{{TabHeader|Texture}}
 +
[[File:{{{texture|}}}|150x150px|Texture of {{{name|}}}]]
 +
{{TabEnd}}
  
 
  | leftlabel        = Buy price
 
  | leftlabel        = Buy price
Line 130: Line 140:
  
 
  | label            = Obtain via
 
  | label            = Obtain via
  | data            = {{#if:{{{availability1|}}}|{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability-rv|}}}|{{#invoke: Items | outputRVAvailabilitiesFromList | {{{availability-rv|}}}}}}}{{#if: {{{availability-other|}}} | <div class="mw-collapsible mw-collapsed" style="width:100%">
+
  | data            = {{#if:{{{availability1|}}}{{{availability-rv|}}}|<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#if:{{{availability1|}}}|{{Availability|{{{availability1|}}}|note={{{availability1-note|}}}}}}}{{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}|note={{{availability2-note|}}}}}}}{{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}|note={{{availability3-note|}}}}}}}{{#if:{{{availability-rv|}}}|{{#invoke: Items | outputRVAvailabilitiesFromList | {{{availability-rv|}}}}}}}{{#if: {{{availability-other|}}} | {{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }} | }}</div>}}
Also available from...
 
<div class="mw-collapsible-content">
 
{{#invoke: Items | outputAvailabilitiesFromList | {{{availability-other|}}} }}
 
</div>
 
</div> | }}
 
  
 
  | label2          = [[Group|Rarity group]]
 
  | label2          = [[Group|Rarity group]]
Line 150: Line 155:
  
 
  | 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 = Notes
 
  | widebottomlabel = Notes
Line 156: Line 161:
  
 
  | widebottomlabel2 = In other games
 
  | widebottomlabel2 = 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=}}
+
  | widebottomdata2  = {{#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=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 174: Line 179:
 
  | Wallpaper = wallpapers
 
  | Wallpaper = wallpapers
 
  | Carpet = carpets
 
  | Carpet = carpets
  | {{{category|}}}}}]]{{#ifeq:{{{version-added|}}}|1.4|[[Category:New Leaf items introduced in Welcome amiibo]]}}}}</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>

Revision as of 09:50, January 24, 2023

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

[[File:|sub|class=sprite|link=]]  
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.