Zum Inhalt springen

Vorlage:SplitLink/doc: Unterschied zwischen den Versionen

Aus Flora von Bayern
imported>Gregor Hagedorn
Keine Bearbeitungszusammenfassung
 
imported>Iris Leininger
K 1 Version
 
(kein Unterschied)

Aktuelle Version vom 23. Oktober 2013, 13:24 Uhr

USAGE

{{SplitCategory|LinkOne, LinkTwo & LinkThree|,|&}}

… creates, independently of the wiki language (i.e. working under en, de, etc.):

[[Category:LinkOne]] [[Category:LinkTwo]] [[Category:LinkThree]] 

Technical Note: The function uses a #replace: parser function, but the replacement text ]], [[ must be "hidden" inside a second template (Template:SplitLink/Delimiter). Without this trick the brackets will not result in valid links, due to some cleanup/sanitizer code present in the parser.

See also Template:SplitCategory.