模板:Huge/doc

来自决策链云智库

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. See a monthly parameter usage report for Template:Huge in articles based on its TemplateData.

TemplateData for Huge

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

模板参数

参数描述类型状态
Mark1

The diacritic mark to make large.

字符串必需
Font size2

Font size as a percentage. Default is 180%.

字符串可选
Line height3

Line height, defaults to font size or 180%.

字符串可选
valignvalign

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

字符串可选

See also

Font size templates
Code for inline content Code for block content Size Result
{{small|<text>}}
{{smaller|<text>}}
{{smalldiv|<text>}} 85% text
{{resize|<text>}} {{resizediv|<text>}} 90% text
{{midsize|<text>}} 92% text
none none 100% text
{{large|<text>}}
{{larger|<text>}}
{{big|<text>}}
{{largediv|<text>}} 120% text
{{huge|<text>}} 180% text
{{resize|<x%>|<text>}} {{resizediv|<x%>|<text>}} custom varies
{{font|<size=x%>}} custom varies