Template:Tag

From WikiIndex
Revision as of 23:23, 21 June 2024 by Hoof Hearted (talk | contribs) (Fixes)
Jump to navigation Jump to search

[[:Category:{{{1}}}|{{{1}}}{{{1}}}]][[Category:{{{1}}}]]


This tag template here on WikiIndex has two specific purposes, and both purposes will be resulted:

  1. it facilitates the creation of a wikilink to a category when used within the prose text of an article (or another category page) – to look like a conventional wikilink to the linked category;
  2. 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.