Template:Align: Difference between revisions
Template page
More actions
+ |
+doc |
||
| Line 5: | Line 5: | ||
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid. | |#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid. | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | |||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 06:21, 17 November 2009
{{{2}}}
This documentation is transcluded from Template:Align/doc.
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!
|