Template:TOCright: Difference between revisions

rework with show toclevel parameter, non-numbered headings option (works in monobook skin, but not currently in shikiwiki)
demo with MonoBook
Line 8: Line 8:
This template can be used to wrap page text around a right-side table of contents box and, optionally, show only 1 to 10 of the possible indentation levels, and eliminate the heading numbering. An alternate template, [[Template:TOCleft]], is available if one wants to place the table of contents box on the left side of the page.
This template can be used to wrap page text around a right-side table of contents box and, optionally, show only 1 to 10 of the possible indentation levels, and eliminate the heading numbering. An alternate template, [[Template:TOCleft]], is available if one wants to place the table of contents box on the left side of the page.


'''Note:''' The optional features work with the monobook skin, but not currently with the default shikiwiki skin.
'''Note:''' The optional features work with the [http://wiki.sugarlabs.org/index.php?title=Template:TOCright&useskin=monobook MonoBook skin], but not currently with the default shikiwiki skin.
===Common usage===
===Common usage===
* <code><nowiki>{{TOCright}}</nowiki></code> - Entered on the page where you want the top of the table of contents box to appear.
* <code><nowiki>{{TOCright}}</nowiki></code> - Entered on the page where you want the top of the table of contents box to appear.