Template:TOC top: Difference between revisions
Jump to navigation
Jump to search
>Izno okay, this is not well formed |
wp>Izno use tstyles |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{primary|}}}|false||__NOTOC__}}<div role="navigation" aria-labelledby="toc-title-text | <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 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> | |||
| | {{flatlist}}<noinclude> | ||
}} | |||
<div {{#ifeq:{{{primary|}}}|false| | |||
</div><noinclude> | |||
{{TOC bottom}} | {{TOC bottom}} | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |