Template:SideTOC

From Savage Game Design Wiki
Jump to navigation Jump to search

Shows the Table of Contents (ToC) on the right side of the page with a maximum width of 25%.

Usage

{{SideTOC|fontSize}}

  • fontSize: number, in em

HTML and CSS behind it

<div style="float: right; font-size: {{{1|1}}}em; margin: 0 0 0.5em 1.5em; max-width: 25%">__TOC__</div>