Template:Align
Jump to navigation
Jump to search
{{{2}}}
This documentation is
transcluded from Template:Align/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.

Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
![]() |
Align Center does not function for ![]() |
This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:
{{align|position|content}}
Examples
{{align|left|'''Hello world!'''}} produces this:Hello world!
|
{{align|right|'''Hello world!'''}} produces this:Hello world!
|
{{align|center|'''Hello world!'''}} produces this:Hello world!
|
{{align|center|'''Hello world!'''|style=color:red}} produces this:Hello world!
|
See also
- {{center}}, {{right}}, {{left}} and {{justify}}
- {{center block}}
- {{Image frame}}