Editing Template:TOC top
From MINR.ORG WIKI
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | __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">{{#if:{{{title|}}}|{{{title}}}|{{MediaWiki:Toc}}}}</span></div> | |
− | + | <div><div class="hlist" style="margin: auto"><noinclude> | |
− | + | {{TOC bottom}}{{doc|content= | |
− | <div | + | |
− | </div> | + | This is used to create custom table of contents templates such as {{tl|list TOC}}. |
− | <noinclude> | + | |
− | {{TOC bottom}} | + | 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> |