Difference between revisions of "Template:Cat tag"

From The Coppermind
Jump to navigation Jump to search
m (+usage)
m (add span to tag)
Line 1: Line 1:
  +
<span class="cm-tag cm-cat-tag"><!--
<!--
 
 
LINK
 
LINK
-->[[:category:{{{1}}}|{{{2|{{{1}}}|}}}]]<!--
+
-->[[:category: {{{1}}}|{{{2|{{{1}}}|}}}]]<!--
   
 
CATEGORY
 
CATEGORY
 
-->{{#if:{{{key|}}}|[[category:{{{1}}}|{{{key}}}]]|[[category:{{{1}}}]]}}<!--
 
-->{{#if:{{{key|}}}|[[category:{{{1}}}|{{{key}}}]]|[[category:{{{1}}}]]}}<!--
   
--><noinclude>[[category: link macros]]
+
--></span><noinclude>[[category: link macros]]
   
This template automatically adds a link to a category, and the category itself to a page
+
This template automatically adds a link to a category, and the category itself to a page.
  +
  +
{{docs/missing}}
   
 
== Articles using Template ==
 
== Articles using Template ==

Revision as of 13:11, 7 May 2020

[[:category: {{{1}}}|{{{1}}}]][[category:{{{1}}}]]

This template automatically adds a link to a category, and the category itself to a page.

Template:Docs/missing

Articles using Template