Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Ruby character
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Markup examples === Below are a few examples of ruby markup. The markup is shown first, and the rendered markup is shown next, followed by the unmarked version. Web browsers either render it with the correct size and positioning as shown in the table-based examples above, or use the fallback rendering with the ruby characters in parentheses: {| class="wikitable" |- ! || colspan="2" | XHTML || CSS level 2<ref name="css2_ruby" /> |- ! scope="row" | Markup | <syntaxhighlight lang="html"> <ruby> 東京 <rp>(</rp> <rt>とうきょう</rt><rp>)</rp> </ruby> </syntaxhighlight> | <syntaxhighlight lang="html"> <ruby> 北 <rp>(</rp><rt>ㄅㄟˇ</rt><rp>)</rp> 京 <rp>(</rp><rt>ㄐㄧㄥ</rt><rp>)</rp> </ruby> </syntaxhighlight> | <syntaxhighlight lang="html"> <ruby> <rbc><rb>振</rb><rb>り</rb><rb>仮</rb><rb>名</rb><rp>(</rp></rbc> <rtc><rt>ふ</rt><rt>り</rt><rt>が</rt><rt>な</rt><rp>)</rp></rtc> </ruby> </syntaxhighlight> |- style="height:70px" ! scope="row" | Rendered | <ruby style="font-size:2em;" lang="ja"> <rb>東京</rb><rp>(</rp> <rt>とうきょう</rt><rp>)</rp> </ruby> | <ruby style="font-size:2em;" lang="zh-Hant"> <rb>北</rb><rp>(</rp><rt>ㄅㄟˇ</rt><rp>)</rp> <rb>京</rb><rp>(</rp><rt>ㄐㄧㄥ</rt><rp>)</rp> </ruby> | <ruby style="font-size:2em;" lang="ja"> <rb>振</rb><rp>(</rp><rt>ふ</rt><rp>)</rp>り</ruby><ruby style="font-size:2em;" lang="ja"><rb>仮</rb><rp>(</rp><rt>が</rt><rp>)</rp><rb>名</rb><rp>(</rp><rt>な</rt><rp>)</rp> </ruby><br /> <small>By default, the code above will come to the effect below. To achieve this effect, you may need further CSS styling.</small> |- style="height:70px" ! scope="row" | Unmarked | style="font-size:1.2em" lang="ja" | 東京(とうきょう) | style="font-size:1.2em" lang="zh-Hant" | 北(ㄅㄟˇ)京(ㄐㄧㄥ) | style="font-size:1.2em" lang="ja" | 振り仮名(ふりがな) |} Note that Chinese ruby text would normally be displayed in vertical columns to the right of each character. This approach is not typically supported in browsers at present. This is a table-based example of vertical columns: {| |style="line-height:1em; font-size:2em; vertical-align:middle" |{{lang|zh-Hant|瓶}} || style="line-height:1em; font-size:0.8em; vertical-align:middle" | {{lang|zh-tw|ㄆ<br />ㄧ<br />ㄥˊ}} |- |style="line-height:1em; font-size:2em; vertical-align:middle" | {{lang|zh-Hant|子}} || style="line-height:1em; font-size:0.8em; vertical-align:middle" | {{lang|zh-tw|˙<br />ㄗ}} |}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Ruby character
(section)
Add topic