Difference between revisions of "Template:TOC top"

From DMARC Wiki
Jump to navigation Jump to search
(Use divs instead of tables, like core toc.)
m (27 revisions imported)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__<div class="toc plainlinks" id="toc" {{#if:{{{align|}}}|align="{{{align}}}"}}>
+
{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}}
<div id="toctitle"><h2>{{{title|{{MediaWiki:Toc}} }}}</h2></div>
+
|left=float: left; clear: {{{clear|left}}};
<div class="hlist" style="margin: auto"><noinclude>
+
|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>
 +
<noinclude>
 
{{TOC bottom}}
 
{{TOC bottom}}
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 16:47, 17 July 2015

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}