Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module:Hepburner/doc

From Wikipedia, the free encyclopedia

Romanizes double vowels per the standard outlined in Hepburn Romanization.
Please use Template:Hepburn, which implements this module, instead of using the module 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.