Template:Center: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Killarnee (talk | contribs)
m Protected "Template:Center" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite))
Replaced obsolete center tags. (via JWB)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="text-align: center">{{{1}}}</div><noinclude><pre>For centring normal text, including inside image captions.</pre>
<includeonly><div class="center" style="width:auto; margin-left:auto; margin-right:auto;{{#if: {{{style|}}} | {{{style}}};}}">{{{1}}}</div>{{#if:{{{1|}}}||[[Category:Pages using center with no arguments]]}}</includeonly><noinclude>
[[Category:Formatting templates]]
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:39, 7 April 2025

{{{1}}}
For centring normal text, including inside image captions.