Template:TOC top: Difference between revisions

m
no edit summary
(add style="text-align: center" to <div id="toctitle">)
mNo edit summary
Line 1: Line 1:
<center>{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}}
{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}}
|left=float: left; clear: {{{clear|left}}};
|left=float: left; clear: {{{clear|left}}};
|right=float: right; clear: {{{clear|right}}};
|right=float: right; clear: {{{clear|right}}};
Line 6: Line 6:
}}">
}}">
<div id="toctitle" style="text-align: center">{{#ifeq:{{{primary|}}}|false|{{{title|{{MediaWiki:Toc}} }}}|<h2>{{{title|{{MediaWiki:Toc}} }}}</h2>}}
<div id="toctitle" style="text-align: center">{{#ifeq:{{{primary|}}}|false|{{{title|{{MediaWiki:Toc}} }}}|<h2>{{{title|{{MediaWiki:Toc}} }}}</h2>}}
</div></center>
</div>
<noinclude>
<noinclude>
{{TOC bottom}}
{{TOC bottom}}
{{documentation}}</noinclude>
{{documentation}}</noinclude>
90,866

edits