Template:Huge/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(saving dox)
 
 
(13 intermediate revisions by 6 users not shown)
Line 9: Line 9:
If the value pased to the template is or contains a "=" (equals sign) character it must be done like so:
If the value pased to the template is or contains a "=" (equals sign) character it must be done like so:


*{{tlx|Huge|1=<var>=</var>}}
*{{tlx|Huge|1&#61;<var>&#61;</var>}}


or
or
Line 15: Line 15:
*{{tlx|Huge|<var>&amp;#61;</var>}}
*{{tlx|Huge|<var>&amp;#61;</var>}}


This template is compatible with the {{tl|Unicode}} and similar templates:
*<code><nowiki>{{Huge|{{Unicode|῾}}}}</nowiki></code>


;Example of typical usage:
;Example of typical usage:
Line 24: Line 27:
*Blah blah blah {{Huge|῾}} versus {{Huge|᾽}} blah blah.
*Blah blah blah {{Huge|῾}} versus {{Huge|᾽}} blah blah.


The size may also be specified, setting equivalent line spacing by default:
{{tlx|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%}}
<hr>
{{Huge|&amp;<br />&#61;|300%}}
<hr>
{{Huge|&amp;<br />&#61;|300%|0%}}
<hr>
<br />
Alignment can also be altered:
'''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>}}
{{Huge|sub}}{{Huge|super|valign=super}}{{Huge|normal|valign=normal}}
<br />
Finally, here's an example of putting it all together:
{{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 ==
*{{tl|Big}} - similar but not as big and doesn't do anything about vertical alignment.
* {{tl|Resize}}
 
* {{tlx|smaller|...}} instead of <code><nowiki>{{resize|50%|...}}</nowiki></code>.
* {{tlx|small|...}} instead of <code><nowiki>{{resize|75%|...}}</nowiki></code>.
* {{tlx|big|...}} instead of <code><nowiki>{{resize|120%|...}}</nowiki></code>.
* {{tlx|large|...}}, equivalent to <code><nowiki><span style="font-size:large;">...</span></nowiki></code>.
* {{tlx|larger|...}} or {{tlx|bigger|...}} instead of <code><nowiki>{{resize|150%|...}}</nowiki></code>.
* {{tlx|huge|...}}, for really big text; instead of <code><nowiki>{{resize|180%|...}}</nowiki></code>. and also compensates for vertical alignment.
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Formatting templates]]
 
</includeonly>
</includeonly>

Latest revision as of 01:14, 21 December 2015


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}} 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.