Template:SplitCategory/doc

From OpenMedia
< Template:SplitCategory
Revision as of 13:06, 9 February 2010 by Andreas Plank (Talk | contribs) (+DEFAULTSORT:Categorisation)

Jump to: navigation, search
This is a documentation subpage for Template:SplitCategory (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

The Template:SplitCategory assumes to get a colon-separeted input like:

{{SplitCategory|one, two, three}}

…and creates categories dependending on the language…

[[Category:one]] [[Category:two]] [[Category:three]] 

If “print = true”…

{{SplitCategory | one, two, three | print=true}}

…“one, two, three” is printed additionally right where the template is used.

If just “replace sep for print = ,• ” is specified

{{SplitCategory | one, two, three | replace sep for print = ,• }}

…a replacment is done and it looks nicely like “one • two • three” …;-)


See also