Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.
Revision as of 10:45, March 8, 2026 by Tesinormed (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Simple text typography

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Inlineinline

Whether the text is in a line (true) or by itself (false)

Default
false
Booleanoptional
Sizesize

Size of the text

Suggested values
xxxx-large xxx-large xx-large x-large large medium small x-small
Default
medium
Stringsuggested
Fontfont

Font to use for the text

Suggested values
monospace serif base
Default
base
Stringsuggested
Colorcolor

Color of the text

Example
#ababab
Stringoptional
Shadowshadow

Shadow for the text

Example
green 1px 1px 1px
Stringoptional
Backgroundbackground

Background of the text

Example
var(--color-surface-2)
Stringoptional
Alignalign

Alignment of the text

Suggested values
start center end
Default
start
Stringsuggested
Block marginmargin-block

Margin around the text

Example
1rem 6rem
Stringoptional
Texttext

no description

Contentrequired

Example

{{Typography
|size=xx-large
|font=monospace
|color=red
|shadow=1px 1px 1px green
|background=var(--color-surface-2)
|align=center
|margin-block=1rem 6rem
|text=hello
}}
hello