Template:Ruby/doc: Difference between revisions

Added usage instructions
Added link and used pre instead of nowiki.
Line 1: Line 1:
This template is a shortcut for the <ruby> tag.
This template is a shortcut for the [[Wikipedia:Ruby character|<ruby>]] tag.
==Usage==
==Usage==
Entering this...<br />
Entering this...<br />
<nowiki>{{ruby|兎用心棒|うさぎよじんぼ}}</nowiki><br />
<pre>{{ruby|兎用心棒|うさぎよじんぼ}}</pre>
...will result in this...<br />
...will result in this...<br />
{{ruby|兎用心棒|うさぎよじんぼ}}
{{ruby|兎用心棒|うさぎよじんぼ}}