Difference between revisions of "Template:Ruby"
Dinoguy1000 (talk | contribs) m (Protected "Template:Ruby": widely-used template ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
Dinoguy1000 (talk | contribs) (a couple things) |
||
Line 11: | Line 11: | ||
Non-Japanese text must specify the language using an [[wikipedia:List of ISO 639-1 codes|ISO 639-1 code]] (commonly-used ones are "en" for English, "ko" for Korean, and "zh" for Chinese) via the "lang" parameter: <pre>{{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌</pre> | Non-Japanese text must specify the language using an [[wikipedia:List of ISO 639-1 codes|ISO 639-1 code]] (commonly-used ones are "en" for English, "ko" for Korean, and "zh" for Chinese) via the "lang" parameter: <pre>{{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌</pre> | ||
− | Results in {{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌 | + | Results in {{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌 (compare with how it looks without the "lang" parameter: {{Ruby|BF|블랙페더}}-탱구바람 히렌) |
+ | |||
+ | Ruby markup is styled with CSS in [[MediaWiki:Common.css]] allowing it to appear properly in Mozilla Firefox, which doesn't natively support the markup. | ||
== See also == | == See also == |
Revision as of 08:57, 3 February 2015
{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}ロキ
Results in
Non-Japanese text must specify the language using an ISO 639-1 code (commonly-used ones are "en" for English, "ko" for Korean, and "zh" for Chinese) via the "lang" parameter:
{{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌
Results in
Ruby markup is styled with CSS in MediaWiki:Common.css allowing it to appear properly in Mozilla Firefox, which doesn't natively support the markup.
See also
- {{Ruby/detect}}
- {{Ruby/split}}
- Template:Ruby-ja on Wikipedia
- Template:Ruby-zh-b on Wikipedia
- Template:Ruby-zh-p on Wikipedia