Template:Align/doc

From blackwiki
< Template:Align
Revision as of 15:47, 1 February 2014 by blackwiki>Sardanaphalus (<br/>s to ensure output appears below the "...produces this:" lines)
Jump to navigation Jump to search

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!