Template:Kana
Jump to navigation
Jump to search
[[{{{1}}}]] [[{{{1}}}]]
This template takes two parameters. The first is the name or transcription of a Japanese Kana character in roman letters. The second parameter specifies the output and is optional. Its supported values are listed below, the default is Hrkt. The additional third parameter should be used by name, either spacer for the text string between Hiragana and Katakana characters or phon for an override of the automatic phonetic transcription.
Hira
- hands the first parameter to {{Hiragana}}
Kata
- hands the first parameter to {{Katakana}}
Hentai
- hands the first parameter to {{Hentaigana}} — not implemented yet!
Hrkt
or- nothing
- hands the first parameter to both, {{Hiragana}} and {{Katakana}} and puts the contents of spacer in between, defaulting to the ideographic space (U+3000)
Latn
orRoman
- currently only provides a link to the article on the kana specified
-
- explicitly outputs nothing
The output of Kana characters always is in a bigger font size and falls back to displaying the first parameter.
In many instances you might want to use this template with subst:
.
{{Kana|mu|Hira}} |
む |
{{Kana|n|Kata}} |
ン |
{{Kana|tu}} |
つ ツ |
{{Kana|ri|Hrkt}} |
り リ |
{{Kana|di|Latn}} |
di |
{{Kana|ji|Latn}} |
ji |
{{Kana|ka}} |
か カ |
{{Kana|su|Hira|,}} |
す |
{{Kana|ra|spacer=, }} |
ら, ラ |
{{Kana|ha|IPA}} |
ha |
{{Kana|shi|IPA}} |
ɕi |
{{Kana|si|IPA|phon=ʃi}} |
ʃi |
{{Kana|n}} |
ん ン |
{{Kana|choon}} |
ー ー |
{{Kana|dot}} |
dot ・ |
{{Kana|sokuon}} |
っ ッ |
{{Kana|voiced iteration}} |
ゞ ヾ |
The above documentation is transcluded from Template:Kana/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |