Difference between revisions of "Template:Tag"
Jump to navigation
Jump to search
sc4e>JoeST m (changed (disabled {{pagename}}/tag bitr) |
sc4e>JoeST m (→Example: spare brackets) |
||
Line 13: | Line 13: | ||
and categorise -->[[Category:{{#if:{{{2|}}}|{{{2}}}-{{{1}}}|{{{1}}}}}|{{{3|{{PAGENAME}}}}}]]<!-- | and categorise -->[[Category:{{#if:{{{2|}}}|{{{2}}}-{{{1}}}|{{{1}}}}}|{{{3|{{PAGENAME}}}}}]]<!-- | ||
use 3 for a key if exists | use 3 for a key if exists | ||
− | --> | + | }}--><noinclude> |
Revision as of 06:28, 26 January 2009
This template is used to tag a page with a category, creating a link to said category.
Synatx
[[:Category:[prefix]-[tag]|[tag]]][[Category:[prefix]-[tag]|[sortkey]]]
- [tag]: What you want to tag it with.
- [prefix]: A prefix to the tag.
- [sortkey]: For use by the category (default PAGENAME)
Example
[[:Category:{{{1}}}|{{{1}}}]][[Category:{{{1}}}|Tag]]