Difference between revisions of "Template:Align"
m (Text replacement - "{{/doc}}" to "{{Documentation}}") |
m (Updating) |
||
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}} |
</noinclude> | </noinclude> |
Latest revision as of 09:33, 7 October 2023
{{{2}}}
Align Center does not function for the mobile view and mobile applications. Be aware that more than half of the BTW visitors are via mobile. |
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]
- {{center}}, {{right}}, {{left}} and {{justify}}
- {{Image frame}}