此模板使用了Module:Sprite,以及資料模組Module:FrontPageSprite。
這些腳本均使用Lua編寫。更多詳情,請參閱維基百科:Lua和MediaWiki:擴展:Scribunto。
This templates creates a page link with an associated sprite image on the left side using the IDs from Module:FrontPageSprite.
參數[]
| 名稱 | 用法 |
|---|---|
|1=
|
為其他參數設定預設值。 |
|id=
|
設定網格。該參數如果包含空格,將會使用破折號代替,字母都會自動轉換成小寫的。 值可能是一個名字或一個數字,雖然名字會更好。 |
|link=
|
設定要連結到的頁面,支持內部和外部的連結 如果設定為 none,則不會連結到任何頁面。
|
|text= 或 |2=
|
設定要顯示的文字。 |
示例[]
| Code | Result |
|---|---|
| {{FrontPageLink|Compass}} | 羅盤 |
| {{FrontPageLink|Sign}} | 告示牌 |
| {{FrontPageLink|Clock}} | 時鐘 |
| {{FrontPageLink|Iron Pickaxe}} | 鐵鎬 |
完整列表[]
Here is a full list of sprites:
遊戲內容區
anvil
apple
barrier
block-of-redstone
brewing-stand
command-block
crafting-table
creeper
emerald
enchanting-table
ender-eye
grass-block-inventory
iron-sword
lit-furnace
map
player
redstone
smithing-table
smoker
stonecutter
water
頁頭區
book
book-and-quill
clock
compass
enchanted-book
iron-pickaxe
knowledge-book
nether-star
oak-door
painting
paper
sign
另見[]
- Minecraft
{{BiomeLink}}{{BlockLink}}{{EffectLink}}{{EntityLink}}{{EnvLink}}{{InvLink}}{{ItemLink}}
- Minecraft Dungeons
{{DungeonsLevelLink}}{{DungeonsEntityLink}}{{DungeonsItemLink}}{{DungeonsEmoteLink}}{{DungeonsMiscellaneousLink}}
- Minecraft Legends
- 其他
語言