Difference between revisions of "Template:TOC top"

From DMARC Wiki
Jump to navigation Jump to search
(split doc, simplify a conditional)
(Use divs instead of tables, like core toc.)
Line 1: Line 1:
__NOTOC__<table class="toc plainlinks" id="toc" {{#if:{{{align|}}}|align="{{{align}}}"}}>
+
__NOTOC__<div class="toc plainlinks" id="toc" {{#if:{{{align|}}}|align="{{{align}}}"}}>
<tr>
+
<div id="toctitle"><h2>{{{title|{{MediaWiki:Toc}} }}}</h2></div>
<td>
+
<div class="hlist" style="margin: auto"><noinclude>
<div id="toctitle" style="text-align: center"><span style="font-weight: bold">{{{title|{{MediaWiki:Toc}} }}}</span></div>
 
<div><div class="hlist" style="margin: auto"><noinclude>
 
 
{{TOC bottom}}
 
{{TOC bottom}}
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Revision as of 20:55, 19 July 2013