Template:ja-spellings
- The following documentation is located at Template:ja-spellings/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Template for listing the spellings of a Japanese word, using Module:ja-spellings to do its job.
A Japanese word always has a kana spelling and usually has one or more kanji spellings. For each word, one spelling is chosen by the editors as the main entry on Wiktionary to hold all information of the word. {{ja-spellings}}
is used on the main entry to list and link to the other spellings, and {{ja-see}}
is used on the pages of the other spellings to link to the main entry.
If there are multiple etymologies (homographs), the template should be placed immediately below the ===Etymology n===
header of the word it describes. Otherwise, it should be placed immediately below the ==Japanese==
header, or the whole ===Kanji===
section in the case of kanji entries, above any other header (including ===Etymology===
)
Parameters
- (1st .. nth parameters)
- Modern kana spellings and modern kanji (or kanji-kana mixed) spellings
|h=
,|h2=
, …|notes=
(or|note=
)- Notes on the spellings.
Rōmaji is not in the scope of this template because it is POS-specific.
Note: There is currently no consensus on how to present kyūjitai, or even which shinjitai standard to follow (e.g. 籠 vs 篭).
Examples
Hiragana | modern | まっとう |
---|---|---|
historical | まつたう | |
Kanji | 全う 真っ当 完う | |
Notes | 真っ当 – ateji, adjective only 完う – literary |
{{ja-spellings|全う|真っ当|完う|h=まつたう|notes=真っ当 - ateji, adjective only;完う - literary}}
Hiragana | modern | まんようしゅう |
---|---|---|
historical | まんえふしふ | |
Kanji | 万葉集 |
{{ja-spellings|まんようしゅう|h=まんえふしふ}}
Hiragana | modern | おいはらう |
---|---|---|
historical | おひはらふ | |
Kanji | 追い払う 追いはらう 追払う |
{{ja-spellings|追い払う|追いはらう|追払う|h=おひはらふ}}
(Just list the spellings likely to be encountered in modern texts. Special spellings such as 追払 and historically attested ones such as 追い払らう, 追払らう, 追ひ払ふ, 追払ふ, 追払らふ, 追い拂う, 追拂う, 追ひ拂ふ, 追拂ふ, 追拂らふ, and 追ひはらふ are best handled by some other mechanisms.)
Technical details
- The
|pagename=
parameter can be used for testing. - The template checks the pages the key spellings (modern kana and kanji) link to to see if they link back with
{{ja-see}}
or{{ja-see-kango}}
.