Template:Center: Difference between revisions

ArrowHead294 (talk | contribs)
Replacement for deprecated «center» HTML element, so that you don't have to constantly type out the needed «div» elements all the time.
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly><div style="text-align: center;"><div style="margin: auto auto auto auto; {{{style|}}}">{{{1}}}</div></div></includeonly><noinclude>
<includeonly><div style="text-align: center;"><div style="margin: auto auto auto auto; {{{style|}}}">{{{1}}}</div></div></includeonly><noinclude>
This template is a replacement for the deprecated <code><nowiki><center></nowiki></code> tag in HTML.
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}}