Template:SplitLink/doc

From Biowikifarm Metawiki
< Template:SplitLink
Revision as of 16:29, 13 July 2010 by Gregor Hagedorn (Talk | contribs) (Created page with '{{Documentation/subpage}} === USAGE === <nowiki>{{SplitCategory|LinkOne, LinkTwo & LinkThree|,|&}}</nowiki> … creates, independently of the wiki language (i.e. working under ...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This is a documentation subpage for Template:SplitLink (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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. </includeonly>