Template:Flattoc: Difference between revisions

Jump to navigation Jump to search
m
trap for one heading
m (okay it works)
m (trap for one heading)
Line 1: Line 1:
{{#ifeq:{{{1|}}}|start|<table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div><ul>|}}<!--
{{#ifeq:{{{1|}}}|start|<table id="toc" class="toc" summary="Contents"><tr><td><div id="toctitle"><h2>Contents</h2></div><ul>|}}<!--
--><div class="NavFrame" style="border:none"><div class="NavHead" style="background-color:#ebeef1;font-weight:normal">{{{3|}}}</div><!--
-->{{#if:{{{3|}}}|<div class="NavFrame" style="border:none"><div class="NavHead" style="background-color:#ebeef1;font-weight:normal">{{{3}}}</div>|}}<!--
-->{{#ifeq:{{{1|}}}|start|<div style="min-width:{{{width|500px}}};clear:both"></div>|}}<!--
-->{{#ifeq:{{{1|}}}|start|<div style="min-width:{{{width|500px}}};clear:both"></div>|}}<!--
--><div class="NavContent"><!--
-->{{#if:{{{3|}}|<div class="NavContent">|}}<!--
--><table style="background-color:#ebeef1;width:98%;margin-left:auto;margin-right:auto"><tr><!--
-->{{#if:{{{3|}}|<table style="background-color:#ebeef1;width:98%;margin-left:auto;margin-right:auto"><tr>|}}<!--
-->{{#if:{{{4|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{4}}}</td>|}}<!--
-->{{#if:{{{4|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{4}}}</td>|}}<!--
-->{{#if:{{{5|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{5}}}</td>|}}<!--
-->{{#if:{{{5|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{5}}}</td>|}}<!--
Line 14: Line 14:
-->{{#if:{{{12|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{12}}}</td>|}}<!--
-->{{#if:{{{12|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{12}}}</td>|}}<!--
-->{{#if:{{{13|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{13}}}</td>|}}<!--
-->{{#if:{{{13|}}}|<td valign="top" width="{{#switch:{{{2}}}|1=100|2=50|3=33.33|4=25|5=20|6=16.66|7=14.28|8=12.5|9=11.11|10}}%">{{{13}}}</td>|}}<!--
--></tr></table></div></div><!--
-->{{#if:{{{3|}}}|</tr></table></div></div>|}}<!--
-->{{#ifeq:{{{1|}}}|end|</ul></td></tr></table><div style="display: none;">__TOC__</div>|}}<noinclude>
-->{{#ifeq:{{{1|}}}|end|</ul></td></tr></table><div style="display: none;">__TOC__</div>|}}<noinclude>
{{Documentation}}
{{Documentation}}


[[Category:Templates|F]]</noinclude>
[[Category:Templates|F]]</noinclude>

Navigation menu