Difference between revisions of "Template:NLFurniture"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - " | languages = Name" to " | languages = Names")
(adding WikiSEO and metakeywords information; converting availability-other parameter to utilize overflow instead of collapsible elements)
Line 164: Line 164:
 
|ko_name = {{{ko-name|}}}
 
|ko_name = {{{ko-name|}}}
 
}}}}{{#if: {{{variation1|}}}
 
}}}}{{#if: {{{variation1|}}}
| {{#forargs: variation | key | value | {{#if: {{{pattern1|}}} | {{#forargs: pattern | key2 | value | <!-- Cargo Store for variations+patterns --> {{#cargo_store:
+
| {{#forargs: variation | key | value | {{#if: {{{pattern1|}}} | {{#seo:|image={{filepath:{{{image|{{{name|}}} ({{{variation1|}}} - {{{pattern1|}}}) NL Model.png}}}}}}}{{#forargs: pattern | key2 | value | <!-- Cargo Store for variations+patterns --> {{#cargo_store:
 
_table=nl_furniture_variation
 
_table=nl_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
Line 178: Line 178:
 
|color1 = {{{var{{#var: key }}-color1|}}}
 
|color1 = {{{var{{#var: key }}-color1|}}}
 
|color2 = {{{pat{{#var: key2 }}-color1|}}}
 
|color2 = {{{pat{{#var: key2 }}-color1|}}}
}} }} | <!-- Cargo Store for variations, no patterns -->{{#cargo_store:
+
}} }} | <!-- Cargo Store for variations, no patterns --> {{#seo:|image={{filepath:{{{image|{{{name|}}} ({{{variation1|}}} - {{{pattern1|}}}) NL Model.png}}}}}}}{{#cargo_store:
 
_table=nl_furniture_variation
 
_table=nl_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
Line 223: Line 223:
 
|color2 =  
 
|color2 =  
 
}} }}
 
}} }}
}} | {{#if: {{{pattern1|}}} | {{#forargs: pattern | key | value | <!-- Cargo Store for patterns, no variations/ores --> {{#cargo_store:
+
}} | {{#if: {{{pattern1|}}} | {{#seo:|image={{filepath:{{{image|{{{name|}}} ({{{pattern1|}}}) NL Model.png}}}}}}}{{#forargs: pattern | key | value | <!-- Cargo Store for patterns, no variations/ores --> {{#cargo_store:
 
_table=nl_furniture_variation
 
_table=nl_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
Line 237: Line 237:
 
|color1 = {{{pat{{#var: key }}-color1|}}}
 
|color1 = {{{pat{{#var: key }}-color1|}}}
 
|color2 =  
 
|color2 =  
}} }} | <!-- Cargo Store for sole item (no variations/patterns/ores) -->{{#cargo_store:
+
}} }} | <!-- Cargo Store for sole item (no variations/patterns/ores) -->{{#seo:|image={{filepath:{{{image|{{{name|}}} NL Model.png}}}}}}}{{#cargo_store:
 
_table=nl_furniture_variation
 
_table=nl_furniture_variation
 
|identifier = {{{identifier|}}}
 
|identifier = {{{identifier|}}}
Line 251: Line 251:
 
|color1 = {{{color1|}}}
 
|color1 = {{{color1|}}}
 
|color2 = {{{color2|}}}
 
|color2 = {{{color2|}}}
}}}}}}}}</includeonly>{{Infobox 2.0
+
}}}}}}}}<metakeywords>furniture, 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|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild World)|}}}}}}}}
+
  | title            = {{{name|{{{identifier|{{#replace:{{#titleparts:{{PAGENAME}}||-1}}|<nowiki> </nowiki>(Wild Leaf)|}}}}}}}}
 
  | 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|}}}{{{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>|}}
 
  | lefticon        = [[File:{{{icon|Furniture NL Icon.png}}}|Type of furniture|sub|class=sprite|link=Furniture/New Leaf]]
 
  | lefticon        = [[File:{{{icon|Furniture NL Icon.png}}}|Type of furniture|sub|class=sprite|link=Furniture/New Leaf]]
Line 271: Line 271:
  
 
  | label2          = Obtain via
 
  | label2          = Obtain via
  | data2            = {{#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%">
+
  | data2            = {{#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> | }}
 
  
 
  | label3          = Customize
 
  | label3          = Customize

Revision as of 23:26, October 28, 2022

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

Type of furniture NLFurniture   
No image available
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
Style None
HHA points Unknown
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.