Difference between revisions of "Template:Fancy TOC"

From Paradise Station Wiki
Jump to navigation Jump to search
(Created page with "<div style="background: {{{background color|#F9F9F9}}}; border: {{{border width|1}}}px solid #777; width: {{{width|30}}}%; height: {{{height|229}}}px; clear: {{{float|right}}}...")
 
(added to Category:Templates)
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><noinclude>Fancy shamncy TOC</noinclude>
<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>
<noinclude>
Fancy shmancy TOC
<noinclude>[[Category:Templates]]</noinclude>
</noinclude>

Revision as of 22:42, 15 January 2021

Fancy shmancy TOC