Template:Align/doc

Note: If you trying to align a table column (left, center, or right) use Template:Table alignment.

This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:

{{Align|position|content}}

Examples[edit]

{{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[edit]