Template:TOC top: Difference between revisions
Appearance
can't use headings <h…> because that puts "Contents" into the TOC |
m 34 revisions imported from wikipedia:Template:TOC_top |
||
| (14 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__<div class="toc plainlinks | <templatestyles src="TOC top/styles.css"/>{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div class="toc plainlinks toc-top {{#switch:{{lc:{{{align|}}}}} |left=toc-top-left |right=toc-top-right |center=toc-top-center}}" role="navigation" aria-labelledby="toc-title-text-template" {{#ifeq:{{{primary|}}}|false||id="toc"}} {{#if:{{{clear|}}}|style="clear: {{{clear}}}"}}> | ||
<div id=" | <div class="{{#ifeq:{{{primary|}}}|false|toc-top-false-title|toctitle}}">{{#ifeq:{{{primary|}}}|false|<span role="heading" id="toc-title-text-template">{{{title|{{MediaWiki:Toc}} }}}</span>|<h2 id="toc-title-text">{{{title|{{MediaWiki:Toc}} }}}</h2>}}</div> | ||
</div> | {{flat list}}<noinclude> | ||
<noinclude> | |||
{{TOC bottom}} | {{TOC bottom}} | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Latest revision as of 13:22, 19 November 2026
File:Test Template Info-Icon - Version (2).svg Template documentationcreatepurge