Difference between revisions of "Template:Tag"
Jump to navigation
Jump to search
m |
m (tweaks) |
||
Line 1: | Line 1: | ||
− | <!-- |
+ | <includeonly><!-- |
LINK |
LINK |
||
-->[[{{{link|{{{1}}}|}}}|{{{text|{{{1}}}|}}}]]<!-- |
-->[[{{{link|{{{1}}}|}}}|{{{text|{{{1}}}|}}}]]<!-- |
||
CATEGORY |
CATEGORY |
||
− | -->{{ |
+ | -->[[Category:{{{cat|{{{1}}}|}}}]]<!-- |
− | --->|[[Category:{{{cat|{{{1}}}|}}}|{{{key}}}]]<!-- |
||
− | --->|[[Category:{{{cat|{{{1}}}|}}}]]<!-- |
||
− | -->}}<!-- |
||
+ | --></includeonly><noinclude>Use this template to link to a page and also add a category. |
||
− | TODO: REMOVE |
||
− | -->{{#if:{{{key|}}}|[[Category: tag.key]]}}<!-- |
||
⚫ | |||
− | --><noinclude> |
||
− | |||
⚫ | |||
[[Category: link macros]] |
[[Category: link macros]] |
Revision as of 11:11, 20 December 2017
Use this template to link to a page and also add a category.
This template automatically adds links and categories to a number of parameters passed. It defaults to [[{{{1}}}]][[Category:{{{1}}}]]
with optional parameters for the link, the text, the cat
egory and the sort key.