Template:SideTOC: Difference between revisions

m
Just adjusting the upper spacing of this page.
(Creating Template page & guidance)
 
m (Just adjusting the upper spacing of this page.)
Line 1: Line 1:
<includeonly>
<includeonly><div style="padding: 5px; border: 5px solid white; border-radius: 10px; background-color: {{#if: {{{color|}}} | {{{color}}}; | grey; }}; position: fixed; bottom: 10px; right: 10px; z-index: 100; width: fit-content; max-width: 300px;">
<div style="padding: 5px; border: 5px solid white; border-radius: 10px; background-color: {{#if: {{{color|}}} | {{{color}}}; | grey; }}; position: fixed; bottom: 10px; right: 10px; z-index: 100; width: fit-content; max-width: 300px;">
<center style="color: white; padding: 5px 0; font-weight: bold;">{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</center>__TOC__
<center style="color: white; padding: 5px 0; font-weight: bold;">{{#if: {{{title|}}} | {{{title}}} | {{PAGENAME}} }}</center>__TOC__
</div></includeonly>
</div></includeonly><noinclude>{{SideTOC}}
<noinclude>{{SideTOC}}
== How to use SideTOC ==
== How to use SideTOC ==
'''SideTOC'''  is just a cute, slightly-customizable, way to produce a Table of Contents that floats in the bottom-right corner of the page it's on. You can set a custom colour for it and customize the title that appears over it. My recommendation is to use it on your Character Pages if you like it. '''''You can see it in-use on this page, down in the bottom right!'''''
'''SideTOC'''  is just a cute, slightly-customizable, way to produce a Table of Contents that floats in the bottom-right corner of the page it's on. You can set a custom colour for it and customize the title that appears over it. My recommendation is to use it on your Character Pages if you like it. '''''You can see it in-use on this page, down in the bottom right!'''''