Difference between revisions of "Template:TOC right"

From Alpine Linux
Jump to: navigation, search
(Category:Template)
(use {{ifn}} not {{#if:}})
Line 2: Line 2:
 
<nowiki>Use {{TOC right}} in document to align TOC to the right</nowiki>
 
<nowiki>Use {{TOC right}} in document to align TOC to the right</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}}}}}};" {{#if:{{{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__
 
|}
 
|}

Revision as of 09:15, 26 March 2012

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