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

提供: Stardew Valley Wiki
ナビゲーションに移動 検索に移動
(update to remove arrays)
 
(同じ利用者による、間の3版が非表示)
1行目: 1行目:
 
<includeonly>{{#ifeq:{{lc:{{{dsv|}}}}}|false||<span style="display: none;">data-sort-value="{{#invoke:Calcsellprice|csp
 
<includeonly>{{#ifeq:{{lc:{{{dsv|}}}}}|false||<span style="display: none;">data-sort-value="{{#invoke:Calcsellprice|csp
|im = {{{1|}}}
+
|im = {{{1|}}} <!-- image -->
|bp = {{{srcprice|{{#expr:{{{2|0}}}}}}}}
+
|bp = {{#expr:{{{2|0}}}}} <!-- base price -->
|q  = 0
+
|q  = 0 <!-- quality = normal -->
|pm = {{{pm|{{{prof_mult|{{{4|1}}}}}}}}}
+
|pm = {{{pm|1}}} <!-- profession multiplier -->
|ll = {{CONTENTLANG}}
 
 
|fm = false <!-- format number? -->
 
|fm = false <!-- format number? -->
 
}}"</span>}}<!--
 
}}"</span>}}<!--
15行目: 14行目:
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
|im = {{{1|}}}  <!-- image -->
 
|im = {{{1|}}}  <!-- image -->
|bp = {{{srcprice|{{#expr:{{{2|0}}}}}}}} <!-- base price -->
+
|bp = {{#expr:{{{2|0}}}}} <!-- base price -->
 
|q  = 0 <!-- normal quality -->
 
|q  = 0 <!-- normal quality -->
|pm = {{{pm|{{{prof_mult|{{{4|1}}}}}}}}} <!-- profession multiplier -->
+
|pm = {{{pm|1}}} <!-- profession multiplier -->
|ll = {{CONTENTLANG}} <!-- local language -->
 
 
|fm = true <!-- format number? -->
 
|fm = true <!-- format number? -->
 
}} }}
 
}} }}
24行目: 22行目:
 
</tr>
 
</tr>
 
}} }}{{#if:{{#pos:{{{hide|}}}|silver}}||{{#switch:{{lc:{{{1|}}}}}
 
}} }}{{#if:{{#pos:{{{hide|}}}|silver}}||{{#switch:{{lc:{{{1|}}}}}
|juice|pickles|jelly|honey|oil|cave carrot|green tea|tea leaves=
+
|juice|pickles|jelly|honey|oil|cave carrot|green tea|tea leaves|ginger|qi fruit=
 
|#default={{#switch:{{{quality|all}}}
 
|#default={{#switch:{{{quality|all}}}
 
|silver|all|1 =
 
|silver|all|1 =
31行目: 29行目:
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
|im = {{{1|}}}  <!-- image -->
 
|im = {{{1|}}}  <!-- image -->
|bp = {{{srcprice|{{#expr:{{{2|0}}}}}}}} <!-- base price -->
+
|bp = {{#expr:{{{2|0}}}}} <!-- base price -->
 
|q  = 1 <!-- silver quality -->
 
|q  = 1 <!-- silver quality -->
|pm = {{{pm|{{{prof_mult|{{{4|1}}}}}}}}} <!-- profession multiplier -->
+
|pm = {{{pm|1}}} <!-- profession multiplier -->
|ll = {{CONTENTLANG}} <!-- local language -->
 
 
|fm = true <!-- format number? -->
 
|fm = true <!-- format number? -->
 
}} }}
 
}} }}
40行目: 37行目:
 
</tr>
 
</tr>
 
}} }} }}{{#if:{{#pos:{{{hide|}}}|gold}}||{{#switch:{{lc:{{{1|}}}}}
 
}} }} }}{{#if:{{#pos:{{{hide|}}}|gold}}||{{#switch:{{lc:{{{1|}}}}}
|juice|pickles|jelly|honey|oil|cave carrot|green tea|tea leaves=
+
|juice|pickles|jelly|honey|oil|cave carrot|green tea|tea leaves|ginger|qi fruit=
 
|#default={{#switch:{{{quality|all}}}
 
|#default={{#switch:{{{quality|all}}}
 
|gold|all|2 =
 
|gold|all|2 =
47行目: 44行目:
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
|im = {{{1|}}}  <!-- image -->
 
|im = {{{1|}}}  <!-- image -->
|bp = {{{srcprice|{{#expr:{{{2|0}}}}}}}} <!-- base price -->
+
|bp = {{#expr:{{{2|0}}}}} <!-- base price -->
 
|q  = 2 <!-- gold quality -->
 
|q  = 2 <!-- gold quality -->
|pm = {{{pm|{{{prof_mult|{{{4|1}}}}}}}}} <!-- profession multiplier -->
+
|pm = {{{pm|1}}} <!-- profession multiplier -->
|ll = {{CONTENTLANG}} <!-- local language -->
 
 
|fm = true <!-- format number? -->
 
|fm = true <!-- format number? -->
 
}} }}
 
}} }}
56行目: 52行目:
 
</tr>
 
</tr>
 
}} }} }}{{#if:{{#pos:{{{hide|}}}|iridium}}||{{#switch:{{lc:{{{1|}}}}}
 
}} }} }}{{#if:{{#pos:{{{hide|}}}|iridium}}||{{#switch:{{lc:{{{1|}}}}}
|juice|pickles|jelly|honey|oil|cave carrot|green tea|tea leaves=
+
|juice|pickles|jelly|honey|oil|cave carrot|green tea|tea leaves|ginger|qi fruit=
 
|#default={{#switch:{{{quality|all}}}
 
|#default={{#switch:{{{quality|all}}}
 
|iridium|all|4 =
 
|iridium|all|4 =
63行目: 59行目:
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
<td>{{#iferror:{{#expr:{{{2|}}}}}|{{{2|}}}|{{#invoke:Calcsellprice|csp
 
|im = {{{1|}}}  <!-- image -->
 
|im = {{{1|}}}  <!-- image -->
|bp = {{{srcprice|{{#expr:{{{2|0}}}}}}}} <!-- base price -->
+
|bp = {{#expr:{{{2|0}}}}} <!-- base price -->
 
|q  = 4 <!-- iridium quality -->
 
|q  = 4 <!-- iridium quality -->
|pm = {{{pm|{{{prof_mult|{{{4|1}}}}}}}}} <!-- profession multiplier -->
+
|pm = {{{pm|1}}} <!-- profession multiplier -->
|ll = {{CONTENTLANG}} <!-- local language -->
 
 
|fm = true
 
|fm = true
 
}} }}
 
}} }}

2023年3月18日 (土) 20:58時点における最新版

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

使用法

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

{{Qualityprice}}

結果は...

data-sort-value="0"

Blank icon.png
0
Blank icon.png
Silver Quality Icon.png
0
Blank icon.png
Gold Quality Icon.png
0
Blank icon.png
Iridium Quality Icon.png
0