Template:Huge: Difference between revisions
(test) |
m (Protected "Template:Huge" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<span style="font-size: | {{#switch: {{{valign|sub}}} | ||
{{ | | normal = <span style="line-height:{{{3|{{{2|180%}}}}}}"><span style="font-size:{{{2|180%}}};">{{{1}}}</span></span> | ||
< | | super = <span style="vertical-align:super;"><span style="vertical-align:super;line-height:{{{3|{{{2|180%}}}}}}"><span style="font-size:{{{2|180%}}}; vertical-align:super;">{{{1}}}</span></span></span> | ||
</noinclude> | | sub = <span style="vertical-align:sub;"><span style="vertical-align:sub;line-height:{{{3|{{{2|180%}}}}}}"><span style="font-size:{{{2|180%}}}; vertical-align:sub;">{{{1}}}</span></span></span> | ||
| <span style="vertical-align:sub;"><span style="vertical-align:sub;line-height:{{{3|{{{2|180%}}}}}}"><span style="font-size:{{{2|180%}}}; vertical-align:sub;">{{{1}}}</span></span></span> | |||
}}<noinclude>{{doc}}</noinclude> |
Latest revision as of 20:24, 27 July 2013
{{{1}}}
Usage
This template is used to enlarge the size (but compensate for line height while doing so) in order to make diacritic marks in linguistic articles easier to discern in detail and distinguish from each other.
- {{Huge|diacritic mark to make large}}
If the value pased to the template is or contains a "=" (equals sign) character it must be done like so:
- {{Huge|1==}}
or
- {{Huge|=}}
This template is compatible with the {{Unicode}} and similar templates:
{{Huge|{{Unicode|῾}}}}
- Example of typical usage
Blah blah blah {{Huge|῾}} versus {{Huge|᾽}} blah blah.
This looks like:
- Blah blah blah ῾ versus ᾽ blah blah.
The size may also be specified, setting equivalent line spacing by default:
{{Huge|&=|500%}}
&=
Or, you may choose to specify line spacing:
{{Huge|&<br />=|300%}}
{{Huge|&<br />=|300%|0%}}
&
=
&
=
Alignment can also be altered:
valign can be set to "sub" (the default), "super", or "normal".
{{Huge|sub}} {{Huge|super|valign=super}} {{Huge|normal|valign=normal}}
subsupernormal
Finally, here's an example of putting it all together:
{{Huge|Wiki<br />Wiki|300%|200%|valign=super}}<br />Wiki Wiki.
Wiki
Wiki
Wiki Wiki.
See also
- {{Resize}}
- {{smaller|...}} instead of
{{resize|50%|...}}
. - {{small|...}} instead of
{{resize|75%|...}}
. - {{big|...}} instead of
{{resize|120%|...}}
. - {{large|...}}, equivalent to
<span style="font-size:large;">...</span>
. - {{larger|...}} or {{bigger|...}} instead of
{{resize|150%|...}}
. - {{huge|...}}, for really big text; instead of
{{resize|180%|...}}
. and also compensates for vertical alignment.