แม่แบบ:ja-noun/documentation

จาก วิกิพจนานุกรม พจนานุกรมเสรี
เอกสารการใช้งานสำหรับ แม่แบบ:ja-noun [แก้ไข]
หน้านี้มีข้อมูลวิธีการใช้งาน หมวดหมู่ ลิงก์ข้ามวิกิ และเนื้อหาอย่างอื่นที่อธิบายแม่แบบ

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:

パソコン (pasokon (คำลักษณนาม )

TemplateData[แก้ไข]

แม่แบบ:TemplateDataHeader

Entry header for Japanese nouns

พารามิเตอร์แม่แบบ[แก้ไขข้อมูลแม่แบบ]

แม่แบบนี้ต้องการการจัดรูปแบบพารามิเตอร์แบบอินไลน์

พารามิเตอร์คำอธิบายชนิดสถานะ
kana1

Kana for the term

ตัวอย่าง
とうきょう
สตริงเลือกได้
historical kanahist

Kana transcription of the term, if a historical form differed from present

ตัวอย่าง
とうきやう
สตริงเลือกได้
romajirom

Romanization, which is usually autogenerated but can be overriden

ตัวอย่าง
Tōkyo
สตริงเลือกได้