テンプレート:ItemLink
ナビゲーションに移動
検索に移動
Documentation
[purge]
アイテム画像が前側にあるアイテムページへのリンク: Stone
前側のオプションの数量もサポート: 5 × Stone
使用法
{{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}}
= 5 × Stone
{{ItemLink|Stone|quantity=5-10}}
= 5-10 × Stone
DLC-suffices are converted automatically to the according icon, if no explicit link-text is given
{{ItemLink|Sand}}
= Sand
{{ItemLink|Sand}}
= Sand
The parameter noDlcIcon hides the extra DLC-/mod-icon
{{ItemLink|Sand|noDlcIcon=1}}
= Sand