Template:Tag: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
m (Category:Templates, minor tweaks)
m (tweak to fix rendering)
Line 1: Line 1:
<includeonly>[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]][[Category:{{{1}}}]]</includeonly>
<includeonly>[[:Category:{{{1}}}|<span title="This page is tagged as "{{{1}}}".">{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}</span>]][[Category:{{{1}}}]]</includeonly><noinclude>
<noinclude>==Usage==
 
==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>
*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>

Revision as of 20:54, 27 September 2011


Usage

  • Category (Japan) and linkname (Japan) same: {{tag|Japan}}
  • Category (Japan) and linkname (Japanese) different: {{tag|Japan|Japanese}}

See WikiIndex:How do categories work for more information on how tags work in general.