Template:RightTOC: Difference between revisions
Jump to navigation
Jump to search
MarkDilley (talk | contribs) (fail) |
WikiMaster (talk | contribs) (http://wiki.secondlife.com/wiki/Template:RightToc) |
||
Line 1: | Line 1: | ||
<onlyinclude><div style="float:right;max-width:{{{width|30%}}};margin:8px;{{{1|}}}">__TOC__</div></onlyinclude> | |||
| | Usage: | ||
|} | {|{{Prettytable}} | ||
|- | |||
|<code><nowiki>{{RightTOC}}</nowiki></code> | |||
|Standard right floating TOC that won't grow them more than 30% of the screen width. | |||
|- | |||
|<code><nowiki>{{RightTOC|extra style}}</nowiki></code> | |||
|Use the extra style area to add additional style to the surrounding TOC div. | |||
|- | |||
|<code><nowiki>{{RightTOC|width=40%}}</nowiki></code> | |||
|Sets max-width. Default is 30%. | |||
|- | |||
|<code><nowiki>{{RightTOC|content=}}</nowiki></code> | |||
|Includes content from stylized section headers. Example here: http://outreach.wikimedia.org/wiki/GLAM/Model_projects | |||
|} | |||
[[Category:TOC templates|{{PAGENAME}}]] | |||
Template code copied from [http://wiki.secondlife.com/wiki/Template:RightToc Second Life Wiki]. | |||
Template code copied from |
Revision as of 17:00, 19 March 2012
Usage:
{{RightTOC}}
|
Standard right floating TOC that won't grow them more than 30% of the screen width. |
{{RightTOC|extra style}}
|
Use the extra style area to add additional style to the surrounding TOC div. |
{{RightTOC|width=40%}}
|
Sets max-width. Default is 30%. |
{{RightTOC|content=}}
|
Includes content from stylized section headers. Example here: http://outreach.wikimedia.org/wiki/GLAM/Model_projects |
Template code copied from Second Life Wiki.