Difference between revisions of "Template:TOC top"
From MINR.ORG WIKI
(split doc, simplify a conditional) |
Rickyboy320 (talk | contribs) m (27 revisions imported: Imported Category TOC from wikipedia) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__< | + | {{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}} |
− | + | |left=float: left; clear: {{{clear|left}}}; | |
− | + | |right=float: right; clear: {{{clear|right}}}; | |
− | <div | + | |center= margin:auto; clear: {{{clear|none}}}; |
− | <div> | + | |#default=clear: {{{clear|left}}}; |
+ | }}"> | ||
+ | <div {{#ifeq:{{{primary|}}}|false|style="text-align:center"|id="toctitle"}}>{{#ifeq:{{{primary|}}}|false|<strong>{{{title|{{MediaWiki:Toc}} }}}</strong>|<h2>{{{title|{{MediaWiki:Toc}} }}}</h2>}} | ||
+ | </div> | ||
+ | <noinclude> | ||
{{TOC bottom}} | {{TOC bottom}} | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |