Template:TOC right: Difference between revisions

From Alpine Linux
No edit summary
 
(Improve example by actually using template)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| 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}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}
<noinclude>{{Template}}
{{TOC right}}<nowiki>Use {{TOC right}} in document to align TOC to the right, allowing text to float beside it.</nowiki>
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>{| 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}}}}}};" {{ifn|{{{limit|}}}|class="toclimit-{{{limit}}}"}}
| __TOC__
| __TOC__
|}<noinclude>
|}
<nowiki>Use {{TOC right}} in document to align TOC to the right</nowiki>
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 13:04, 30 May 2017

Template Documentation for TOC right

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Use {{TOC right}} in document to align TOC to the right, allowing text to float beside it.