模板: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)的平文式羅馬字名稱。 |