"틀:Qualityprice"의 두 판 사이의 차이
둘러보기로 가기
검색하러 가기
Nebulous Maestress (토론 | 기여) 잔글 (sync with english template) |
Nebulous Maestress (토론 | 기여) 잔글 (sync with english template) |
||
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 | + | --><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--> | ||
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> |
2020년 10월 31일 (토) 02:47 판
이 틀 대한 자세한 내용은 영어 설명서 페이지를 참조하십시오.
용도
이 틀은 관련된 페이지에 다음과 같이 입력하여 사용할 수 있습니다:
{{Qualityprice}}
결과... 틀:ParseInputValues
0골드 |