Difference between revisions of "Template:Furigana"
(Created page with "<span style="position: relative;"><span style="position: absolute; font-size: {{{3|.8em}}}; top: -{{{margin|11}}}px; left: 50%; white-space: nowrap; letter-spacing: {{{spacing|no...") |
m (Undo revision 554673 by PkMnTrainerMattL (talk)) |
||
(15 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: {{{ |
+ | <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> |
− | |||
---- |
---- |
||
+ | |||
− | '''Usage: <nowiki>{{AltRead|Text|Furigana}}</nowiki>''' |
||
+ | |||
+ | '''Usage: <nowiki>{{Furigana|Text|Furigana}}</nowiki>''' |
||
Line 12: | Line 13: | ||
Possible other options: |
Possible other options: |
||
− | [{{padright:3|10| }}] : font-size |
+ | [{{padright:3|10| }}] : font-size of Furigana (default: .8em) |
− | [{{padright:margin|10| }}] : size of the gap between |
+ | [{{padright:margin|10| }}] : px size of the gap between Text and Furigana. (default: 11) |
− | [{{padright:spacing|10| }}] : letter spacing |
+ | [{{padright:spacing|10| }}] : letter spacing between Furigana (default: normal) |
− | [{{padright: |
+ | [{{padright:okurispacing|10| }}] : letter spacing between Okurigana (default: normal) |
− | [{{padright: |
+ | [{{padright:color1|10| }}] : color of Text (default: inherit) |
+ | |||
+ | [{{padright:color2|10| }}] : color 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 |
||
---- |
---- |
||
+ | |||
'''Author: [[user:EusthEnoptEron|EusthEnoptEron]]''' |
'''Author: [[user:EusthEnoptEron|EusthEnoptEron]]''' |
||
+ | |||
− | ''administrated by [[user:larethian|larethian]]'' |
||
+ | ''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