Difference between revisions of "Template:Cat"
From PRIMUS Database
m |
m (added usage instructions) |
||
Line 1: | Line 1: | ||
[[Category:{{{1|}}}|{{{3|{{FULLPAGENAME}}}}}]][[:Category:{{{1|}}}|{{{2|1}}}]] | [[Category:{{{1|}}}|{{{3|{{FULLPAGENAME}}}}}]][[:Category:{{{1|}}}|{{{2|1}}}]] | ||
+ | <noinclude> | ||
+ | <br style="clear:both;"> | ||
+ | '''Usage''': '''<nowiki>{{Cat|</nowiki>''1''|''2''|''3''<nowiki>}}</nowiki>'''<br><br> | ||
+ | '''Where'''<br> | ||
+ | 1 = Category Name (Must be included)<br> | ||
+ | 2 = Text to Display for Link <br> | ||
+ | 3 = Sort Key for order to display in category listing<br><br> | ||
+ | '''Example'''<br> | ||
+ | You have a British character called The British Battler | ||
+ | |||
+ | A: '''<nowiki>{{Cat|British}}</nowiki>'''<br>Will display a link [[:Category:British|British]] and add <nowiki>[[Category:British]]</nowiki> on the page.<br>The British Battler will be listed under T in [[:Category:British|British]] Category<br><br> | ||
+ | B: '''<nowiki>{{Cat|British|British|British Battler, The}}</nowiki>'''<br>Will display a link [[:Category:British|British]] and add <nowiki>[[Category:British]]</nowiki> on the page.<br>The British Battler will be listed under B in [[:Category:British|British]] Category<br><br> | ||
+ | |||
+ | </noinclude> |
Revision as of 18:12, 1 April 2014
[[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