Template:Center: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly><div style="text-align: center;"><div style="width: {{{width|auto}}}; margin: {{{top|{{{both|auto}}}}}} auto {{{bottom|{{{both|auto}}}}}} auto;">{{{1}}}</div></div></includeonly><noinclude>
<includeonly><div style="text-align: center;"><div style="width: {{{width|auto}}}; 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.
This template is a replacement for the deprecated <code><nowiki><center></nowiki></code> tag in HTML. <code><nowiki>{{centre}}</nowiki></code> works as well.