Template:Ruby: Difference between revisions

Content deleted Content added
imported>Hildawn
No edit summary
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1:
{{
#if: {{{2<includeonly>|</includeonly>}}}
| <ruby class="rubytext ruby-{{{lang|ja}}} noexcerpt" lang="{{{lang|ja}}}" xml:lang="{{{lang|ja}}}"><rb>{{{1}}}</rb><rp>(</rp><rt>{{{2}}}</rt><rp>)</rp></ruby>
| {{{1}}}[[Category:Pages with an unnecessary Ruby transclusion]]
}}{{ #ifeq: {{{3|¬}}} | ¬ || [[Category:Ruby transclusions with too many parameters]] }}<noinclude>
Line 9:
Results in {{Ruby|星の白金|スタープラチナ}}
 
Non-Japanese text must specify the language using an [[wikipedia:{{W|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}}-탱구바람 히렌
Line 16:
* {{t|Ruby/detect}}
* {{t|Ruby/split}}
* [[wikipedia:Template:Ruby-ja{{W|Template:Ruby-ja]]}} on Wikipedia
* [[wikipedia:Template:Ruby-zh-b{{W|Template:Ruby-zh-b]]}} on Wikipedia
* [[wikipedia:Template:Ruby-zh-p{{W|Template:Ruby-zh-p]]}} on Wikipedia
 
[[Category:Design Templates]]
</noinclude>