Template talk:Huge
Template:Documentation subpage
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.
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 Template:Tl, 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:
&=
Or, you may choose to specify line spacing:
&
=
&
=
Alignment can also be altered:
valign can be set to "sub" (the default), "super", or "normal".
Template:Tlx Template:Tlx Template:Tlx
subsupernormal
Finally, here's an example of putting it all together:
Template:Tlx<br />Wiki Wiki.
Wiki
Wiki
Wiki Wiki.
TemplateData
Template:TemplateDataHeader <templatedata> {
"description": "Enlarge the size of diacritic marks and compensate for line height.", "params": { "1": { "label": "Mark", "description": "The diacritic mark to make large.", "type": "string", "required": true }, "2": { "label": "Font size", "description": "Font size as a percentage. Default is 180%.", "type": "string", "required": false }, "3": { "label": "Line height", "description": "Line height, defaults to font size or 180%.", "type": "string", "required": false }, "valign": { "label": "valign", "description": "Vertical alignment. Either 'normal', 'super' or 'sub' (the default).", "type": "string", "required": false } }
} </templatedata>
See also