此模板使用了Module:Sprite,以及數據模組Module:LegendsStructureSprite。
這些腳本均使用Lua編寫。更多詳情,請參閱維基百科:Lua和MediaWiki:擴展:Scribunto。
- 快捷方式
- LeStructureLink
此模板用於建立帶有一個頁面連結的關聯網格圖像,使用Template:LegendsStructureSprite的ID。
參數[]
| 名稱 | 用法 |
|---|---|
|1=
|
為其他參數設定預設值。 |
|id=
|
設定網格。該參數如果包含空格,將會使用破折號代替,字母都會自動轉換成小寫的。 值可能是一個名字或一個數字,雖然名字會更好。 |
|link=
|
設定要連結到的頁面,支援內部和外部的連結 如果設定為 none,則不會連結到任何頁面。
|
|text= 或 |2=
|
設定要顯示的文字。 |
示例[]
| 代碼 | 結果 |
|---|---|
| {{LegendsStructureLink|Allay Chest}} | Allay Chest |
| {{LegendsStructureLink|Blast Tower}} | Blast Tower |
| {{LegendsStructureLink|Carpenter Hut}} | Carpenter Hut |
完整列表[]
下面為結構完整列表:
一般結構
allay-chest
arrow-tower
battle-drum
blast-tower
carpenter-hut
extendable-wall
frost-tower
gate
stun-tower
village
well-of-fate
豬人結構
bastionhorde-of-the-bastion
horde-of-the-hunthunt
horde-of-the-sporespore
lava-coil
nether-portal
night-beacon
patcher
piglin-chest
piglin-outpost
siegeworks
terror-horn
未分類
?
另見[]
- Minecraft
{{BiomeLink}}{{BlockLink}}{{EffectLink}}{{EntityLink}}{{EnvLink}}{{InvLink}}{{ItemLink}}
- Minecraft Dungeons
{{DungeonsLevelLink}}{{DungeonsEntityLink}}{{DungeonsItemLink}}{{DungeonsEmoteLink}}{{DungeonsMiscellaneousLink}}
- Minecraft Legends
- 其他
語言