Template:Al/Doc

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Summary[edit]

This template is used to align text. It is most often used in tables, but can also be added to other HTML tags, such as spans or divs.

The template can be substituted (using {{subst:Al}}). This produces the code directly rather than calling the template itself and is particularly important when a template is used repeatedly on the same page or inside another template.

Parameters[edit]

Al
Parameter Scope Description
1 required A case-insensitive letter that indicates how to align the text (see table).
L = Left, C = Center, R = Right,
T = Top, M = Middle, B = Bottom,
TL = Top-Left, TC = Top-Center, TR = Top-Right,
ML = Middle-Left, MC = Middle-Center, MR = Middle-Right,
BL = Bottom-Left, BC = Bottom-Center, BR = Bottom-Right
L C R
T TL TC TR
M ML MC MR
B BL BC BR

Examples[edit]

{| class="wikitable"
| No specific alignment
|-
| {{AL|R}} | Right-aligned
|}
No specific alignment
Right-aligned