Template:TOC bottom/doc: Difference between revisions
From BoyWiki
Created page with "<noinclude>{{Documentation subpage}}</noinclude> <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) -->..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Documentation subpage}}</noinclude> | <noinclude>{{Documentation subpage}}</noinclude> | ||
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
== Usage == | == Usage == | ||
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:Category 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. | |||
Line 21: | Line 11: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Category templates]] | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 14:13, 5 May 2016
Usage
This is used to create custom table of contents templates such as {{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:Category 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.