「テンプレート:Qualityprice」の版間の差分

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
(sync with english template)
(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 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>

2020年10月31日 (土) 02:38時点における版

このテンプレートの詳細については、英語のドキュメントページを参照してください。

使用法

このテンプレートは、関連するページに以下を入力することによって使用できます。

{{Qualityprice}}

結果は... テンプレート:ParseInputValues

0g