แม่แบบ:หลัก

จากวิกิพีเดีย สารานุกรมเสรี
ดูบทความหลักที่: หลัก
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

การใช้งาน

  • การใช้งานพื้นฐาน: {{หลัก|page}}
  • พารามิเตอร์ทั้งหมด: {{หลัก|page1|page2|page3| ... |l1 = label1|l2 = label2|l3 = label3| ... |selfref = yes}}


ข้อมูลแม่แบบ

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ หลัก (อาจล้าสมัย)

This template is used after the heading of a section, to link to a sub-article (or sub-articles) that is entirely about the topic of the section. The template will display, in italics, "Main article: Article 1, Article 2 and Article 3"

[จัดการข้อมูลแม่แบบ]

พารามิเตอร์แม่แบบ

This template has custom formatting.

พารามิเตอร์คำอธิบายชนิดสถานะ
Page 11

The name of the first page that you want to link to. If this is not specified, the current page name (with no namespace prefix) is used instead.

หน้าแนะนำ
Page 22

The name of the second page that you want to link to.

หน้าเลือกได้
Page 33

The name of the third page that you want to link to. More pages can be added using the parameters "4", "5", etc.

หน้าเลือกได้
Label 1l1 label 1

What the first linked page is to be displayed as.

สตริงเลือกได้
Label 2l2 label 2

What the second linked page is to be displayed as.

สตริงเลือกได้
Label 3l3 label 3

What the third linked page is to be displayed as. Other labels can be added by using increasing numbers (starting with "l4" for page 4) as parameter names.

สตริงเลือกได้
Self referenceselfref

Set to "yes" if the template is a self-reference to Wikipedia that would not make sense on mirrors or forks of the Wikipedia site.

ตรรกะเลือกได้

ตัวอย่าง