Difference between revisions of "Template:Furigana"

From Baka-Tsuki
Jump to navigation Jump to search
m (Protected "Template:Furigana" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
m (Undo revision 554673 by PkMnTrainerMattL (talk))
 
(10 intermediate revisions by 3 users not shown)
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: {{{color1|inherit}}};">{{{1}}}</span></span><noinclude>
+
<span style="white-space: nowrap; 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="display: inline-block; color: {{{color1|inherit}}}; letter-spacing: {{{okurispacing|normal}}}; font-size: {{{okurifontSize|1.0em}}}; font-weight: {{{okurifontWeight|inherit}}};">{{{1}}}</span></span><noinclude>
 
----
 
----
   
Line 18: Line 18:
   
 
[{{padright:spacing|10| }}] : letter spacing between Furigana (default: normal)
 
[{{padright:spacing|10| }}] : letter spacing between Furigana (default: normal)
  +
  +
[{{padright:okurispacing|10| }}] : letter spacing between Okurigana (default: normal)
   
 
[{{padright:color1|10| }}] : color of Text (default: inherit)
 
[{{padright:color1|10| }}] : color of Text (default: inherit)
Line 24: Line 26:
   
 
[{{padright:fontWeight|10| }}] : thinner/normal/bold/bolder/100-900 (font weight of Furigana) (default: inherit)
 
[{{padright:fontWeight|10| }}] : thinner/normal/bold/bolder/100-900 (font weight of Furigana) (default: inherit)
  +
  +
[{{padright:okurifontSize|10| }}] : font size of Okurigana (default: 1.0em)
  +
  +
[{{padright:okurifontWeight|10| }}] : thinner/normal/bold/bolder/100-900 (font weight of Okurigana) (default: inherit)
   
 
[{{padright:fontStyle|10| }}] : italic/oblique/normal (font style of Furigana) (default: inherit)
 
[{{padright:fontStyle|10| }}] : italic/oblique/normal (font style of Furigana) (default: inherit)
Line 34: Line 40:
   
 
''administrated by [[user:larethian|larethian]]; [[user:larethian|contact larethian or any supervisor and up]] for required changes''
 
''administrated by [[user:larethian|larethian]]; [[user:larethian|contact larethian or any supervisor and up]] for required changes''
  +
</noinclude>

Latest revision as of 23:49, 4 May 2019

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



Usage: {{Furigana|Text|Furigana}}


1 : Text (the written text).

2 : Furigana (the reading of the text)


Possible other options:

[3] : font-size of Furigana (default: .8em)

[margin] : px size of the gap between Text and Furigana. (default: 11)

[spacing] : letter spacing between Furigana (default: normal)

[okurispacing] : letter spacing between Okurigana (default: normal)

[color1] : color of Text (default: inherit)

[color2] : color of Furigana (default: inherit)

[fontWeight] : thinner/normal/bold/bolder/100-900 (font weight of Furigana) (default: inherit)

[okurifontSize] : font size of Okurigana (default: 1.0em)

[okurifontWeight] : thinner/normal/bold/bolder/100-900 (font weight of Okurigana) (default: inherit)

[fontStyle] : italic/oblique/normal (font style of Furigana) (default: inherit)



Author: EusthEnoptEron


administrated by larethian; contact larethian or any supervisor and up for required changes