Difference between revisions of "Template:TOC right"
Jump to navigation
Jump to search
(Created page with "<div style="padding:3px; background-color:rgba(220, 220, 220, 0.5); box-shadow:0 0 20px rgba(220, 220, 220, 0.9); position:absolute; right:-5px; top:{{{1|-50px}}}">__TOC__</di...") |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | <div style="padding:3px; background-color:rgba(220, 220, 220, 0.5); box-shadow:0 0 20px rgba(220, 220, 220, 0.9); position:absolute; right:-5px; top | + | <div id="tocXdr" style="padding:3px; background-color:rgba(220, 220, 220, 0.5); box-shadow:0 0 20px rgba(220, 220, 220, 0.9); position:absolute; right:-5px;" data-top="{{{1|0}}}">__TOC__</div><noinclude> |
Places Table of contents to the right of page | Places Table of contents to the right of page | ||
| − | <nowiki>{{{1}}}</nowiki> - top | + | <nowiki>{{{1}}}</nowiki> - top relative to top of <code> '''#content'''</code>-element + 12px |
| + | |||
| + | default 0 | ||
Usage: | Usage: | ||
* <nowiki>{{TOC_right}}</nowiki> | * <nowiki>{{TOC_right}}</nowiki> | ||
| − | * <nowiki>{{TOC_right| | + | * <nowiki>{{TOC_right|20}}</nowiki> |
</noinclude> | </noinclude> | ||
Latest revision as of 04:12, 6 February 2019
Places Table of contents to the right of page
{{{1}}} - top relative to top of #content-element + 12px
default 0
Usage:
- {{TOC_right}}
- {{TOC_right|20}}