Jump to content

Module:Hepburner/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DarmaniLink (talk | contribs) at 18:53, 8 March 2024 (note). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Romanizes double vowels per the standard outlined in Hepburn Romanization. Implemented in Template:Hepburn - Please use this instead of using this directly. It enforces subst for this *very* costly module.

Any double vowels will get converted to a long vowel, ou will get converted to ō.

{{#invoke:Hepburner|toHepburn|Kinou}} => Kinō
{{#invoke:Hepburner|toHepburn|Ooki}} => Ōki
{{#invoke:Hepburner|toHepburn|kara-age}} => kara-age
{{#invoke:Hepburner|toHepburn|sakkaa}} => sakkā
{{#invoke:Hepburner|toHepburn|raamen}} => rāmen
{{#invoke:Hepburner|toHepburn|ヴィデオ}} => video
{{#invoke:Hepburner|toHepburn|いこう}} => ikō
{{#invoke:Hepburner|toHepburn|やった}} => yatta
{{#invoke:Hepburner|toHepburn|いきましょう}} => ikimashō
{{#invoke:Hepburner|toHepburn|ちゅうにびょう}} => chūnibyō
{{#invoke:Hepburner|toHepburn|つづく}} => tsudzuku
note: oU aA or the like will break it. You should never, ever, ever do this regardless, but note that is a limitation. If you need that, add it to the list, following the current pattern.