Template:Linked Ruby
Appearance
[[{{{2}}}|{{{1}}}]]
Per Wikipedia:Manual of Style/Japan-related articles § Ruby, do not use this template in articles, except when they are about ruby characters themselves, or it is needed to accurately quote something that includes ruby characters. |
This template uses TemplateStyles: |
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 李)}} |
|
{{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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Base | 1 | Text in Kana or Chinese characters to be annotated
| Line | required |
Annotation | 2 | Hiragana, romanization or other transcription; shown above the Base text
| Line | required |
Link | 3 | The article to go to
| Page name | suggested |