Difference between revisions of "Template:CargoDisplayNHFurniture"

From Nookipedia, the Animal Crossing wiki
(adding data sort value to catalog num)
(Adding deprecation notice)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<includeonly><!-- This first line must remain empty -->
 
<includeonly><!-- This first line must remain empty -->
 
| data-sort-value="{{{catalog-num|}}}" | {{#if:{{{catalog-num|}}}|{{#invoke:formatnum|main|lang=en|{{{catalog-num|}}}}}|-}}
 
| data-sort-value="{{{catalog-num|}}}" | {{#if:{{{catalog-num|}}}|{{#invoke:formatnum|main|lang=en|{{{catalog-num|}}}}}|-}}
| [[{{{pagename|}}}|{{{name|}}}]] {{#if:{{{variation|}}}|({{{variation|}}}{{#if:{{{pattern|}}}|&#32;- {{{pattern|}}})|)}}|{{#if:{{{pattern|}}}|({{{pattern|}}})|}}}}
+
| [[{{{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}}{{#if:{{{buy2|}}}|<br>{{{buy2|}}}|}}
 
| data-sort-value="{{{buy1-price|}}}" | {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}{{#if:{{{buy2|}}}|<br>{{{buy2|}}}|}}
Line 10: 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