此模板使用了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
- 其他
语言