Difference between revisions of "Template:TOC top"

From PUBLIC DOMAIN PROJECT MEDIAPOOL
Jump to: navigation, search
(Created page with "__NOTOC__<table class="toc plainlinks" id="toc" {{#if:{{{align|}}}|align="{{{align}}}"}}> <tr> <td> <div id="toctitle" style="text-align: center"><span style="font-weight: bol...")
 
 
(2 intermediate revisions by the same user not shown)
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 ==
Line 15: Line 11:
  
 
[[Category:PD table of contents templates]]
 
[[Category:PD table of contents templates]]
}}</noinclude>
+
</noinclude>

Latest revision as of 18:53, 12 August 2012

See also