Elite Dangerous Wiki:Template index/Compact tables of contents: Difference between revisions

Content deleted Content added
Adapt Wikipedia template index links and provide source history attribution
m Protected "Elite Dangerous Wiki:Template index/Compact tables of contents": Pre-registration protection review: Public template catalogue ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
(6 intermediate revisions by 2 users not shown)
Line 1:
<div class="hatnote">This index documents local templates. Follow this wiki's local policies and guidance when using the examples.</div>
{{shortcut|WP:TM/TOC|WP:TMTOC|WP:CTOC}}
{{Shortcut|Project:TI/TOC}}
{{Warning|The 'Top' and 'Top of page' links within these templates are non-functional when used with browsers and/or skins that support floating quickbars. Please propose working solutions for all browsers and skins on the [[Wikipedia talkProject:Template messages/Compact tablesTalk ofpage contentsguidelines|talk page]].}}
 
This page lists ways to create several kinds of [[WikipediaProject:Section#Template index/Compact TOCtables of contents|compact]] [[WikipediaProject:Section#TableTemplate index/Compact tables of contents (TOC)|tables of contents]] (TOC). Please note that a normal compact TOC will not work when put on Category pages; this page contains a separate section instructing you how to put a compact TOC on Category pages.
 
__TOC__
 
== Non-[[WikipediaElite Dangerous Wiki:Categorization|category]] pages ==
 
These should work on pages whose title does not begin with "Category:".
Line 28 ⟶ 29:
Similar to the above, includes the prefix in the links: designed for use with pages such as [[List of acronyms and initialisms: A]].
 
{{tlx|TOC US states|before{{=}}|after{{=}}[[#Other section|Other section]]|noendlinks{{=}}}}
 
{{TOC US states|before=|after=[[#Other section|Other section]]}}
 
Use '''before=''' or '''after=''' to manually create links to other sections on the page. If ''after'' is left blank, links to <nowiki>[[#See also]], [[#References]] and [[#External links]]</nowiki> may also be generated using optional parameters.
 
== [[WikipediaElite Dangerous Wiki:Categorization|Category]] pages ==
 
Use one of these on pages whose title begins with "Category:".
Line 49 ⟶ 48:
 
{{Category TOC|numerals=separate|uppercase=no}}
 
{{tlx|Category IP TOC}}
 
{{Category IP TOC}}
 
[[Category:Wikipedia table of contents templates| ]]
[[Category:Wikipedia template administration]]
 
<div class="plainlinks" style="font-size:85%; margin-top:1em;">Adapted from [https://en.wikipedia.org/wiki/Wikipedia:Template_index/Compact_tables_of_contents Wikipedia]; see its [https://en.wikipedia.org/w/index.php?title=Wikipedia%3ATemplate+index%2FCompact+tables+of+contents&action=history revision history] for contributors. Content is available under the Creative Commons Attribution-ShareAlike licence.</div>