Difference between revisions of "Template:Compact TOC"

From LFS Manual
Jump to navigationJump to search
(Created page with "{{#if:{{{allowtoc|}}}||__NOTOC__ }}<div class="noprint {{#if:{{{class|}}}|{{{class|}}}|}}" {{#ifeq:{{{center|{{#ifeq:{{{1}}}|short1|yes}}}}}|yes|style="text-align:center;"}}><...")
 
m
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
  Start contents box
 
  Start contents box
  
  --><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks" {{#ifeq:{{{name}}}|no |aria-label="Contents" |aria-labelledby="tocheading"}}
+
  --><div role="navigation" {{#if:{{{allowtoc|}}}||id="toc"}} class="toc plainlinks" style="margin-bottom: 24px" {{#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;}}
Line 136: Line 136:
  
 
  --></div></div><noinclude>
 
  --></div></div><noinclude>
 
+
[[Category:Navigation templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:08, 2 December 2023