Difference between revisions of "Template:CargoDisplayNHFurniture"

From Nookipedia, the Animal Crossing wiki
(using pagename instead of the i template)
(Adding deprecation notice)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly><!-- This first line must remain empty -->
 
<includeonly><!-- This first line must remain empty -->
| [[{{{pagename|}}}|{{{name|}}}]] {{#if:{{{variation|}}}|({{{variation|}}}{{#if:{{{pattern|}}}|&#32;- {{{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|}}}" | [[File:99k Bells NH Inv Icon cropped.png|15px|link=|alt=]]&nbsp;{{#invoke:formatnum|main|lang=en|{{{sell|}}}}} [[Bell|Bell{{#ifeq:{{{sell}}}|1||s}}]]
+
| data-sort-value="{{{sell|}}}" | {{#if:{{{sell|}}}|{{Currency|Bells|{{{sell|}}}}}|Cannot be sold}}
 
| {{Availability|{{{availability1|}}}}} {{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}}}|}} {{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}}}|}}
 
| {{Availability|{{{availability1|}}}}} {{#if:{{{availability2|}}}|{{Availability|{{{availability2|}}}}}|}} {{#if:{{{availability3|}}}|{{Availability|{{{availability3|}}}}}|}}
 
| {{#if:{{{theme1|}}}|{{{theme1|}}}|-}} {{#if:{{{theme2|}}}|/ {{{theme2|}}}|}}
 
| {{#if:{{{theme1|}}}|{{{theme1|}}}|-}} {{#if:{{{theme2|}}}|/ {{{theme2|}}}|}}
Line 9: Line 10:
 
| {{#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|link=|{{{gridsize|0.0×0.0}}}]]
 
| [[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