Difference between revisions of "Template:Tag"

116 bytes added ,  10 months ago
m
no edit summary
m (tweak)
m
 
(9 intermediate revisions by 3 users not shown)
<includeonly><span class="cm-tag {{{class|}}}"><!--
LINK
-->[[{{{link|{{{1}}}|}}}|{{{text|{{{1}}}|}}}]]<!--
 
CATEGORY
-->[[category:{{cat ns|{{{cat|{{{1}}}|}}}]]}}<!--
--><span class="cm-tag-cat-link cm-tracking-list" style="display: none;">[[:category: {{{cat|{{{1}}}|}}}|{{{list-text|}}}]]</span><!--
 
--></span></includeonly><noinclude>
The '''tag''' template is a link macro template that links to a page and applies a category. It's best to use it on the page's [[help: infoboxes|infobox]] rather than in the text proper.
 
Note that the category will be suppressed on userpages for the sake of drafting articles without affecting readers, you can use [[Special:ExpandTemplates]] if you wish to test that proper categories are included before moving the draft to the mainspace.
 
=== Template ===