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
Parameter | Scope | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | required | A case-insensitive letter that indicates how to align the text (see table).
|
Examples
{| class="wikitable" | No specific alignment |- | {{AL|R}} | Right-aligned |}
No specific alignment |
Right-aligned |