Difference between revisions of "Template:ListWithSeparator"

From Elite Wiki
Line 2: Line 2:
 
<code><nowiki>{{ListWithSeparator|1=separator|item 1|item 2|...|item n|}}</nowiki></code>
 
<code><nowiki>{{ListWithSeparator|1=separator|item 1|item 2|...|item n|}}</nowiki></code>
   
</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></includeonly>
+
</noinclude><includeonly>{{{2}}}<span style='{{{<nowiki>3</nowiki>|display:none;}}}'>{{{1}}}{{{3}}}</span><span style='{{{4|display:none;}}}'>{{{1}}}{{{4}}}</span><span style='{{{5|display:none;}}}'>{{{1}}}{{{5}}}</span></includeonly>

Revision as of 09:52, 4 January 2012

Usage:
{{ListWithSeparator|1=separator|item 1|item 2|...|item n|}}