Difference between revisions of "Template:SplitCategory/doc"
From OpenMedia
m (+DEFAULTSORT:Categorisation) |
m (-{{DEFAULTSORT:Categorisation}}) |
||
Line 21: | Line 21: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
− | + | ||
[[Category:Classification]] | [[Category:Classification]] | ||
</includeonly> | </includeonly> |
Revision as of 17:13, 17 February 2010
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” …;-)