55行目: |
55行目: |
| |{{#ifeq:{{{link|}}}|1||{{{link|{{#ifeq:{{CONTENTLANG}}|en|{{{1|}}}}}}}}}}}}}}}}<!-- | | |{{#ifeq:{{{link|}}}|1||{{{link|{{#ifeq:{{CONTENTLANG}}|en|{{{1|}}}}}}}}}}}}}}}}<!-- |
| // Display sort key (0 for text/non-numeric price so it doesn't mess up table) | | // Display sort key (0 for text/non-numeric price so it doesn't mess up table) |
− | --><span class="sortkey" style="display:none;">{{#iferror: | + | --><span data-sort-value="{{#ifeq:{{{sortkey}}}|||{{#ifeq:{{{sortkey|true}}}|true |
− | {{#expr:{{#arrayprint:$qpprice}}>0}}
| + | |{{#iferror:{{#expr:{{#arrayprint:$qpprice}}>0}} |
| |0 | | |0 |
− | |{{#expr:trunc(({{#arrayprint:$qpmult}})*trunc({{#arrayprint:$qpprice}}))}}}}</span><!-- | + | |{{#expr:trunc(({{#arrayprint:$qpmult}})*trunc({{#arrayprint:$qpprice}}))}}}} |
| + | |{{{sortkey}}}}}}}"><!-- |
| // Start table and loop through each requested quality | | // Start table and loop through each requested quality |
| // Display icon using Quality template and calculate/display price--> | | // Display icon using Quality template and calculate/display price--> |
73行目: |
74行目: |
| }}}}{{#arrayprint:$lang_qp_gold}} | | }}}}{{#arrayprint:$lang_qp_gold}} |
| }}}} | | }}}} |
− | {{!}}}<!-- | + | {{!}}}</span><!-- |
| --></includeonly><noinclude>{{Englishdoc}}{{#ifexist:{{FULLPAGENAME}}/doc |<nowiki/> | | --></includeonly><noinclude>{{Englishdoc}}{{#ifexist:{{FULLPAGENAME}}/doc |<nowiki/> |
| {{{{FULLPAGENAME}}/doc}} }}</noinclude> | | {{{{FULLPAGENAME}}/doc}} }}</noinclude> |