Template:ja-accent-standard/documentation

Usage
Usage:

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
This gives:

This gives:

This gives:

This gives:

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