Template:TOC top: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(can't use headings <h…> because that puts "Contents" into the TOC)
m (30 revisions imported from wikipedia:Template:TOC_top)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__<div class="toc plainlinks hlist" id="toc" {{#if:{{{align|}}}|align="{{{align}}}"}}>
{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div role="navigation" aria-labelledby="toc-title-text" class="toc plainlinks hlist" {{#ifeq:{{{primary|}}}|false||id="toc"}} style="{{#switch:{{lc:{{{align|}}}}}
|left=float: left; clear: {{{clear|left}}};
<div id="toctitle">'''{{{title|{{MediaWiki:Toc}} }}}'''
|right=float: right; clear: {{{clear|right}}};
</div>
|center= margin:auto; clear: {{{clear|none}}};
<noinclude>
|#default=clear: {{{clear|left}}};
}}">
<div {{#ifeq:{{{primary|}}}|false|style="text-align:center"|class="toctitle"}}>{{#ifeq:{{{primary|}}}|false|<strong role="heading" id="toc-title-text">{{{title|{{MediaWiki:Toc}} }}}</strong>|<h2 id="toc-title-text">{{{title|{{MediaWiki:Toc}} }}}</h2>}}
</div><noinclude>
{{TOC bottom}}
{{TOC bottom}}
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Latest revision as of 11:05, 22 June 2021