Difference between revisions of "Template:TOC top"

From PUBLIC DOMAIN PROJECT MEDIAPOOL
Jump to: navigation, search
m (Protected "Template:TOC top" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)) [cascading])
Line 4: Line 4:
 
<div id="toctitle" style="text-align: center"><span style="font-weight: bold">{{#if:{{{title|}}}|{{{title}}}|{{MediaWiki:Toc}}}}</span></div>
 
<div id="toctitle" style="text-align: center"><span style="font-weight: bold">{{#if:{{{title|}}}|{{{title}}}|{{MediaWiki:Toc}}}}</span></div>
 
<div><div class="hlist" style="margin: auto"><noinclude>
 
<div><div class="hlist" style="margin: auto"><noinclude>
{{TOC bottom}} {{doc|content=
+
{{TOC bottom}}
 
 
This is used to create custom table of contents templates such as {{tl|list TOC}}.
 
 
 
Please note that this is '''solely for ease of maintaining existing templates'''. Please '''do not use this to write new templates''': instead, browse through [[:category:Wikipedia table of contents templates]] and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.
 
  
 
== See also ==
 
== See also ==

Revision as of 18:51, 12 August 2012

See also

}}