Template:Align/doc
Appearance
This content is in the Template Namespace. Used for page-templates that can be re-used across the wiki.
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| Align Center does not function for the mobile view and mobile applications. Be aware that more than half of the Wikipedia visitors are via mobile. |
This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:
| This page was automatically imported from Commons any changes will be overwritten, the source page is here () |
{{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!
|
{{align|center|'''Hello world!'''|style=color:red}} produces this:Hello world!
|
See also
- {{align}}
- {{center}}, {{right}} and {{left}}
- {{float center}}, {{float right}} and {{float left}}
- {{Image frame}}