Template:Align: Difference between revisions

Jump to navigation Jump to search
Updated the template.
(Updated the code.)
(Updated the template.)
 
Line 1: Line 1:
{{#switch: {{lc:{{{2|center}}}}}
{{#switch: {{lc:{{{2|center}}}}}
|left = <div style="float: left;">{{{1}}}</div>
|left = <div style="text-align: left;">{{{1}}}</div>
|right = <div style="float: right;">{{{1}}}</div>
|right = <div style="text-align: right;">{{{1}}}</div>
|center = {{center|{{{1}}} }}
|center = <div style="text-align: center;">{{{1}}}</div>
|#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>
|#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