Template:Tag: Difference between revisions
Jump to navigation
Jump to search
Hoof Hearted (talk | contribs) (Space) |
Hoof Hearted (talk | contribs) (Fix error) |
||
Line 1: | Line 1: | ||
[[Category:{{{1}}}]] [[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]<noinclude> | [[Category:{{{1}}}]][[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>]]<noinclude> | ||
---- | ---- | ||
{{TOC right}} | {{TOC right}} | ||
This <big>'''tag'''</big> [[Special:Templates|template]] here on WikiIndex has <u>two</u> specific purposes, and both purposes will be resulted: | This <big>'''tag'''</big> [[Special:Templates|template]] here on WikiIndex has <u>two</u> specific purposes, and both purposes will be resulted: | ||
#it facilitates the creation of a wikilink to a [[Special:Categories|category]] within the {{Cambridge-Dictionary|prose}} text of an article (or another [[category]] page) – which not only links (like a conventional [[wikilink]]) to the linked category; | #it facilitates the creation of a wikilink to a [[Special:Categories|category]] within the {{Cambridge-Dictionary|prose}} text of an article (or another [[category]] page) – which not only links (like a conventional [[wikilink]]) to the linked category; | ||
#and <u>it also</u> auto-includes the article (or other category) into <u>that</u> linked category. | #and <u>it also</u> auto-includes the article (or other category) into <u>that</u> linked category. |
Revision as of 21:43, 21 June 2024
[[Category:{{{1}}}]][[:Category:{{{1}}}|{{{1}}}]]
This tag template here on WikiIndex has two specific purposes, and both purposes will be resulted:
- it facilitates the creation of a wikilink to a category within the prose text of an article (or another category page) – which not only links (like a conventional wikilink) to the linked category;
- and it also auto-includes the article (or other category) into that linked category.
Usage
Hover your mouse pointer over both below blue link examples to see the actual link-target.
Basic example
- Category (Japan) and the displayed wikilink (Japan) are the same:
{{tag|Japan}}
– would display: Japan
Displayed output different from input
- Category (Japan) and the displayed wikilink (Japanese) are different:
{{tag|Japan|Japanese}}
– would display: Japanese
See WikiIndex: How do categories work for more information on how tags work in general with categories here on WikiIndex.