Template:Align/doc

Revision as of 15:47, 1 February 2014 by wikipedia>Sardanaphalus (<br/>s to ensure output appears below the "...produces this:" lines)

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!