แม่แบบ:BlockSprite

จาก Minecraft Wiki
ไปยังการนำทาง ไปยังการค้นหา
[ดู] [แก้ไข] [ประวัติ] [ล้างแคช]คู่มือการใช้งาน
แม่แบบนี้ใช้ มอดูล:SpriteFile ซึ่งสคริปต์นี้เขียนด้วยภาษาลูอา

This template displays a block sprite from the following naming scheme: File:BlockSprite_<id>.png

Parameters[แก้ไขต้นฉบับ]

Name Usage
1= Sets the sprite. Spaces within this parameter are replaced with dashes and letters are made lowercase.
Value may be a name or a number, though names are preferred
link= Sets the link for the sprite and the optional text. If unset or set to none, no link is added
Supports both internal and external links
text= If set, the value is displayed as text after the sprite.

ตัวอย่าง[แก้ไขต้นฉบับ]

โค้ด ผลลัพธ์
{{BlockSprite|grass-block}} BlockSprite grass-block.png: ภาพสไปรต์สำหรับ grass-block ใน Minecraft
{{BlockSprite|grass-block-top}} BlockSprite grass-block-top.png: ภาพสไปรต์สำหรับ grass-block-top ใน Minecraft
{{BlockSprite|cobblestone}} BlockSprite cobblestone.png: ภาพสไปรต์สำหรับ cobblestone ใน Minecraft
{{BlockSprite|poppy}} BlockSprite poppy.png: ภาพสไปรต์สำหรับ poppy ใน Minecraft

รายชื่อทั้งหมด[แก้ไขต้นฉบับ]

ต่อไปนี้คือรายชื่อทั้งหมดของบล็อก

ดูเพิ่ม[แก้ไขต้นฉบับ]

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
อื่น ๆ
[ดู] [แก้ไข] [ประวัติ] [ล้างแคช]คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:BlockSprite/doc