เอกสารการใช้งานสำหรับ แม่แบบ:Latn-def [แก้ไข]
หน้านี้มีข้อมูลวิธีการใช้งาน หมวดหมู่ ลิงก์ข้ามวิกิ และเนื้อหาอย่างอื่นที่อธิบายแม่แบบ

This template generates a definition line for Latin script symbols of any language.

การใช้ แก้ไข

This template should be added to all applicable entries written in Latin script in all languages.

As with other Wiktionary definition line templates, please do not use subst:.

เครื่องหมายเสริมสัทอักษร (Diacritical marks) แก้ไข

Note: The categorization of Latin script diacritical marks is supposed to be the work of other templates, such as {{pt-diacritical mark}} and {{nl-diacritical mark}}, not of this template.

พารามิเตอร์

Positional (unnamed) parameters:

  • |1= The language code. See WT:Languages.
  • |2= The type of definition. Use diacritic.
  • |3= and |4= The first letter with the diacritical mark.
  • |5= and |6= The second letter with the diacritical mark, if applicable.
  • |7=, |8=, |9=, |10=... Additional unnamed parameters follow the aforementioned pattern.

Named parameters:

  • |name= The name of the diacritical mark in the target language.
  • |trans= The English translation of the name of the diacritical mark.
  • |onecase= For letters that are only uppercase or lowercase. Just enter the single character into {{{3}}} and put something in this parameter.
  • |dot= If you want the final punctuation to be something other than ., put it in here.
ตัวอย่าง
หน้าคำศัพท์ โค้ด
´ {{Latn-def|pt|diacritic|Á|á|É|é|Í|í|Ó|ó|Ú|ú|name=acento agudo|trans=acute accent}}
เครื่องหมายเสริมสัทอักษรหนึ่งของอักษรละติน เรียกว่า acento agudo (acute accent) ในภาษาโปรตุเกส พบใน Á/á, É/é, Í/í, Ó/ó และ Ú/ú

ตัวอักษร (Letters) แก้ไข

Note: The categorization of Latin script letters is supposed to be the work of other templates, such as {{en-letter}}, {{eo-letter}} and {{pt-letter}}, not of this template.

พารามิเตอร์

All are positional (unnamed) parameters:

  • |1= The language code. See WT:Languages.
  • |2= The type of definition. Use letter.
  • |3= The letter's place in the alphabet. (e. g., 3 or 24)
  • |4= The name of the letter.
  • |5= An alternative name of the letter.
  • |6= Another alternative name of the letter.
  • |7= Yet another alternative name of the letter.
ตัวอย่าง
หน้าคำศัพท์ โค้ด
S {{Latn-def|en|letter|19|ess}}
ตัวอักษรตัวที่ 19 ของชุดตัวอักษรภาษาอังกฤษ เรียกว่า ess และเขียนเป็นอักษรละติน
b {{Latn-def|eo|letter|2|bo}}
ตัวอักษรตัวที่ 2 ของชุดตัวอักษรภาษาเอสเปรันโต เรียกว่า bo และเขียนเป็นอักษรละติน
z {{Latn-def|en|letter|26|zed|zee}}
ตัวอักษรตัวที่ 26 ของชุดตัวอักษรภาษาอังกฤษ เรียกว่า zed หรือ zee และเขียนเป็นอักษรละติน
K {{Latn-def|pt|letter|11|cá}}
ตัวอักษรตัวที่ 11 ของชุดตัวอักษรภาษาโปรตุเกส เรียกว่า และเขียนเป็นอักษรละติน
X {{Latn-def|vi|letter|28|ích|ích xì|xờ|xờ nhẹ}}
ตัวอักษรตัวที่ 28 ของชุดตัวอักษรภาษาเวียดนาม เรียกว่า ích, ích xì, xờ หรือ xờ nhẹ และเขียนเป็นอักษรละติน

ชื่อของตัวอักษร (Letter names) แก้ไข

Note: This template does categorize Latin script letter names as a topical category of each individual language, for example into Category:Latin letter names, Category:ja:Latin letter names or Category:pt:Latin letter names.

พารามิเตอร์

All are positional (unnamed) parameters:

  • |1= The language code. See WT:Languages.
  • |2= The type of definition. Use name.
  • |3= The letter named.
  • |4= A variation of the lhe letter named, such as a lowercase form of a capital letter.
ตัวอย่าง
หน้าคำศัพท์ โค้ด
ex {{Latn-def|en|name|X|x}}
ชื่อของตัวอักษรละติน X
(หมวดหมู่:ภาษาอังกฤษ:ชื่อตัวอักษรละติน)
เอส {{Latn-def|th|name|S|s}}
ชื่อของตัวอักษรละติน S
(หมวดหมู่:ภาษาไทย:ชื่อตัวอักษรละติน)
dáblio {{Latn-def|pt|name|W|w}}
ชื่อของตัวอักษรละติน W
(หมวดหมู่:ภาษาโปรตุเกส:ชื่อตัวอักษรละติน)

จำนวนเชิงการนับ (Ordinal numbers) แก้ไข

Note: This template categorizes Latin script ordinal numbers as a lexical category of each individual language, for example into Category:English ordinal numbers, Category:Japanese ordinal numbers or Category:Portuguese ordinal numbers.

พารามิเตอร์

All are positional (unnamed) parameters:

  • |1= The language code. See WT:Languages.
  • |2= The type of definition. Use ordinal.
  • |3= The letter's place in the alphabet. (e. g., 3 or 24)
  • |4= The name of the number.
  • |5= An alternative name of the number.
  • |6= Another alternative name of the number.
ตัวอย่าง
หน้าคำศัพท์ โค้ด
I {{Latn-def|en|ordinal|9|i}}
จำนวนเชิงอันดับที่ ที่ 9 แผลงจากตัวอักษรเดียวกันในชุดตัวอักษรภาษาอังกฤษ เรียกว่า i และเขียนเป็นอักษรละติน
(หมวดหมู่:จำนวนเชิงอันดับที่ภาษาอังกฤษ)

หน่วยเสียงในภาษาญี่ปุ่นที่ถอดเป็นอักษรโรมัน แก้ไข

Note: The categorization of Japanese romanized syllables is supposed to be the work of {{ja-syllable}}, not of this template.

พารามิเตอร์

All are positional (unnamed) parameters:

  • |1= The language code. Use ja.
  • |2= The type of definition. Use syllable.
  • |3= The hiragana equivalent of the syllable.
  • |4= The katakana equivalent of the syllable.
  • |5= The current syllable in Latin script.
ตัวอย่าง
หน้าคำศัพท์ โค้ด
ba {{Latn-def|ja|syllable|ば|バ|ba}}
The hiragana syllable (ba) or the katakana syllable (ba) in Hepburn romanization
(Category:Japanese romanizations)