Template:Align/doc

From Project Basis
Revision as of 02:11, 20 July 2026 by WillSysAd (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Note: If you trying to align a table column (left, center, or right) use Template:Table alignment.

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!
{{Align|center|'''Hello world!'''|style=color:red}} produces this:
Hello world!

See also