Template:^
Appearance
![]() | This template uses TemplateStyles: |
This template raises text, and decreases the font size, similar to superscript, but designed so that the raised text's x-height is not raised above the main text's ascender line.
Usage
[edit]For example:
Y{{^|e}} olde.
Will render as:
- Ye olde.
If you need to change the size of the raised text, or its placement above the baseline, to match the original typography, try using the template's full parameters:
{{^| text | vertical alignment | font-size }}
- 2: vertical alignment (this should be a percentage value: make sure to include the % sign at the end), defaults to 20%
- 3 or size: font-size (this should be a percentage value: make sure to include the % sign at the end) defaults to 83%
Vertical aligment
[edit]The second unnamed parameter, or |2=
, defines how high above the baseline the superscript element is placed. For example:
- 0%: Ye; 10%: Ye; 20%: Ye; 30%: Ye; 40%: Ye; 50%: Ye; 60%: Ye; 70%: Ye; 80%: Ye; 90%: Ye; 100%: Ye; 200%: Ye
Font size
[edit]The third unnamed parameter (or |3=
/ |size=
) sets how big the superscript text is. For example:
- 0%: Ye; 10%: Ye; 20%: Ye; 30%: Ye; 40%: Ye; 50%: Ye; 60%: Ye; 70%: Ye; 80%: Ye; 90%: Ye; 100%: Ye; 200%: Ye
See also
[edit]- Lowered text
- {{sub}}—subscript (for example this)
- {{lowered text}} (for example this)
- Raised text
- {{sup}}—superscript (for example this)
- {{superscript-small}}—superscript with slightly larger font-size (for example this)
- {{^}}—decreases font-size and raises text, but not above the text (for example this)
- {{raised text}}—single raised line of text with regular font-size (for example this)
- {{dual line}}—double line, one raised above the other, with regular font-size (for example top line
lower line)