Difference between revisions of "Template:Linked name list"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
   | {{#vardefine:name|{{#explode:{{#var:names}}|;|{{#var:i}} }}}}{{#var:name}}
 
   | {{#vardefine:name|{{#explode:{{#var:names}}|;|{{#var:i}} }}}}{{#var:name}}
 
   | <nowiki/>
 
   | <nowiki/>
{{#ifexpr:{{#var:i}} > 0|<br/>}}[[{{#var:name}}]]{{#vardefine:i|{{#expr:{{#var:i}}+1}} }} }}</includeonly>
+
{{#ifexpr:{{#var:i}} > 0|--}}[[{{#var:name}}]]{{#vardefine:i|{{#expr:{{#var:i}}+1}} }} }}</includeonly>

Revision as of 17:05, 14 January 2020

Usage example:

{{Linked name list
  |Names=First Last; First Last; First Last}}