Template:Align/doc

Revision as of 21:43, 22 March 2018 by wikipedia>Hyacinth (→‎Examples: ==See also== *{{tl|Center}} *{{tl|Left}} *{{tl|Right}} *{{tl|Float right}})

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!

See also