Template:Align: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (category) |
mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{lc:{{{1| | <includeonly>{{#switch:{{lc:{{{1|center}}}}} | ||
|left = <div style="float: left | |left=<div style="float:left">{{{content|{{{2}}}}}}</div> | ||
|right = <div style="float: right | |right=<div style="float:right">{{{content|{{{2}}}}}}</div> | ||
|center = <div align="center">{{{2}}}</div> | |center=<div align="center">{{{content|{{{2}}}}}}</div> | ||
|#default = | |#default='''{{tem|align}} error''': The alignment "{{{1}}}" is invalid. | ||
}}<noinclude>[[Category: | }}</includeonly><noinclude> | ||
This template can be used to align content to the left, right, or center. | |||
==Usage== | |||
<pre> | |||
{{align|left|<content>}} | |||
{{align|right|<content>}} | |||
{{align|center|<content>}} | |||
</pre> | |||
[[Category:Structural templates]]</noinclude> |
Latest revision as of 18:23, June 9, 2024
This template can be used to align content to the left, right, or center.
Usage
{{align|left|<content>}} {{align|right|<content>}} {{align|center|<content>}}