Jump to content

Template:letters/documentation

From Wiktionary, the free dictionary
Documentation for Template:letters. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template generates a list of letter names using Module:letters. It uses the function letterNames if the template is used in appendices (such as Appendix:Letters/English), and the function letterNames2 elsewhere, such as in the entry a.

Parameters

[edit]
|lang=
(required) Language code: for instance, en.
|sc=
(required) Script code: for instance, Latn for Latin script.
|native name=
(optional) The word for “letter” in the language in question.
|1=, |2=, |3=, ...
(required) The letters. If the script has uppercase and lowercase characters, place uppercase and lowercase in the same parameter: for instance, |1=Aa. If one letter consists of more than one character, separate them by slashes: for instance, |3=Ch/ch. If a non-Latin-script letter consisting of more than one character has no uppercase or lowercase equivalent, precede it by *: for instance, |5=*ӏу.

Example

[edit]

Hungarian letters (see {{Template:list:Latin script letters/hu}}):

{{letters
|lang=hu|sc=Latn
|native name=betű
|Aa|Áá|Bb|Cc|Cs/cs|Dd|Dz/dz|Dzs/dzs|Ee|Éé|Ff|Gg|Gy/gy|Hh|Ii|Íí|Jj|Kk|Ll|Ly/ly|Mm|Nn|Ny/ny|Oo|Óó|Öö|Őő|Pp|Qq|Rr|Ss|Sz/sz|Tt|Ty/ty|Uu|Úú|Üü|Űű|Vv|Ww|Xx|Yy|Zz|Zs/zs}}