Difference between revisions of "Template:Tag"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 4: Line 4:
   
 
CATEGORY
 
CATEGORY
-->[[Category:{{{cat|{{{1}}}|}}}|{{{key|{{PAGENAME}}|}}}]]<!--
+
-->{{#if:{{{key|}}}<!--
  +
--->|[[Category:{{{cat|{{{1}}}|}}}|{{{key}}}]]<!--
  +
--->|[[Category:{{{cat|{{{1}}}|}}}]]<!--
  +
-->}}<!--
   
  +
TODO: REMOVE
 
-->{{#if:{{{key|}}}|[[Category: tag.key]]}}<!--
 
-->{{#if:{{{key|}}}|[[Category: tag.key]]}}<!--
   

Revision as of 19:35, 2 December 2014

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

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 category and the sort key.