Jump to content

Teamplaid:Align

O Wiktionary
{{{2}}}
Template documentation[view] [edit] [history] [purge]

This is a generic template for handling the horizontal alignment of elements on a page. Use the template like this:

{{Align|position|content}}

Eisimpleirean - Examples

[deasaich]
{{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!

Faic cuideachd - Also see