แม่แบบ:อักษรละติน

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

Usage[แก้]

Basic examples[แก้]

Adding the block "Letter X with diacritics"[แก้]

Adding the block "Letters with diacritic ^"[แก้]

Adding the block "Pairs with Letter X"[แก้]

  • When the parameter is a straight letter A-Z, the block with letter pairs is shown.
  • When the parameter show pairs=yes/no is set, the pairs will show/hide accordingly:

{{อักษรละติน|À|show pairs=yes}}

More options[แก้]

  • When the parameter show diacritic 2= is used, a second block of diacritics will be shown:
  • {{อักษรละติน|A|show diacritic=grave|show diacritic 2=circumflex}}

Parameter list[แก้]

The full parameter list:

{{Latin script
|
| show diacritic =
| show diacritic 2 =
| show letter = 
| show pairs = 
}}

Input options are:

First, unnamed parameter: (default: the PAGENAME). The input where information is derived from: which basic A-Z letter, which diacritic is used?
show diacritic: (default: derived from first parameter). Which diacritic is shown: acute, hook, ... Also: if set to show diacritic=no the diacritic blok will not be shown at all.
show diacritic 2: Allows for the block of a second diacritic being shown.
show letter: (default: determined from input 1). Sets which block "Letter X with diacritics" is shown. Also: if set to show letter=no the diacritic blok will not be shown at all.
show pairs: (default:yes if input 1 = A-Z). If set to "yes", all pairs with basic input 1-letter are shown.

Editing the template[แก้]

Technical background

Template data[แก้]

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

ข้อมูลแม่แบบสำหรับ อักษรละติน (ยังไม่มีการตรวจสอบ)

ไม่มีคำอธิบาย

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

This template prefers block formatting of parameters.

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

The input where information is derived from: which basic A-Z letter, which diacritic is used?

ค่าปริยาย
Defaults to ((PAGENAME))
ค่าอัตโนมัติ
สตริงแนะนำ
Diactriticshow diacritic

Which diacritic is shown: acute, hook, ... Also: if set to show diacritic=no the diacritic block will not be shown at all.

ค่าปริยาย
This parameter defaults to the first parameter.
สตริงเลือกได้
2nd Diacriticshow diacritic 2

Allows for the block of a second diacritic being shown.

สตริงเลือกได้
Lettershow letter

Sets which block "Letter X with diacritics" is shown. Also: if set to show letter=no the diacritic block will not be shown at all.

ค่าปริยาย
This parameter defaults to the first parameter.
สตริงเลือกได้
Pairsshow pairs

If set to "yes", all pairs with basic input 1-letter are shown.

ค่าปริยาย
This parameter defaults to "yes" if input 1 = A-Z
ตรรกะเลือกได้

ดูเพิ่ม[แก้]