Difference between revisions of "Template:Compact TOC"

From LFS Manual
Jump to navigationJump to search
m
m
 
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;}}

Latest revision as of 11:08, 2 December 2023