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.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21e2cdcff0f3014

Jump to content

Template:Ruby line/doc

From Wikipedia, the free encyclopedia

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

See also: Ruby character.

Usage

[edit]

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:

<span style="font-size: 2em;">Lorem ipsum {{Ruby line
	| 鬼: き
	| 門: もん
	|| 方: ほう
	| 角: がく
	|| 凝: ぎょう
	| 視: し
	| する
}}</span>

Effect:

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

Manuscript:

<span style="font-size: 2em;">Lorem ipsum {{Ruby line
	| 鬼: き
	| 門: もん
	|| 方: ほう
	| 角: がく
	|| 凝: ぎょう
	| 視: し
	| する
}}</span>

Effect:

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

Manuscript:

<span style="font-size: 2em;">Lorem ipsum {{Ruby line
	| Shall: ʃal
	|
	| I: əɪ
	|
	| compare: kəmpɛː˞
	|
	| thee: ðɪ
	|
	| to: tə̹
	|
	| a: ə
	|
	| summer's: sɤmə˞z
	|
	| day?: dɛː
}}</span>

or

<span style="font-size: 2em;">Lorem ipsum {{Ruby line|Shall: ʃal| |I: əɪ| |compare: kəmpɛː˞| |thee: ðɪ| |to: tə̹| |a: ə| |summer's: sɤmə˞z| |day?: dɛː}}</span>

Effect:

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

See also

[edit]