Template:Cat

From PRIMUS Database
Jump to: navigation, search

[[Category:|Template:Cat]][[:Category:|{{{1}}}]]

Usage: {{Cat|1|2|3}}

Where
1 = Category Name (Must be included)
2 = Text to Display for Link
3 = Sort Key for order to display in category listing

Example
You have a British character called The British Battler

A: {{Cat|British}}
Will display a link British and add [[Category:British]] on the page.
The British Battler will be listed under T in British Category

B: {{Cat|British|British|British Battler, The}}
Will display a link British and add [[Category:British]] on the page.
The British Battler will be listed under B in British Category

There is an additional option for changing the color of the link when used it doesn't display well on a dark background:

C: {{Cat|British|linkcolor=green}}
Will display a link British and add [[Category:British]]. linkcolor can be any valid html color code or name.