Template:Raised text/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

Raises text slightly above the normal text position.

{{raised text|text}}

Example[edit]

Lorem {{raised text|ipsum}} dolor

Lorem ipsum dolor

Lorem {{raised text|ipsum|2em}} dolor

Lorem ipsum dolor

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Raised text

Raises text slightly above the normal text position.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to align.

Contentrequired
vertical-align2

How to align the text, e.g. 'text-top', 'text-bottom', or a length.

Example
1em
Stringoptional

See also[edit]

  • {{sup}} — single raised line of text with smaller font-size (for example this)
  • {{superscript-small}} — slightly larger font-size than {{sup}} (for example this)
  • {{^}} — decreases font-size and raises text, but not above the text (for example this)
  • {{lowered text}} — lowers text rather than raising it
  • {{dual line}} — double line, one raised above the other, with regular font-size