Difference between revisions of "Template:Tag"
Jump to navigation
Jump to search
sc4e>JoeST m (changed (disabled {{pagename}}/tag bitr) |
m (3 revisions imported) |
||
(11 intermediate revisions by 2 users not shown) | |||
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> |
Latest revision as of 15:36, 7 August 2019
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]]