Template:TOC top: Difference between revisions
(remove <strong> from title) |
(add text-align: center;) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#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="text-align: center; {{#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 5: | Line 5: | ||
|#default=clear: {{{clear|left}}}; | |#default=clear: {{{clear|left}}}; | ||
}}"> | }}"> | ||
<div id="toctitle">{{#ifeq:{{{primary|}}}|false|{{{title|{{MediaWiki:Toc}} }}}| | <div id="toctitle" style="text-align: center"><h2>{{#ifeq:{{{primary|}}}|false|{{{title|{{MediaWiki:Toc}} }}}|{{{title|{{MediaWiki:Toc}} }}}}}</h2> | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
{{TOC bottom}} | {{TOC bottom}} | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 10:26, 1 May 2014
Contents
The above documentation is transcluded from Template:TOC top/doc. (editEditors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |