Difference between revisions of "Template:TOC"

From The Viking Age Compendium
Jump to: navigation, search
m
m
 
Line 1: Line 1:
{{#ifeq:{{lc:{{{display}}}}}|none <!-- If display=none, no TOC -->
 
| __NOTOC__
 
| <css>
 
.toclimit-2 .toclevel-2,
 
.toclimit-3 .toclevel-3,
 
.toclimit-4 .toclevel-4,
 
.toclimit-5 .toclevel-5,
 
.toclimit-6 .toclevel-6,
 
.toclimit-7 .toclevel-7 { display: none; }
 
</css><!--
 
 
--><div class="toclimit-{{{limit|}}}" style="{{#ifeq:{{lc:{{{align|left}}}}}|right|float:right; padding: .5em 0 .8em 1.4em;}} margin-bottom: 0.5em; {{#ifeq:{{lc:{{{display|}}}}}|overflow|overflow: auto; height:{{{height|200px}}}; width:{{{width|auto}}}; margin-bottom:28px; padding-bottom:0em;}}">
 
__TOC__
 
</div>
 
{{#if:{{{clear|}}}|<div style="clear:{{{clear}}}" />}}
 
}}
 
 
<!--
 
 
<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div>
 
<div style="clear: {{{clear|both}}}; margin-bottom: .5em; float: {{{align|none}}}; {{#ifeq: {{lc:{{{align|}}}}} | right | margin-left:2.5em; | {{#ifeq: {{lc:{{{align|}}}}} | left | margin-right:2.5em; | <!-- align=none --> }} }} width: {{{width|auto}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit|}}}"}}>__TOC__</div>
-->
 

Latest revision as of 13:40, 28 March 2013