Bureaucrats, checkuser, Interface administrators, interwiki, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), staff, Suppressors, Administrators
83,693
edits
Hoof Hearted (talk | contribs) (added rendered display result, minor tweaks) |
Hoof Hearted (talk | contribs) (Fix??) |
||
| (14 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}</span>]][[Category:{{{1}}}]]<noinclude> | |||
---- | |||
{{TOC right}} | |||
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]] when used within the {{Cambridge-Dictionary|prose}} text of an article (or another [[category]] page) – to look 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. | |||
Hover over both | ===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: <code><nowiki>{{tag|Japan}}</nowiki></code> – would display: [[:Category:Japan|Japan]] | |||
====Displayed output different from input==== | |||
*Category (Japan) and the displayed wikilink (Japanese) are different: <code><nowiki>{{tag|Japan|Japanese}}</nowiki></code> – would display: [[:Category:Japan|Japanese]] | |||
[[Category: | See [[WikiIndex: How do categories work]] for more information on how tags work in general with categories here on WikiIndex. | ||
[[Category:Category templates]]</noinclude> | |||
edits