Difference between revisions of "Template:ListWithSeparator"

From Elite Wiki
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>Usage:<br/>
 
<noinclude>Usage:<br/>
<code><nowiki>{{ListWithSeparator|1=separator|item 1|item 2|...|item n|}}</nowiki></code>
+
<code><nowiki>{{ListWithSeparator|separator|item 1|item 2|...|item n|}}</nowiki></code><br>
 
+
Creates a list of items separated by what is passed as the first parameter. Currently limited to 20 entries.
</noinclude>{{{2}}}<span style='{{{3|display:none;}}}'>{{{1}}}{{{3}}}</span><span style='{{{4|display:none;}}}'>{{{1}}}{{{4}}}</span><span style='{{{5|display:none;}}}'>{{{1}}}{{{5}}}</span>
+
</noinclude><includeonly>{{{2}}}<span style='{{{3|display:none;}}}'>{{{1}}}{{{3}}}</span><span style='{{{4|display:none;}}}'>{{{1}}}{{{4}}}</span><span style='{{{5|display:none;}}}'>{{{1}}}{{{5}}}</span><span style='{{{6|display:none;}}}'>{{{1}}}{{{6}}}</span><span style='{{{7|display:none;}}}'>{{{1}}}{{{7}}}</span><span style='{{{8|display:none;}}}'>{{{1}}}{{{8}}}</span><span style='{{{9|display:none;}}}'>{{{1}}}{{{9}}}</span><span style='{{{10|display:none;}}}'>{{{1}}}{{{10}}}</span><span style='{{{11|display:none;}}}'>{{{1}}}{{{11}}}</span><span style='{{{12|display:none;}}}'>{{{1}}}{{{12}}}</span><span style='{{{13|display:none;}}}'>{{{1}}}{{{13}}}</span><span style='{{{14|display:none;}}}'>{{{1}}}{{{14}}}</span><span style='{{{15|display:none;}}}'>{{{1}}}{{{15}}}</span><span style='{{{16|display:none;}}}'>{{{1}}}{{{16}}}</span><span style='{{{17|display:none;}}}'>{{{1}}}{{{17}}}</span><span style='{{{18|display:none;}}}'>{{{1}}}{{{18}}}</span><span style='{{{19|display:none;}}}'>{{{1}}}{{{19}}}</span><span style='{{{20|display:none;}}}'>{{{1}}}{{{20}}}</span><span style='{{{21|display:none;}}}'>{{{1}}}{{{21}}}</span></includeonly>

Latest revision as of 10:53, 4 January 2012

Usage:
{{ListWithSeparator|separator|item 1|item 2|...|item n|}}
Creates a list of items separated by what is passed as the first parameter. Currently limited to 20 entries.