Template:TCat

Description
Template to be used on a source page only, for adding categories up to a maximum of 4 total.

This allows category names to be translated through use of the Translation Extension. This is however only a visual change, as the actual internal category for this translation keeps its original name, but with a language tag added.

For example, the category ' Name ', becomes ' Name/fr ' on a French page. Translation to French can then visually make it appear like ' Nom ' when visiting the French page. The ' Category: ' prefix is automatically added by the template. The full internal link (pagename) would in this case actually be ' Category:Name/fr'' '.

Note: Category names require to be provided in pairs of two; the name, followed by the exact same name, but within the    tags.


 * The function  in MediaWiki:Common.js replaces the visual category name(s) with the translated category name(s).

Translated Example
Note: The actual links would be Special:Categories, Category:Category Name 1/fr and Category:Category Name 2/fr respectively.


 * The categories themselves have yet to be created (redlink).