Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Align: Difference between revisions

Template page
+doc
m Reverted edits by AL42925 (talk) to last revision by Mdaniels5757
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
|right = <div style="float: right;">{{{2}}}</div>
|right = <div style="float: right;">{{{2}}}</div>
|center = <div align="center">{{{2}}}</div>
|center = <div align="center">{{{2}}}</div>
|none = <div style="float: none;">{{{2}}}</div>
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 12:58, 27 April 2023

{{{2}}}
Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Align/doc.

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!
Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.