Template:Huge/doc

From imedwiki
< Template:Huge
Jump to navigation Jump to search

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 passed to the template is or contains a "=" (equals sign) character it must be done like so:

or

This template is compatible with {{IPA}}, and similar templates.

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.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Huge

Enlarge the size of diacritic marks and compensate for line height.

Template parameters

ParameterDescriptionTypeStatus
Mark1

The diacritic mark to make large.

Stringrequired
Font size2

Font size as a percentage. Default is 180%.

Stringoptional
Line height3

Line height, defaults to font size or 180%.

Stringoptional
valignvalign

Vertical alignment. Either 'normal', 'super' or 'sub' (the default).

Stringoptional

See also

Font size templates
Code Size Semantics Result
{{small|text}} 85% <small> text
{{smaller|text}} 90% none text
{{resize|text}} 90% none text
{{midsize|text}} 92% none text
none 100% none text
{{larger|text}} 110% none text
{{big|text}} 120% <big> text
{{large|text}} 125% none text
{{huge|text}} 180% none text
{{resize|x%}} custom none varies
{{font|size=x%}} custom none varies


This template is based (in parts) on the Template:Huge/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.