×
Create a new article
Write your page title here:
We currently have 142 articles on The Sonic the Hedgehog Wiki. Type your article name above or click on one of the titles below and start writing!



The Sonic the Hedgehog Wiki
Revision as of 21:56, 22 December 2024 by Sonic City (talk | contribs) (Created page with "{{safesubst<noinclude/>:#switch: {{safesubst<noinclude/>:lc:{{{1|center}}}}} |left = <div style="float: left;{{safesubst<noinclude/>:#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div> |right = <div style="float: right;{{safesubst<noinclude/>:#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div> |center = {{safesubst<noinclude/>:center|{{{2}}}|style={{{style|}}} }} |#default = Error in Template:Align: the alignment setting "{{{1}}}" is invalid. }}<noinclude> {{documentatio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{2}}}


[edit]

Documentation
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[edit source]

{{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 source]