แม่แบบ:EnvLink/doc

จาก Minecraft Wiki
รุ่นแก้ไขเมื่อ 11:00, 9 พฤษภาคม 2560 โดย Violine1101 (คุย | ส่วนร่วม) (interwiki)
(ต่าง) ←รุ่นแก้ไขก่อนหน้า | รุ่นแก้ไขล่าสุด (ต่าง) | รุ่นแก้ไขถัดไป→ (ต่าง)
ไปยังการนำทาง ไปยังการค้นหา
นี่คือหน้าคู่มือการใช้งาน ซึ่งควรถูกดึงไปที่ แม่แบบ:EnvLink ดู แม่แบบ:Documentation สำหรับข้อมูลเพิ่มเติม
แม่แบบนี้ใช้ มอดูล:Sprite ซึ่งเก็บข้อมูลไว้ที่ มอดูล:EnvSprite และ มอดูล:EnvSprite/IDs
ซึ่งสคริปต์เหล่านี้เขียนด้วยภาษาลูอา

This templates creates a page link with an associated sprite image on the left side using the IDs from Template:EnvSprite.

Parameters

Name Usage
1= Set the defaults for all other parameters
id= 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= Set the page to link, supports internal and external links
If set to none, no link will be added
text= or |2= Sets the text to be displayed

Examples

Code Result
{{EnvLink|Sun}} EnvSprite sun.png: ภาพสไปรต์สำหรับ sun ใน Minecraft linking to ดวงอาทิตย์ดวงอาทิตย์
{{EnvLink|Moon}} EnvSprite moon.png: ภาพสไปรต์สำหรับ moon ใน Minecraft linking to ดวงจันทร์ดวงจันทร์
{{EnvLink|Music}} EnvSprite music.png: ภาพสไปรต์สำหรับ music ใน Minecraft linking to ดนตรีดนตรี
{{EnvLink|id=the-nether|Nether}} EnvSprite the-nether.png: ภาพสไปรต์สำหรับ the-nether ใน Minecraft linking to เนเธอร์เนเธอร์

Full List

Here is a full list of sprites: ข้อผิดพลาด Lua ใน มอดูล:EnvSprite บรรทัดที่ 6: attempt to call field 'getUrl' (a nil value)

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
อื่น ๆ