Template:Ruby line/doc

From English Wikipedia @ Freddythechick

__EXPECTUNUSEDTEMPLATE__

This template is similar to {{Ruby}}, with the difference that it allows to annotate series of characters easily.

See also: Ruby character.

Usage

Use the colon (:) to separate the text from its annotation (use : if you want the colon not to be treated as a metacharacter). To change general features (e.g. font size, color, etc.) wrap the template into a custom container.

Manuscript:

<syntaxhighlight lang="wikitext">Lorem ipsum ()(もん) (ほう)(がく) (ぎょう)() する</syntaxhighlight>

Effect:

Lorem ipsum ()(もん) (ほう)(がく) (ぎょう)() する

Manuscript:

<syntaxhighlight lang="wikitext">Lorem ipsum Shall (ʃal) I (əɪ) compare (kəmpɛː˞) thee (ðɪ) to (tə̹) a (ə) summer's (sɤmə˞z) day? (dɛː) </syntaxhighlight>

Effect:

Lorem ipsum Shall (ʃal) I (əɪ) compare (kəmpɛː˞) thee (ðɪ) to (tə̹) a (ə) summer's (sɤmə˞z) day? (dɛː)

See also