ผลต่างระหว่างรุ่นของ "แม่แบบ:Template link with linked braces"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
หน้าใหม่: <includeonly><nowiki>{</nowiki>[[Template:{{{1}}}|<nowiki>{</nowiki>{{{1}}}<nowiki>}</nowiki>]]<nowiki>}</nowiki></includeonly><noinclude> {{template doc}} <!-- Add categ… |
(ไม่แตกต่าง)
|
รุ่นแก้ไขเมื่อ 12:45, 19 กุมภาพันธ์ 2552
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 หน้าย่อยของแม่แบบนี้ |