Difference between revisions of "Template:TOC top"

From MINR.ORG WIKI
(default is not to float actually.)
m (27 revisions imported: Imported Category TOC from wikipedia)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__<div class="toc plainlinks hlist" id="toc" style="{{#if:{{{align|}}}|float:{{{align}}};clear:{{{align}}};|clear:left;}}">
+
{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}}
<div id="toctitle">'''{{{title|{{MediaWiki:Toc}} }}}'''
+
|left=float: left; clear: {{{clear|left}}};
 +
|right=float: right; clear: {{{clear|right}}};
 +
|center= margin:auto; clear: {{{clear|none}}};
 +
|#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>
 
</div>
 
<noinclude>
 
<noinclude>
 
{{TOC bottom}}
 
{{TOC bottom}}
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 18:56, 11 August 2017

Template documentation[create]