ผลต่างระหว่างรุ่นของ "แม่แบบ:Efn/doc"
thwiki>Patsagorn Y. |
ล นำเข้า 1 รุ่นการแก้ไข |
||
(ไม่แตกต่าง)
|
รุ่นแก้ไขปัจจุบันเมื่อ 03:49, 17 กรกฎาคม 2568
![]() | แม่แบบ:Strongของ แม่แบบ:Efn ใช้ในการเขียนคำอธิบายวิธีการใช้งาน จัดหมวดหมู่ และเนื้อหาอื่น ๆ ที่ไม่ได้เป็นส่วนหนึ่งของหน้าแม่แบบต้นฉบับ |
{{efn}} is used, together with {{notelist}}, to create explanatory notes.
Usage
{{efn|Footnote text}}
{{efn|name=footnote name|Footnote text}}
|name=
Sets a standard reference name per WP:NAMEDREFS. The group name is always set to lower-alpha, thus the link labels are styled as lowercase Latin letters. However, this is not required because identical footnote markers are automatically identified and consolidated into a single footnote.
Remember that "=" cannot appear in an unnamed template parameter and "|" cannot appear in any template parameter. For "|", {{!}} can be used. For "=", {{=}} can be used or the parameter can be named 1= explicitly:
{{efn|1=Converting at a rate of Kr 20 = £1.}}
Examples
Using full citations in footnotes:
มาร์กอัป | แสดงผลเป็น |
---|---|
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}} ==Notes== {{notelist}} ==References== {{reflist}} |
|
Using เชิงอรรถอย่างย่อ:
มาร์กอัป | แสดงผลเป็น |
---|---|
Some information.{{sfn|Smith|2010|p=1}} More information.{{efn|A clarification.{{sfn|Smith|2010|p=2}}}} ==Notes== {{notelist}} ==Citations== {{reflist}} ==References== * {{citation|last=Smith|year=2010|title=Smith's book}} |
Some information.[1] More information.[lower-alpha 1]
|
You can create multiple explanatory lists by closing {{notelist}}. This is useful when adding sources to elements such as multiple tables.
มาร์กอัป | แสดงผลเป็น |
---|---|
Some information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A clarification.<ref name=Smith2009/>}} ==Notes== {{notelist|close}} Some more information.<ref name=Smith2009>{{cite book|last=Smith|year=2009|title=Smith's book}}</ref> More information.{{efn|A further clarification.<ref name=Smith2009/>}} ==Notes== {{notelist|close}} ==References== {{reflist}} |
|
Example articles
- Logic theorist (a short article showing basic usage)
- Chinese room (a long and complex article which uses all the features: named footnotes, list defined notes, etc.)
- Empire of Brazil
- John Diefenbaker (w/name= && note in {notelist})
ดูเพิ่ม
- {{efn-lr}} – อักษรโรมันเล็ก
- {{efn-ur}} – อักษรโรมันใหญ่
- {{efn-la}} – อักษรกรีกเล็ก
- {{efn-ua}} – อักษรกรีกใหญ่
- {{efn-t}} – อักษรไทย ตามลำดับ ก, ข, ค, ง ... (ดูลำดับทั้งหมดได้ที่ มีเดียวิกิ:Cite link label group-thai)