Difference between revisions of "Template:Ruby"

From Yugipedia
Jump to: navigation, search
(add a catch-all class name (this may break more pages due to the added length, so keep an eye out and use {{Hide Factbox}} where necessary) and document the "lang" parameter finally)
(add a note about page breakage and what to do)
Line 12: Line 12:
  
 
Results in {{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌
 
Results in {{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌
 +
 +
When used in the [[Template:CardTable2/doc/languages#Names|"name" parameters]] in {{t|CardTable2}}, this template may create output that results in a visibly broken page layout. In such cases, {{t|Hide Factbox}} should be added to the top of the card page; this will hide the SMW factbox and add the page to a [[:Category:Pages with a suppressed SMW factbox|tracking category]].
 
</noinclude>
 
</noinclude>

Revision as of 17:19, 10 August 2011

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

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

Results in きょくしんおうロキ

Non-Japanese text must specify the language using an ISO 639-1 code (commonly-used ones are "en" for English, "ko" for Korean, and "zh" for Chinese) and the "lang" parameter:

{{Ruby|BF|블랙페더|lang=ko}}-탱구바람 히렌

Results in BF블랙페더-탱구바람 히렌

When used in the "name" parameters in {{CardTable2}}, this template may create output that results in a visibly broken page layout. In such cases, {{Hide Factbox}} should be added to the top of the card page; this will hide the SMW factbox and add the page to a tracking category.