Template:Center: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="text-align: center;"><div style="width: {{{width|auto}}}; margin: {{{top|auto}}} auto {{{bottom|auto}}} auto;">{{{1}}}</div></div></includeonly><noinclude>
<includeonly><div style{{=}}"text-align: center; {{#if: {{{width|}}}|width: {{{width}}};|}}"><div style{{=}}"margin: {{{both|{{{top|auto}}}}}} auto {{{both|{{{bottom|auto}}}}}} auto;">{{{1}}}</div></div></includeonly><noinclude>
This template is a replacement for the deprecated <code><nowiki><center></nowiki></code> tag in HTML. <code><nowiki>{{centre}}</nowiki></code> works as well.
 
{{documentation}}
{{documentation}}


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>