Template:Center: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m Undid revision 171705 by ArrowHead294 (talk)
Tag: Undo
Line 1: Line 1:
<includeonly><div style="text-align: center; width: {{{width|auto}}}; margin: {{{top|auto}}} auto {{{bottom|auto}}} auto;">{{{1}}}</div></includeonly><noinclude>
<includeonly><div style="text-align: center;"><div style="width: {{{width|auto}}}; margin: {{{top|auto}}} auto {{{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.