Difference between revisions of "Template:Ruby"

From Yugipedia
Jump to: navigation, search
(fix example)
(update per insights from browsing the original <http://www.w3.org/TR/ruby/> and HTML5 <http://bit.ly/HTML5Ruby> specs; move styles to CSS)
Line 1: Line 1:
<noinclude>{{Ruby/start}}</noinclude><rb>{{{1}}}</rb><rp>(</rp><rt style="font-family: 'Arial Unicode MS', 'Bitstream Cyberbit', 'TITUS Cyberbit Basic', 'Lucida Sans Unicode'; font-family /**/:inherit;"><span style="font-family: 'Arial Unicode MS', 'Arial';">{{{2}}}</span></rt><rp>)</rp><noinclude>{{Ruby/end}}
+
<noinclude>{{Ruby/start}}</noinclude>{{{1}}}<rp>(</rp><rt>{{{2}}}</rt><rp>)</rp><noinclude>{{Ruby/end}}
  
 
<pre>{{Ruby/start}}{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}{{Ruby/end}}ロキ</pre>
 
<pre>{{Ruby/start}}{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}{{Ruby/end}}ロキ</pre>

Revision as of 02:17, 2 December 2010

Template:Ruby/start{{{1}}}({{{2}}})Template:Ruby/end

{{Ruby/start}}{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}{{Ruby/end}}ロキ

Results in Template:Ruby/startきょくしんおうTemplate:Ruby/endロキ