Template:Tracking category/doc

From Guild of Archivists
< Template:Tracking category
Revision as of 05:23, 9 December 2017 by Alahmnat (talk | contribs) (Undid revision 768946839 by 217.118.79.33 (talk): spam?=no)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Use the basic syntax {{Tracking category}} on a category page to designate it as a tracking category. This template places the category into Category:Tracking categories and Category:Hidden categories, causes the category to be hidden on its member pages, and produces the following message box on the category page:

Template:Incorrect namespace

This template is only for use in the category namespace, ns=14. Using it on any page in other namespaces will add the page to Category:Pages with templates in the wrong namespace and produce the following error message box on the category page:

Parameters

category
Used to prevent the addition of Category:Tracking categories and optionally add a different category instead.
The syntax {{Tracking category|category=no}} will prevent a category page from being added to Category:Tracking categories.
The syntax {{Tracking category|category=[[Category:Some other category]]}} will add the category page to Category:Some other category instead of Category:Tracking categories.
text
Used to add extra text to the template. The text will be shown in the visible (unfolded) part of the template.
The syntax {{Tracking category|text=Extra text goes here.}} produces:

Template:Incorrect namespace

container
Use to further designate the category as a container category.
The syntax {{Tracking category|container=yes}} adds the category page to Category:Container categories and produces:

Template:Incorrect namespace

unnamed parameter 1
When used with |container=yes, this parameter will add content below the container category message box. When used without |container=yes, this parameter is ignored.
The syntax {{Tracking category|container=yes|This content is added below the container category message box.}} produces:

This content is added below the container category message box.Template:Incorrect namespace

See also

Supporting templates

Template:Namespace category