Diferencia entre revisiones de «Plantilla:Qualityprice»
Ir a la navegación
Ir a la búsqueda
(Replace G with gold icon) |
m (sync with english template) |
||
Línea 55: | Línea 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 | + | --><span data-sort-value="{{#ifeq:{{{sortkey}}}|||{{#ifeq:{{{sortkey|true}}}|true |
− | + | |{{#iferror:{{#expr:{{#arrayprint:$qpprice}}>0}} | |
|0 | |0 | ||
− | |{{#expr:trunc(({{#arrayprint:$qpmult}})*trunc({{#arrayprint:$qpprice}}))}}}} | + | |{{#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--> | ||
Línea 73: | Línea 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> |
Revisión del 00:11 31 oct 2020
Consulte la página de documentación en inglés para obtener más información sobre esta plantilla.
Uso
Esta plantilla se puede utilizar ingresando lo siguiente en una página relevante.
{{Qualityprice}}
Resultados en ... Plantilla:ParseInputValues
0 |