Template:Align: Difference between revisions

add style=
(add attribution)
(add style=)
Line 1:
{{#switch: {{lc:{{{1|center}}}}}
|left = <div style="float: left;{{#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div>
|right = <div style="float: right;{{#if: {{{style|}}} | {{{style}}};}}">{{{2}}}</div>
|center = {{center|{{{2}}}|style={{{style|}}} }}
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
}}<noinclude>
{{documentation}}
{{En-WP attribution notice|Template:Align}}
</noinclude>
Anonymous user