Jump to content

Template:ja-accent-standard

From Wiktionary, the free dictionary
This template is going to be deleted.
Template:ja-accent-standard is deprecated or has failed Wiktionary:Requests for deletion/Others.

It has been replaced by Template:ja-pron.

Please do not use this template, and remove it from pages that use it.


Usage

[edit]

Usage: {{ja-accent-standard|accent=accent type number|mora1|mora2|mora3...}}

accent type number: the accented mora, counting from left. 0 if no accented mora, i.e. heiban (平板型). So if the second mora is accented, this is 2. Note that small "っ", and "ー" (as in カード) count as one mora, whereas other small "ゅ", "ょ" etc, do not. Instead they're part of the proceeding mora. E.g. "せっしょく" consists of 4 morae: せ|っ|しょ|く.

Examples

[edit]
{{ja-accent-standard|accent=0|し|め|い}}
This gives: めい [0]
{{ja-accent-standard|accent=1|あ|う}}
This gives: [1]
{{ja-accent-standard|accent=3|こ|と|ば}}
This gives: [3]
{{ja-accent-standard|accent=2|に|ほ|ん}}
This gives: [2]

Limits

[edit]

Currently only supports up to 10 morae and accent 0 to 4. Feel free to update template if necessary.

See also

[edit]