Template:Align: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
Line 1: Line 1:
{{#switch:{{lc:{{{1|left}}}}}
<includeonly>{{#switch:{{lc:{{{1}}}}}
|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>
|center=<div style="text-align:center">{{{2}}}</div>
|center=<div align="center">{{{2}}}</div>
|#default=Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
|#default='''{{tem|align}} error''': the alignment "{{{1}}}" is invalid.
}}<noinclude>[[Category:Structural templates]]</noinclude>
}}</includeonly><noinclude>
==Usage==
<pre>
{{align|left|<content>}}
{{align|right|<content>}}
{{align|center|<content>}}
</pre>
 
[[Category:Structural templates]]</noinclude>

Revision as of 11:06, June 9, 2024

Usage

{{align|left|<content>}}
{{align|right|<content>}}
{{align|center|<content>}}