Difference between revisions of "Template:TOC top"

From Monoskop
Jump to navigation Jump to 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: bold">...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
<td>
 
<td>
 
<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">
{{TOC bottom}}{{doc|content=
 
 
 
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 ==
 
 
 
* {{tl|TOC bottom}}
 
 
 
[[category:Wikipedia table of contents templates]]
 
}}</noinclude>
 

Latest revision as of 02:15, 16 March 2012