Difference between revisions of "Template:TOC"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+cat; *use parameter table; -possible new line;)
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';)
Line 3: Line 3:
  
 
{{Parameter Table|name=text|parameters=
 
{{Parameter Table|name=text|parameters=
{{Parameter Row|align|Floats the TOC if isn't set to <tt>none</tt>. Other values are <tt>left</tt> and <tt>right</tt>.|<tt>none</tt>}}
+
{{Parameter row|align|Floats the TOC if isn't set to <tt>none</tt>. Other values are <tt>left</tt> and <tt>right</tt>.|<tt>none</tt>}}
{{Parameter Row|width|The width in pixels. Determine automatically the width if set to <tt>auto</tt>.|<tt>auto</tt>}}
+
{{Parameter row|width|The width in pixels. Determine automatically the width if set to <tt>auto</tt>.|<tt>auto</tt>}}
{{Parameter Row|clear|Clears the TOC if there was already something floating. Can be set to <tt>both</tt>, <tt>left</tt> and <tt>right</tt>.|<tt>both</tt>}}
+
{{Parameter row|clear|Clears the TOC if there was already something floating. Can be set to <tt>both</tt>, <tt>left</tt> and <tt>right</tt>.|<tt>both</tt>}}
 
}}
 
}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 21:01, 26 November 2014

Allows customization of the table of contents placement.

Template:Parameter Table