「テンプレート:Qualityprice」の版間の差分
ナビゲーションに移動
検索に移動
細 (sync with english template) |
Margotbean (トーク | 投稿記録) (remove italics, fix capital G for gold) |
||
2行目: | 2行目: | ||
// Define letter/symbol used for gold in current language | // Define letter/symbol used for gold in current language | ||
− | -->{{#arraydefine:$lang_qp_gold| | + | -->{{#arraydefine:$lang_qp_gold|g}}<!-- |
// Items that get autofilled by Infobox and therefore need to be autotranslated to fill in link | // Items that get autofilled by Infobox and therefore need to be autotranslated to fill in link | ||
// (other items are tested below, but the tested values should be image names which are same on all sites) | // (other items are tested below, but the tested values should be image names which are same on all sites) | ||
66行目: | 66行目: | ||
{{!}} {{Quality|{{{1|}}}|@qual@| size={{#if:{{{size|}}}|{{{size}}}|24}} |link={{#arrayprint:$qplink}} |alt={{#ifeq:{{{alt}}}|||{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{#arrayprint:$qplink}}|{{#arrayprint:$qplink}}|{{{1|}}}}}}}}}}} | {{!}} {{Quality|{{{1|}}}|@qual@| size={{#if:{{{size|}}}|{{{size}}}|24}} |link={{#arrayprint:$qplink}} |alt={{#ifeq:{{{alt}}}|||{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{#arrayprint:$qplink}}|{{#arrayprint:$qplink}}|{{{1|}}}}}}}}}}} | ||
{{!}} {{#iferror:{{#expr:{{#arrayprint:$qpprice}}>0}} | {{!}} {{#iferror:{{#expr:{{#arrayprint:$qpprice}}>0}} | ||
− | | | + | |{{{2|}}} |
|{{formatnum:{{#expr: | |{{formatnum:{{#expr: | ||
trunc( ({{#arrayprint:$qpmult}}) * | trunc( ({{#arrayprint:$qpmult}}) * |
2020年10月6日 (火) 18:56時点における版
このテンプレートの詳細については、英語のドキュメントページを参照してください。
使用法
このテンプレートは、関連するページに以下を入力することによって使用できます。
{{Qualityprice}}
結果は... テンプレート:ParseInputValues
0g |