Open main menu

UESPWiki β

Template:Al

(Redirected from Template:AL)
Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary

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

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

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