Difference between revisions of "Template:Fancy TOC"

From Paradise Station Wiki
Jump to navigation Jump to search
(added to Category:Templates)
 
(One intermediate revision by the same user not shown)
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''':&nbsp;&nbsp;&nbsp;[[#BottomTOC|'''&darr;''' Go to bottom '''&darr;''']] &nbsp;&nbsp;&nbsp; [[#TopTOC|'''&uarr;''' Go to top '''&uarr;''']]</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''':&nbsp;&nbsp;&nbsp;[[#BottomTOC|'''&darr;''' Go to bottom '''&darr;''']] &nbsp;&nbsp;&nbsp; [[#TopTOC|'''&uarr;''' Go to top '''&uarr;''']]</div>}}</div>
<noinclude>
<noinclude>
Fancy shmancy TOC
Fancy shmancy TOC
<noinclude>[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
</noinclude>

Latest revision as of 21:20, 9 May 2022

Fancy shmancy TOC