Template:Compact TOC: Difference between revisions
imported>Fire Created page with "{{#if:{{{allowtoc|}}}||__NOTOC__ }}<div class="noprint" {{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes|style="text-align:center;"}}><!-- Start contents box --><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks hlist" {{#ifeq:{{{name}}}|no |aria-label="Contents" |aria-labelledby="tocheading"}} style="{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |margin-left:auto;margin-right:auto; | {{#ifeq:{{{right..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{allowtoc|}}}||__NOTOC__ | {{#if:{{{allowtoc|}}}||__NOTOC__ | ||
}}<div class="noprint" {{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes|style="text-align:center;"}}><!-- | }}<div class="noprint {{#if:{{{class|}}}|{{{class|}}}|}}" {{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes|style="text-align:center;"}}><!-- | ||
Start contents box | Start contents box | ||
--><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks | --><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks" {{#ifeq:{{{name}}}|no |aria-label="Contents" |aria-labelledby="tocheading"}} | ||
style="{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |margin-left:auto;margin-right:auto; | style="{{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes |margin-left:auto;margin-right:auto; | ||
| {{#ifeq:{{{right}}}|yes |clear:right;float:right;}} | | {{#ifeq:{{{right}}}|yes |clear:right;float:right;}} | ||
}} text-align:{{{align|left}}};"> | }} text-align:{{{align|left}}};">{{flatlist}} | ||
<!-- | <!-- | ||
Line 135: | Line 135: | ||
End contents box | End contents box | ||
--></div></div><noinclude> | -->{{endflatlist}}</div></div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |