Template:Link-to-categories-comma-seperated-list

From CPU Grave Yard

Description

If you have a string with commas and you want to link to category but wont join category for each value separately. Will work with single value or list. Will work with comma or comma-space separation.

If there is a link already in place, then it return the original text without linking or categorizing.

Usage

  • {{Link-to-categories-comma-seperated-list|TEXT}}


Examples

  • {{Link-to-categories-comma-seperated-list|alpha,beta,gamma}}
    • Result: alpha, beta, gamma
  • {{Link-to-categories-comma-seperated-list|alpha, beta, gamma}}
    • Result: alpha,  beta,  gamma
  • {{Link-to-categories-comma-seperated-list|alpha}}
    • Result: alpha
  • {{Link-to-categories-comma-seperated-list|alpha, [[beta]], gamma}}
    • Result: alpha, beta, gamma

Notes

Requirements

See Also

</noinclude