Editing Template:Tag
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly><span class="cm-tag {{{class|}}}"><!-- |
<includeonly><span class="cm-tag {{{class|}}}"><!-- |
||
LINK |
LINK |
||
− | -->[[{{{link|{{{1}}}|}}}|{{{text|{{{1}}}}}}]]<!-- |
+ | -->[[{{{link|{{{1}}}|}}}|{{{text|{{{1}}}|}}}]]<!-- |
CATEGORY |
CATEGORY |
||
− | --> |
+ | -->[[category: {{{cat|{{{1}}}|}}}]]<!-- |
+ | --><span class="cm-tag-cat-link cm-tracking-list" style="display: none;">[[:category: {{{cat|{{{1}}}|}}}|{{{list-text|︎}}}]]</span><!-- |
||
--></span></includeonly><noinclude> |
--></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. |
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 === |
=== Template === |