模板:Latn-def/doc
此页面是Template: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:
.
附加符号[编辑]
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) 参数:
|1=
语言编码,参见Appendix:语言列表。|2=
The type of definition. Usediacritic
.|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 参数 follow the aforementioned pattern.
Named 参数:
|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”),用于Á/á、É/é、Í/í、Ó/ó和Ú/ú。 |
字母[编辑]
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) 参数:
|1=
语言编码,参见Appendix:语言列表。|2=
The type of definition. Useletter
.|3=
The letter's place in the alphabet. (e. g.,3
or24
)|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个字母,名称为cá并以拉丁文字书写。 | |
X | {{Latn-def|vi|letter|28|ích|ích xì|xờ|xờ nhẹ}} |
越南语字母表的第28个字母,名称为ích、ích xì、xờ 或 xờ nhẹ并以拉丁文字书写。 |
字母名称[编辑]
Note: This template does categorize Latin script letter names as a topical category of each individual language, for 范例 into Category:Latin letter names, Category:ja:Latin letter names or Category:pt:Latin letter names.
- 参数
All are positional (unnamed) 参数:
|1=
语言编码,参见Appendix:语言列表。|2=
The type of definition. Usename
.|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的名称。 | |
bo | {{Latn-def|eo|name|B|b}} |
拉丁文字字母B的名称。 | |
dáblio | {{Latn-def|pt|name|W|w}} |
拉丁文字字母W的名称。 |
序数[编辑]
Note: This template categorizes Latin script ordinal numbers as a lexical category of each individual language, for 范例 into Category:English ordinal numbers, Category:Japanese ordinal numbers or Category:Portuguese ordinal numbers.
- 参数
All are positional (unnamed) 参数:
|1=
语言编码,参见Appendix:语言列表。|2=
The type of definition. Useordinal
.|3=
The letter's place in the alphabet. (e. g.,3
or24
)|4=
The name of the number.|5=
An alternative name of the number.|6=
Another alternative name of the number.
日语罗马字音节[编辑]
Note: The categorization of Japanese romanized syllables is supposed to be the work of {{ja-syllable}}
, not of this template.
- 参数
All are positional (unnamed) 参数:
|1=
The language 编码. Useja
.|2=
The type of definition. Usesyllable
.|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}} |
平假名音节ば (ba) 或 片假名音节バ (ba)的平文式罗马字名称。 |