Welcome to WikiIndex — the 'wiki index' of all wikis, wiki people, wiki software, wiki farms, and wiki ideas.
Please add your wiki, and join our community. Note: WikiIndex is not a wiki hosting service.

(please log-in to bypass the anti-spam Captcha and remove this heading notice)

Template:Tag: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
No edit summary
(Undid revision 166923 by Zhuyifei1999 (talk) - deleted space before link)
Line 1: Line 1:
<includeonly>[[Category:{{{1}}}]][[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]</includeonly><noinclude>
<includeonly>[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]][[Category:{{{1}}}]]</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 11:23, 20 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.