แม่แบบ:ja-noun
- The following documentation is located at แม่แบบ:ja-noun/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
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=
and|rom2=
,|rom3=
...- Manual transliteration that overrides the automatically generated ones.
|head=
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=
and|label2=
,|label3=
...- A label to be displayed beside the corresponding displayed headword. E.g.
|label2=less common
. |hist=
and|hist2=
,|hist3=
...- Historical kana forms.
Noun
[แก้ไข]|count=
- 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
[แก้ไข]Entry header for Japanese nouns
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
kana | 1 | Kana for the term
| สตริง | เลือกได้ |
historical kana | hist | Kana transcription of the term, if a historical form differed from present
| สตริง | เลือกได้ |
romaji | rom | Romanization, which is usually autogenerated but can be overriden
| สตริง | เลือกได้ |