Difference between revisions of "Template:Furigana"

From Baka-Tsuki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<span style="position: relative;"><span style="position: absolute; font-size: {{{3|.8em}}}; top: -{{{margin|11}}}px; left: 50%; white-space: nowrap; letter-spacing: {{{spacing|normal}}}; color: {{{color2|inherit}}}; font-weight: {{{fontWeight|inherit}}}; font-style: {{{fontStyle|inherit}}};"><span style="position: relative; left: -50%;">{{{2}}}</span></span><span style="color: {{{color|inherit}}};">{{{1}}}</span></span><noinclude>
+
<span style="position: relative;"><span style="position: absolute; font-size: {{{3|.8em}}}; top: -{{{margin|11}}}px; left: 50%; white-space: nowrap; letter-spacing: {{{spacing|normal}}}; color: {{{color2|inherit}}}; font-weight: {{{fontWeight|inherit}}}; font-style: {{{fontStyle|inherit}}};"><span style="position: relative; left: -50%;">{{{2}}}</span></span><span style="color: {{{color1|inherit}}};">{{{1}}}</span></span><noinclude>
   
 
----
 
----
'''Usage: <nowiki>{{AltRead|Text|Furigana}}</nowiki>'''
+
'''Usage: <nowiki>{{Furigana|Text|Furigana}}</nowiki>'''
   
   

Revision as of 17:41, 1 May 2011

{{{2}}}{{{1}}}


Usage: {{Furigana|Text|Furigana}}


1 : Text (the written text).

2 : Furigana (the reading of the text)


Possible other options:

[3] : font-size

[margin] : size of the gap between text and furigana.

[spacing] : letter spacing

[color1] : color of Text

[color2] : color of Furigana

[fontWeight] : thinner/normal/bold/bolder/100-900

[fontStyle] : italic/oblique/normal


Author: EusthEnoptEron

administrated by larethian