Difference between revisions of "Template:Align"
From MansunWiki
(Created page with "{{#switch: {{lc:{{{1|center}}}}} |left = <div style="float: left;">{{{2}}}</div> |right = <div style="float: right;">{{{2}}}</div> |center = {{center|{{{2}}} }} |#default = Er...") |
(No difference)
|
Latest revision as of 23:54, 15 July 2015
{{{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.
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!
|