Difference between revisions of "Template:CargoDisplayNHFurniture"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "{{i|{{{name|}}}}}" to "{{i|{{{name|}}}|New Horizons}}")
(Adding deprecation notice)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly><!-- This first line must remain empty -->
 
<includeonly><!-- This first line must remain empty -->
| {{i|{{{name|}}}|New Horizons}} {{#if:{{{variation|}}}|({{{variation|}}}{{#if:{{{pattern|}}}|<nowiki/> - {{{pattern|}}})|)}}|{{#if:{{{pattern|}}}|({{{pattern|}}})|}}}}
+
| data-sort-value="{{{catalog-num|}}}" | {{#if:{{{catalog-num|}}}|{{#invoke:formatnum|main|lang=en|{{{catalog-num|}}}}}|-}}
 +
| [[{{{pagename|}}}|{{#invoke:SentenceCase|main|{{{name|}}}}}]] {{#if:{{{variation|}}}|({{{variation|}}}{{#if:{{{pattern|}}}|&#32;- {{{pattern|}}})|)}}|{{#if:{{{pattern|}}}|({{{pattern|}}})|}}}}
 
| [[File:{{{image|}}}|64px|{{{name|}}}]]
 
| [[File:{{{image|}}}|64px|{{{name|}}}]]
| data-sort-value="{{{buy1-price|}}}" | {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}
+
| data-sort-value="{{{buy1-price|}}}" | {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}{{#if:{{{buy2|}}}|<br>{{{buy2|}}}|}}
| data-sort-value="{{{sell|}}}" | {{Currency|Bells|{{{sell|}}}}}
+
| data-sort-value="{{{sell|}}}" | {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}}
| {{Availability|{{{availability1|}}}}} {{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}}}|}}
+
| {{Availability|{{{availability1|}}}}} {{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}}}|}} {{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}}}|}}
 
| {{#if:{{{theme1|}}}|{{{theme1|}}}|-}} {{#if:{{{theme2|}}}|/ {{{theme2|}}}|}}
 
| {{#if:{{{theme1|}}}|{{{theme1|}}}|-}} {{#if:{{{theme2|}}}|/ {{{theme2|}}}|}}
 
| {{#if:{{{function1|}}}|{{{function1|}}}|-}} {{#if:{{{function2|}}}|/ {{{function2|}}}|}}
 
| {{#if:{{{function1|}}}|{{{function1|}}}|-}} {{#if:{{{function2|}}}|/ {{{function2|}}}|}}
 
| {{#ifeq:{{{customizable|}}}|1|Yes|No}}
 
| {{#ifeq:{{{customizable|}}}|1|Yes|No}}
| [[File:Size {{#sub:{{{gridsize|0.0×0.0}}}|0|3}} x {{#sub:{{{gridsize|0.0×0.0}}}|4}}.png|x30px|{{#if:|{{!}}}}link=|{{#sub:{{{gridsize|0.0×0.0}}}|0|3}} x {{#sub:{{{gridsize|0.0×0.0}}}|4}}]]
+
| [[File:Size {{#sub:{{{gridsize|0.0×0.0}}}|0|3}} x {{#sub:{{{gridsize|0.0×0.0}}}|4}}.png|x30px|link=|{{{gridsize|0.0×0.0}}}]]
|-</includeonly><noinclude>[[Category:Cargo display templates]]</noinclude>
+
|-</includeonly><noinclude>{{Deprecated|replacement=[[Module:NHFurnitureCargoQuery]]}}[[Category:Cargo display templates]]</noinclude>

Latest revision as of 20:54, February 26, 2024

Lucky NH Villager Icon.png
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Module:NHFurnitureCargoQuery and all instances of this template should be updated to the linked template instead.
Lucky NH Villager Icon.png
This template is deprecated and should no longer be used.
This template's functionality has been superseded by Module:NHFurnitureCargoQuery and all instances of this template should be updated to the linked template instead.

Template:CargoDisplayNHFurniture