Vorlage:SplitCategory

Aus Offene Naturführer
Wechseln zu: Navigation, Suche
[Bearbeiten] [Aktualisieren] Template-info.svg Dokumentation der Vorlage

USAGE

{{SplitCategory|CatOne, CatTwo & CatThree|,|&}}

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

[[Category:CatOne]] [[Category:CatTwo]] [[Category:CatThree]]

Technical dependencies

Technical Note: The function uses a #replace: parser function, but the replacement text ]] [[{{ns:category}}: must be "hidden" inside a second template (Template:SplitCategory/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:SplitLink.

Quelle: Offene Naturführer, Das Wiki zu Bestimmungsfragen: Vorlage:SplitCategory. Abgerufen am 12. Dezember 2024, 20:42 von https://offene-naturfuehrer.de/web/Vorlage:SplitCategory