Template:Align: Difference between revisions

Jump to navigation Jump to search
Updated the code.
(Created page with "{{#switch: {{lc:{{{1|center}}}}} |left = <div style="float: left;">{{{2}}}</div> |right = <div style="float: right;">{{{2}}}</div> |center = {{center|{{{2}}} }} |#default = Er...")
 
(Updated the code.)
Line 1: Line 1:
{{#switch: {{lc:{{{1|center}}}}}
{{#switch: {{lc:{{{2|center}}}}}
|left = <div style="float: left;">{{{2}}}</div>
|left = <div style="float: left;">{{{1}}}</div>
|right = <div style="float: right;">{{{2}}}</div>
|right = <div style="float: right;">{{{1}}}</div>
|center = {{center|{{{2}}} }}
|center = {{center|{{{1}}} }}
|#default = Error in [[Template:Align]]: the alignment setting "{{{1}}}" is invalid.
|#default = <span class="error">Error in {{tl|align}}: the alignment value "<span style="font-size: large; font-family: monospace; color: dimgray;">{{{2}}}</span>" is invalid.</span>
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
3,860

edits

Navigation menu