模:ja-pron/doc
模:documentation subpage Japanese pronunciation template, relying on Module:ja-pron.
Parameters
編輯No compulsory parameter for hiragana/katakana-titled entries. Kanji-containing titles will need a kana parameter 1, written with spaces as in the headword templates. Without any other parameters, this would give the IPA only.
Optional parameters:
|acc=
,|accent=
- Pitch accent pattern. This refers to the position of the accented mora (not syllable or kana, not counting spaces), and is consistent with the accent number in Japanese dictionaries. There are four types of pitch accent patterns, heiban (0 or h), atamadaka (1 or a), odaka (o) or nakadaka (specify number). The accent type is determined in two steps:
- if the parameter string contains any of '0', '1', 'a', 'o', 'h', then accent type is 'h', 'a', 'a', 'o', 'h', respectively.
- if not, remove all 'o', 'n' from the string. If the string, as a number, is equal to the number of morae in the text, then accent type is 'o', otherwise, it is 'n' with accented mora specified by the parameter value.
- Default is Tokyo pitch accent. To specify a different location or dialect, use
|acc_loc=
or|accent_loc=
. - There is an optional reference at the end. By default it is empty. You can specify the value using abbreviations of reference names, e.g.
|acc_ref=
or|accent_ref=
NHK,SMK5,DJR. You can also do it the conventional way,|acc_ref=
<ref name="NHK">{{R:NHK Hatsuon}}</ref>. - There is also an optional note section following the reference.
|acc_note=
, or|accent_note=
- Pitch accent pattern. This refers to the position of the accented mora (not syllable or kana, not counting spaces), and is consistent with the accent number in Japanese dictionaries. There are four types of pitch accent patterns, heiban (0 or h), atamadaka (1 or a), odaka (o) or nakadaka (specify number). The accent type is determined in two steps:
|acc2=
,|accent2=
- Second pitch accent pattern. Associated parameters:
|acc2_loc=
,|accent2_loc=
,|acc2_ref=
,|accent2_ref=
,|acc2_note=
,|accent2_note=
. If a second reading is present in parameter 2, then it uses that reading. Otherwise, it uses reading in parameter 1 or pagename if parameter 1 is empty.
- Second pitch accent pattern. Associated parameters:
|acc3=
,|accent3=
,|acc4=
,|accent4=
,|acc5=
,|accent5=
- As above, more patterns.
|dev=
- Position of mora with devoiced vowel in the input kana string (not counting spaces). Will be applied to IPA, and any accent lines using the reading. See below for examples.
|a=
,|audio=
- Audio filename with extension.
Empty template
編輯{{ja-pron|PHONETIC|acc=}}
Examples
編輯{{ja-pron|せいしん ぶんれつ びょう|acc=h}}
{{ja-pron|とうごう しっちょう しょう|acc=0}}
{{ja-pron|acc=h}}
{{ja-pron|はねつき|acc=o|acc2=2}}
{{ja-pron|きんぎんか|acc=3}}
{{ja-pron|acc=4}}
{{ja-pron|ひばくしゃ|acc=2|acc2=3|dev=3|acc_ref=NHK,SMK5|acc2_ref=NHK,SMK5}}
- (東京) ひばくしゃ [hìbáꜜk
ùshà] (中高型 – [2])[1][2] - (東京) ひばくしゃ [hìbák
úꜜshà] (中高型 – [3])[1][2] - 國際音標 (解):[çiba̠kɯ̟̊ᵝɕa̠]
{{ja-pron|acc=a|acc_ref=NHK|acc2=h|acc2_ref=NHK|acc2_note=limited to the ''tape deck'' sense}}
- (東京) デッキ [déꜜkkì] (頭高型 – [1])[1]
- (東京) デッキ [dèkkí] (平板型 – [0])[1] limited to the tape deck sense
- 國際音標 (解):[de̞k̚ʲkʲi]
{{ja-pron|こげつく|acc=h|acc2=3|dev=3|acc_ref=NHK|acc2_ref=NHK}}
- (東京) こげつく [kògéts
úkú] (平板型 – [0])[1] - (東京) こげつく [kògéts
úꜜkù] (中高型 – [3])[1] - 國際音標 (解):[ko̞ɡe̞t͡sɨ̥ᵝkɯ̟ᵝ]
{{ja-pron|つくよみ|つきよみ|acc=h|acc2=h|dev=1|acc2_ref=NHK}}
- (東京) つくよみ [ts
ùkúyómí] (平板型 – [0]) - (東京) つきよみ [ts
ùkíyómí] (平板型 – [0])[1] - 國際音標 (解):[t͡sɨ̥ᵝkɯ̟ᵝjo̞mʲi]
- 國際音標 (解):[t͡sɨ̥ᵝkʲijo̞mʲi]
{{ja-pron|ひゃくしょう|acc=3|acc_ref=NHK|dev=2}}
{{ja-pron|だいこん やくしゃ|acc=5|acc_ref=DJR,NHK|dev=6}}
{{ja-pron|ローマじ|acc=h|acc2=3|a=Romaji.ogg}}
{{ja-pron|スペ.イン|acc=2|dev=1}}
{{ja-pron|ひとつき|acc=2|dev=1,3}}
References
編輯