Jump to content

Template:Linked Ruby/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This template extends the {{Ruby}} template so that the resultant text and annotation are given a link to a Wikipedia article.

The first parameter is the base (the lower part), the second is the Ruby text (the smaller part on top or in parentheses), and the third is the Wikipedia link to be linked to. If the third parameter is empty, the link defaults to a wikilink of the text defined in the second parameter (the Ruby text).


Examples:

Markup Renders as
{{Linked Ruby|李|Li|Li (surname 李)}}

(Li)

{{Linked Ruby|諸葛|Zhuge}}

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Linked Ruby in articles based on its TemplateData.

TemplateData for Linked Ruby

Shows a Chinese, Kanji or other phrase with Ruby text above it and wraps the resultant text with a wikilink

Template parameters

ParameterDescriptionTypeStatus
Base1

Text in Kana or Chinese characters to be annotated

Example
Linerequired
Annotation2

Hiragana, romanization or other transcription; shown above the Base text

Example
Li
Linerequired
Link3

The article to go to

Default
Will generate a link specified by the Annotation field if this field is empty.
Example
Li (surname 李)
Page namesuggested