Template:Tag: Difference between revisions
Jump to navigation
Jump to search
(Undid revision 88536 by 50.17.124.244 (talk)) |
Hoof Hearted (talk | contribs) (added rendered display result, minor tweaks) |
||
Line 1: | Line 1: | ||
<includeonly>[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]][[Category:{{{1}}}]]</includeonly><noinclude> | <includeonly>[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]][[Category:{{{1}}}]]</includeonly><noinclude> | ||
;Usage | |||
*Category (Japan) and linkname (Japan) same: <code><nowiki>{{tag|Japan}}</nowiki></code> | *Category (Japan) and linkname (Japan) same: <code><nowiki>{{tag|Japan}}</nowiki></code> – would display: [[:Category:Japan|Japan]] | ||
*Category (Japan) and linkname (Japanese) different: <code><nowiki>{{tag|Japan|Japanese}}</nowiki></code> | *Category (Japan) and linkname (Japanese) different: <code><nowiki>{{tag|Japan|Japanese}}</nowiki></code> – would display: [[:Category:Japan|Japanese]] | ||
See [[WikiIndex:How do categories work]] for more information on how tags work in general. | Hover over both above blue links to see the link-target. | ||
See [[WikiIndex:How do categories work]] for more information on how tags work in general with [[Special:Categories|categories]]. | |||
[[Category:Templates|Tag]]</noinclude> | [[Category:Templates|Tag]]</noinclude> |
Revision as of 13:47, 31 December 2011
- 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 over both above blue links to see the link-target.
See WikiIndex:How do categories work for more information on how tags work in general with categories.