Difference between revisions of "Template:TOC right"

From Alpine Linux
Jump to: navigation, search
m (Protected "Template:TOC right": Template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Improve example by actually using template)
 
Line 1: Line 1:
 
<noinclude>{{Template}}
 
<noinclude>{{Template}}
<nowiki>Use {{TOC right}} in document to align TOC to the right</nowiki>
+
{{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! -->
 
<!-- 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}}}"}}
 
</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__
 
|}
 
|}

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.