Difference between revisions of "Template:CargoDisplayNHClothing"

From Nookipedia, the Animal Crossing wiki
m (Restore newline at bottom)
m (Text replacement - "[[{{{pagename|}}}|{{{name|}}}]]" to "[[{{{pagename|}}}|{{#invoke:SentenceCase|main|{{{name|}}}}}]]")
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- This first line must remain empty -->
+
<includeonly><!-- This first line must remain empty -->
| {{i|{{{name|}}}}}
+
| data-sort-value="{{{catalog-num|}}}" | {{#if:{{{catalog-num|}}}|{{#invoke:formatnum|main|lang=en|{{{catalog-num|}}}}}|-}}
 +
| [[{{{pagename|}}}|{{#invoke:SentenceCase|main|{{{name|}}}}}]] {{#if:{{{variation|}}} |({{{variation|}}}) | }}{{#if:{{{pagename|}}}||[[Category:Pages with cargo tables missing pagename parameters]]}}
 
| [[File:{{{image|}}}|64px|{{{name|}}}]]
 
| [[File:{{{image|}}}|64px|{{{name|}}}]]
| {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}
+
| data-sort-value="{{{buy1-price|}}}" | {{#if:{{{buy1|}}}|{{{buy1|}}}|Not for sale}}{{#if:{{{buy2|}}}|<br>{{{buy2|}}}|}}
| {{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|}}}}} | }}
| {{{style|}}}
+
| {{{style1|}}}{{#if:{{{style2|}}}|<br>{{{style2|}}}|}}
 
| {{{label1|}}} {{#if:{{{label2|}}}|/ {{{label2|}}}|}} {{#if:{{{label3|}}}|/ {{{label3|}}}|}} {{#if:{{{label4|}}}|/ {{{label4|}}}|}} {{#if:{{{label5|}}}|/ {{{label5|}}}|}}
 
| {{{label1|}}} {{#if:{{{label2|}}}|/ {{{label2|}}}|}} {{#if:{{{label3|}}}|/ {{{label3|}}}|}} {{#if:{{{label4|}}}|/ {{{label4|}}}|}} {{#if:{{{label5|}}}|/ {{{label5|}}}|}}
|-
+
|-</includeonly><noinclude>[[Category:Cargo display templates]]</noinclude>

Latest revision as of 23:13, November 27, 2022