Difference between revisions of "Template:Ruby"
(It works without the rb tags, but it's handier for string functions if they're left in.) |
Dinoguy1000 (talk | contribs) (don't output Ruby syntax if no furigana is provided) |
||
Line 1: | Line 1: | ||
− | <ruby class="ruby-{{{lang|ja}}}" lang="{{{lang|ja}}}" xml:lang="{{{lang|ja}}}"><rb>{{{1}}}</rb><rp>(</rp><rt>{{{2}}}</rt><rp>)</rp></ruby><noinclude> | + | {{ |
+ | #if: {{{2<includeonly>|</includeonly>}}} | ||
+ | | <ruby class="ruby-{{{lang|ja}}}" lang="{{{lang|ja}}}" xml:lang="{{{lang|ja}}}"><rb>{{{1}}}</rb><rp>(</rp><rt>{{{2}}}</rt><rp>)</rp></ruby> | ||
+ | | {{{1}}} | ||
+ | }}<noinclude> | ||
<pre>{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}ロキ</pre> | <pre>{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}ロキ</pre> |
Revision as of 21:05, 22 May 2011
{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}ロキ
Results in