Template:RightTOC: Difference between revisions
Jump to navigation
Jump to search
WikiMaster (talk | contribs) (http://wiki.secondlife.com/wiki/Template:RightToc) |
WikiMaster (talk | contribs) (Merge with previous.) |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude>{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" | ||
Usage | | __TOC__ | ||
|}</onlyinclude> | |||
==Usage== | |||
; Standard Right Floating Table of Contents | |||
{|{{Prettytable}} | {|{{Prettytable}} | ||
|- | |- | ||
|<code><nowiki>{{RightTOC}}</nowiki></code> | |Insert '''<code><nowiki>{{RightTOC}}</nowiki></code>''' into your page's wiki markup. | ||
|- | |- | ||
|<code><nowiki>{{RightTOC|extra style}}</nowiki></code> | |<code><nowiki>{{RightTOC|extra style}}</nowiki></code> | ||
Line 10: | Line 13: | ||
|- | |- | ||
|<code><nowiki>{{RightTOC|width=40%}}</nowiki></code> | |<code><nowiki>{{RightTOC|width=40%}}</nowiki></code> | ||
|Sets max-width | |Sets max-width. | ||
|- | |- | ||
|<code><nowiki>{{RightTOC|content=}}</nowiki></code> | |<code><nowiki>{{RightTOC|content=}}</nowiki></code> | ||
Line 17: | Line 20: | ||
[[Category:TOC templates|{{PAGENAME}}]] | [[Category:TOC templates|{{PAGENAME}}]] | ||
Template code copied from [http://wiki.secondlife.com/wiki/Template:RightToc Second Life Wiki]. | Template code copied from [[Wikipedia]]'s [[wikipedia:Template:TOCright|Template:TOCright]] template, and from [http://wiki.secondlife.com/wiki/Template:RightToc Second Life Wiki]. |
Latest revision as of 17:19, 19 March 2012
Usage
- Standard Right Floating Table of Contents
Insert {{RightTOC}} into your page's wiki markup.
| |
{{RightTOC|extra style}}
|
Use the extra style area to add additional style to the surrounding TOC div. |
{{RightTOC|width=40%}}
|
Sets max-width. |
{{RightTOC|content=}}
|
Includes content from stylized section headers. Example here: http://outreach.wikimedia.org/wiki/GLAM/Model_projects |
Template code copied from Wikipedia's Template:TOCright template, and from Second Life Wiki.