Template:TOC right: Difference between revisions
m 1 revision imported |
don't emit style unless width exists |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:TOC_right/styles.css" />{{#if:{{{limit|}}}|<templatestyles src="Template:TOC limit/styles.css" />}}<!-- | <templatestyles src="Template:TOC_right/styles.css" />{{#if:{{{limit|}}}|<templatestyles src="Template:TOC limit/styles.css" />}}<!-- | ||
--><div class="tocright {{#if:{{{clear|}}}|tocright-clear-{{{clear|}}}}} {{#if:{{{limit|}}}|toclimit-{{{limit}}}}} | --><div class="tocright {{#if:{{{clear|}}}|tocright-clear-{{{clear|}}}}} {{#if:{{{limit|}}}|toclimit-{{{limit}}}}}" {{#if:{{{width|{{{1|}}}}}}|style="width: {{{width|{{{1}}}}}};"}}>__TOC__</div><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add | <!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! --> | ||
</noinclude> | </noinclude> |