Difference between revisions of "Template:Ruby"

From Yugipedia
Jump to: navigation, search
(update per insights from browsing the original <http://www.w3.org/TR/ruby/> and HTML5 <http://bit.ly/HTML5Ruby> specs; move styles to CSS)
(subst /start and /end in, to make it play nice with HTML Ruby and XHTML Ruby Support plugins for Firefox)
Line 1: Line 1:
<noinclude>{{Ruby/start}}</noinclude>{{{1}}}<rp>(</rp><rt>{{{2}}}</rt><rp>)</rp><noinclude>{{Ruby/end}}
+
<ruby class="ruby-ja" lang="ja" xml:lang="ja">{{{1}}}<rp>(</rp><rt>{{{2}}}</rt><rp>)</rp></ruby><noinclude>
  
<pre>{{Ruby/start}}{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}{{Ruby/end}}ロキ</pre>
+
<pre>{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}ロキ</pre>
  
Results in {{Ruby/start}}{{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}{{Ruby/end}}ロキ
+
Results in {{Ruby|極|きょく}}{{Ruby|神|しん}}{{Ruby|皇|おう}}ロキ
 
</noinclude>
 
</noinclude>

Revision as of 17:00, 9 February 2011

{{{1}}}({{{2}}})

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

Results in きょくしんおうロキ