Template:Huge/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (→‎Usage: rmv polytonic as a redundant templ (simply transcludes lang + grc))
(→‎Usage: Rewrote sizing directions and examples; eliminated code errors; used horizontal rules to help distinguish line spacing.)
Line 27: Line 27:
*Blah blah blah {{Huge|῾}} versus {{Huge|᾽}} blah blah.
*Blah blah blah {{Huge|῾}} versus {{Huge|᾽}} blah blah.


A recent revision of the template allows the size to be specified and fixes line spacing by default or allows its specification; alignment can also be altered.
The size may also be specified, setting equivalent line spacing by default:


{{tlx|Huge|<var>&amp;&#61;</var>|500%}}
{{tlx|Huge|<var>&amp;&#61;</var>|500%}}
Line 33: Line 33:
{{Huge|<var>&amp;&#61;</var>|500%}}
{{Huge|<var>&amp;&#61;</var>|500%}}


Or, you may choose to specify line spacing:
<hr>
{{tlx|Huge|&amp;<nowiki><br /></nowiki>&#61;|300%}}
<hr>
{{tlx|Huge|&amp;<nowiki><br /></nowiki>&#61;|300%|0%}}
{{tlx|Huge|&amp;<nowiki><br /></nowiki>&#61;|300%|0%}}
<hr>
{{Huge|&amp;<br />&#61;|300%}}
<hr>
{{Huge|&amp;<br />&#61;|300%|0%}}
<hr>
<br />
Alignment can also be altered:


{{Huge|&amp;<br />&#61;|300%|0%}}
'''valign''' can be set to "sub" (the default), "super", or "normal".
 
{{tlx|Huge|sub}} {{tlx|Huge|super<nowiki>|valign=super</nowiki>}} {{tlx|Huge|normal<nowiki>|valign=normal</nowiki>}}


Another parameter valign can be set to "sub" (the default), or "normal" or "super"
{{Huge|sub}}{{Huge|super|valign=super}}{{Huge|normal|valign=normal}}


{{Tlx|Huge|sub|valign=sub}}{{Huge|super|valign=super}}{{Huge|normal|valign=normal}}
<br />
Finally, here's an example of putting it all together:


{{Huge|sub|valign=sub}}{{Huge|super|valign=super}}{{Huge|normal|valign=normal}}
{{tlx|Huge|Wiki<nowiki><br /></nowiki>Wiki|300%|200%<nowiki>|valign=super</nowiki>}}<nowiki><br /></nowiki>Wiki Wiki.
<hr>
{{Huge|Wiki<br />Wiki|300%|200%|valign=super}}<br />Wiki Wiki.


== See also ==
== See also ==

Revision as of 02:26, 20 September 2012


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:

or

This template is compatible with the {{Unicode}}, {{IPA}}, 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

  • {{Big}} - similar but not as big and doesn't do anything about vertical alignment.
  • {{Small}} - ditto, but in the other direction