Difference between revisions of "Template:Fancy TOC"
Jump to navigation
Jump to search
Sirryan2002 (talk | contribs) (removed hanging noinclude tags) |
Sirryan2002 (talk | contribs) |
||
Line 1: | Line 1: | ||
<div style="background: {{{background color|#F9F9F9}}}; border: {{{border width|1}}}px solid #777; width: {{{width|30}}}%; height: {{{height|229}}}px; clear: {{{float|right}}}; float: {{{float|right}}};"><div style="display: block; height: {{#expr:{{{height|229}}}{{#ifeq:{{{nav|yes}}}|no||-21}}}}px; overflow: auto;"><div id="TopTOC" style="display: block; position: relative; top: -20px;"></div>__TOC__<div id="BottomTOC" style="display: block; position: relative; top: -{{#expr:{{{height|229}}}-19}}px;"></div></div>{{#ifeq:{{{nav|yes}}}|no||<div style="display: block; background: {{{background|#F9F9F9}}}; text-align: center; border: {{{border width|1}}}px solid #AAA;">'''TOC''': [[#BottomTOC|'''↓''' Go to bottom '''↓''']] [[#TopTOC|'''↑''' Go to top '''↑''']]</div>}}</div> | <div style="margin-left: 1em; background: {{{background color|#F9F9F9}}}; border: {{{border width|1}}}px solid #777; width: {{{width|30}}}%; height: {{{height|229}}}px; clear: {{{float|right}}}; float: {{{float|right}}};"><div style="display: block; height: {{#expr:{{{height|229}}}{{#ifeq:{{{nav|yes}}}|no||-21}}}}px; overflow: auto;"><div id="TopTOC" style="display: block; position: relative; top: -20px;"></div>__TOC__<div id="BottomTOC" style="display: block; position: relative; top: -{{#expr:{{{height|229}}}-19}}px;"></div></div>{{#ifeq:{{{nav|yes}}}|no||<div style="display: block; background: {{{background|#F9F9F9}}}; text-align: center; border: {{{border width|1}}}px solid #AAA;">'''TOC''': [[#BottomTOC|'''↓''' Go to bottom '''↓''']] [[#TopTOC|'''↑''' Go to top '''↑''']]</div>}}</div> | ||
<noinclude> | <noinclude> | ||
Fancy shmancy TOC | Fancy shmancy TOC | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 21:20, 9 May 2022
Fancy shmancy TOC