Difference between revisions of "Template:TOC"
Jump to navigation
Jump to search
(Fun with templates) |
m |
||
Line 1: | Line 1: | ||
<div style="{{#if:{{{float|}}}|float:{{{float|}}};}}{{{style|}}}" {{#if:{{{depth|}}}|class="toclimit-{{#expr:{{{depth}}}+1}}"}}>__TOC__</div><noinclude> | <div style="{{#if:{{{float|}}}|float:{{{float|}}};}}{{{style|}}}" {{#if:{{{depth|}}}|class="toclimit-{{#expr:{{{depth}}}+1}} {{{class|}}}"}}>__TOC__</div><noinclude> | ||
Template Parameters: | Template Parameters: | ||
Line 9: | Line 9: | ||
|| float || left right | || float || left right | ||
|- | |- | ||
|| style || | || style || div style attribute | ||
|- | |- | ||
|| depth || [1,6] aka 1 -> 6 | || depth || [1,6] aka 1 -> 6 | ||
|- | |||
|| class || div class attribute | |||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 00:43, 18 November 2009
Template Parameters:
name | valid values |
---|---|
float | left right |
style | div style attribute |
depth | [1,6] aka 1 -> 6 |
class | div class attribute |