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
+none
m $$$$$%%%
Line 1: Line 1:
{{#switch: {{lc:{{{1|center}}}}}
[[]]{{#switch: {{lc:{{{1|center}}}}}
|left = <div style="float: left;">{{{2}}}</div>
|left = <div style="float: left;">{{{2}}}</div>
|right = <div style="float: right;">{{{2}}}</div>
|right = <div style="float: right;">{{{2}}}</div>
Line 7: Line 7:
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>>>>

Revision as of 10:37, 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.