アイテム画像が前側にあるアイテムページへのリンク: Stone
前側のオプションの数量もサポート: Stone × 5
使用法[]
{{ItemLink|Stone}}
名前 | タイプ | 必須 | 既定 |
---|---|---|---|
0
|
string
|
true
|
|
text
|
string
|
false
|
最初の定位置パラメーターの値、または指定されている場合は2番目の値 |
link
|
string
|
false
|
最初の定位置パラメーターの値 |
image
|
string
|
false
|
.png の接尾辞が付いた最初の定位置パラメーターの値
|
size
|
string
|
false
|
20px |
quantity
|
string
|
false
|
|
noDlcIcon
|
bool
|
false
|
例[]
両方の行が同じ出力を生成します:
{{ItemLink|Stone}}
= Stone
{{ItemLink|Stone|text=Stone|link=Stone|image=Stone.png|size=20px|quantity=}}
= Stone
Lowercase link:
{{ItemLink|Stone|text=stone}}
= stone
{{ItemLink|Stone|stone}}
= stone
Plural link:
{{ItemLink|Stone|text=Stones}}
= Stones
Alternative: {{ItemLink|Stone}}s
= Stones
Quantity:
{{ItemLink|Stone|quantity=5}}
= Stone × 5
{{ItemLink|Stone|quantity=5-10}}
= Stone × 5-10
DLC-suffices are converted automatically to the according icon, if no explicit link-text is given
{{ItemLink|Sand (Scorched Earth)}}
= Sand
{{ItemLink|Sand (Scorched Earth)|Sand}}
= Sand
The parameter noDlcIcon hides the extra DLC-/mod-icon
{{ItemLink|Sand (Scorched Earth)|noDlcIcon=1}}
= Sand