Template:Link-comma-seperated-list
From CPU Graveyard - Die shots
Description
if you have a string with commas and you want to link each value separately. Will work with single value or list. Will work with comma or comma-space seperation
Usage
- {{Link-comma-seperated-list|TEXT}}
Example
- {{Link-comma-seperated-list|alpha}}
- result: alpha
Notes
Requirements
- Extension:Loops
- Extension:Variables
- Extension:ParserFunctions
Pseudo code
set first value while (if current value is not empty) print linked value if not last value print comma set to next value done