Minecraft Wiki

Minecraft Wiki ภาษาไทยกำลังจะย้ายออกจาก Fandom ตามภาษาอังกฤษในเร็ว ๆ นี้ ดูที่หน้านี้และ Discord สำหรับข้อมูลเพิ่มเติม

READ MORE

Minecraft Wiki
Advertisement
[ดู | แก้ไข | ประวัติ | ล้างแคช]คู่มือการใช้งาน
Lua logo
แม่แบบนี้ใช้ มอดูล:Delimited tag ซึ่งสคริปต์นี้เขียนด้วยภาษาลูอา
เว็บย่อ
cd
ดูเพิ่มเติมที่: Template:Samp

This template is a simplified usage of <code>...</code>.

Each anonymous parameter is a string to format. Note that <nowiki>...</nowiki> is needed around a parameter value if it contains the pipe (|) or equals (=) symbols, or they will be treated as a parameter separator or parameter identifier, respectively. Alternatively, you could also use {{!}} or {{=}} instead.

Use the |delimiter= parameter (aliases |delim= or |d=) to change the separator between each string. Set this value to the name in words of the delimiter, such as "and", "br", "or-list", "none", etc. When using a list delimiter, use |list-level= to change the indentation (defaults to **).

Examples[]

  1. {{code|text}}text
  2. {{code|1|2|3|4|5}}1 2 3 4 5
  3. {{code|1|2|3|4|5|delimiter=,}}1, 2, 3, 4, 5
  4. {{code|1|2|3|4|5|delimiter=and}}1, 2, 3, 4 และ 5
  5. {{code|<nowiki>something=one|two|three</nowiki>}}something=one|two|three
  6. {{code|something{{=}}one{{!}}two{{!}}three}}something=one|two|three
[ดู | แก้ไข | ประวัติ | ล้างแคช]คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Code/doc.
Advertisement