ผลต่างระหว่างรุ่นของ "แม่แบบ:Template link with linked braces"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
หน้าใหม่: <includeonly><nowiki>{</nowiki>[[Template:{{{1}}}|<nowiki>{</nowiki>{{{1}}}<nowiki>}</nowiki>]]<nowiki>}</nowiki></includeonly><noinclude> {{template doc}} <!-- Add categ… |
Patsagorn Y. (คุย | ส่วนร่วม) ไม่มีความย่อการแก้ไข ป้ายระบุ: แก้ไขจากอุปกรณ์เคลื่อนที่ แก้ไขจากเว็บสำหรับอุปกรณ์เคลื่อนที่ แก้ไขขั้นสูงด้วยอุปกรณ์เคลื่อนที่ |
||
บรรทัด 1: | บรรทัด 1: | ||
[[Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki>]]<noinclude> |
|||
{{template doc}} |
{{template doc}} |
รุ่นแก้ไขเมื่อ 14:23, 1 กันยายน 2563
[[Template:{{{1}}}|{{{{{1}}}}}]]
This template is used similarly to Template:Tl to show the name of a template with the pairs of open and close braces around it. But this variant makes the inner braces part of the link, whereas Template:Tl does not make the braces part of the link. This is to allow easier clicking of very short template names. The "Tn" name is short for Template name.
การใช้งาน
{{tn|template_name}}
ตัวอย่างเปรียบเทียบ
{{tn|!}} | ผลลัพธ์: {{!}} |
{{tl|!}} | ผลลัพธ์: {{!}} |
ดูเพิ่ม
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:Template link with linked braces/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |