සැකිල්ල:ja-noun/documentation
This template is used to display a headword-line for a Japanese noun. It should be used beneath a ===Noun===
header. Do not use this for proper nouns, which require {{ja-pos}}
and go under a ===Proper noun===
header.
The template automatically categorizes the entry into Category:Japanese nouns.
The entry is automatically added to Category:Japanese hiragana or Category:Japanese katakana as the case may be.
Parameters
[සංස්කරණය]General
[සංස්කරණය]|1=
and|2=
,|3=
...- The kana forms of the word, with transliteration markups.
- In kana-titled entries, this parameter is optional. It can be used to provide transliteration markups, hiragana-katakana variant form, or links in the headword.
- In entries whose titles are not pure kana, this parameter is required. Unlike in kana-titled entries, hiragana-katakana variant form and links in this parameter will be ignored. For links, use
|head=
instead.
- Important: Template:ja-pos use a slightly different format.
|1=
is POS ("adverb", etc). All kana forms come after it starting from|2=
. |rom=
(optional) and|rom2=
,|rom3=
...- Manual transliteration that overrides the automatically generated ones.
|head=
(optional) and|head2=
,|head3=
...- Overrides the non-kana form used with the corresponding kana form to generate the displayed ruby headword. It may contain links and some ruby markups. This parameter has no effect in kana-titled entries.
|label=
(optional) and|label2=
,|label3=
...- A label to be displayed beside the corresponding displayed headword. E.g.
|label2=less common
. |hist=
(optional) and|hist2=
,|hist3=
...- Historical kana forms.
Noun
[සංස්කරණය]|count=
(optional)- The counter for the noun. Use
|count=-
for uncountable.
Examples
[සංස්කරණය]For the noun あい, everything is automatic. No parameters need be set:
{{ja-noun}}
Output:
- あい (ai)
For the noun 藍色:
{{ja-noun|あい.いろ}}
Output:
- 藍色 (aiiro)
For the entry パソコン:
{{ja-noun|count=台}}
Output:
TemplateData
[සංස්කරණය]TemplateData for ja-noun
Entry header for Japanese nouns
Parameter | Description | Type | Status | |
---|---|---|---|---|
kana | 1 | Kana for the term
| String | optional |
historical kana | hist | Kana transcription of the term, if a historical form differed from present
| String | optional |
romaji | rom | Romanization, which is usually autogenerated but can be overriden
| String | optional |