Template:Tag: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) m (Changed protection level for "Template:Tag": High importance template ([edit=autoconfirmed] (indefinite) [move=sysop] (indefinite))) |
Zhuyifei1999 (talk | contribs) (I think it now works.) |
||
Line 1: | Line 1: | ||
<includeonly>[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span> | <includeonly><nowiki></nowiki>[[Category:{{{1}}}]][[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]</includeonly><noinclude> | ||
This '''tag''' [[:Category:Category templates|template]] facilitates the creation of a wikilink to a [[Special:Categories|category]] within the prose text of an article (or another category) – which not only links to the linked category, but also auto-includes the article into that linked category. | This '''tag''' [[:Category:Category templates|template]] facilitates the creation of a wikilink to a [[Special:Categories|category]] within the prose text of an article (or another category) – which not only links to the linked category, but also auto-includes the article into that linked category. | ||
Revision as of 07:10, 21 April 2013
This tag template facilitates the creation of a wikilink to a category within the prose text of an article (or another category) – which not only links to the linked category, but also auto-includes the article into that linked category.
- Usage
- Category (Japan) and linkname (Japan) same:
{{tag|Japan}}
– would display: Japan - Category (Japan) and linkname (Japanese) different:
{{tag|Japan|Japanese}}
– would display: Japanese
Hover your mouse pointer over both above blue links to see the actual link-target.
See WikiIndex:How do categories work for more information on how tags work in general with categories.