Template:TOC Horizontal: Difference between revisions

A TOC which lists items horizontally
 
Add some documentation
Line 159: Line 159:
-->{{#if: {{{c26|}}}|
-->{{#if: {{{c26|}}}|
• {{{c26|}}}}}  
• {{{c26|}}}}}  
</div>{{TOC bottom}}<noinclude>{{documentation}}</noinclude>
</div>{{TOC bottom}}<noinclude>
This template creates a table of contents with up to three horizontal rows, with up 26 items in each row. Usage example:
 
<pre>
{{TOC Horizontal
|a1=[[#Foo|Foo]]
|a2=[[#Bar|Bar]] 
|b1=[[#A|A]]
|b2=[[#B|B]]
|b3=[[#C|C]]
|c1=[[#Other|Other]]
}}
</pre>
</noinclude>