Difference between revisions of "Template:ListWithSeparator"

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

Revision as of 15:53, 3 January 2012

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

{{{2}}}{{{1}}}{{{3}}}{{{1}}}{{{4}}}{{{1}}}{{{5}}}