Jump to content

Template:Tracking category/doc

From Wikipedia

How to use am

[edit source]
Basic syntax

Use di basic syntax {{Tracking category}} for one category page make you mark am as tracking category. Dis template go put di category inside Category:Tracking categories plus Category:Hidden categories, make di category hidden for ein member pages, and e go show dis message box for di category page:

Template:Possibly empty category Template:Single namespace

Note

Dis template dey work only inside di category namespace (ns=14). If you use am for any page wey no dey dat namespace, e go add di page go Category:Pages with templates in the wrong namespace and show dis error message box for di category page:

Full syntax
{{Tracking category |template= |text= |container= |1= |category= }}

Parameters

[edit source]
template
Dem dey use am add text plus di name of di template wey dey fill di tracking category. No put "Template:" before di template name.
Di syntax {{Tracking category|template=Template name}} go produce:

Template:Possibly empty category Template:Single namespace

text
Dem dey use am add extra text to di template. Di text go show for di visible (open) part of di template.
Di syntax {{Tracking category|text=Extra text goes here.}} go produce:

Template:Possibly empty category Template:Single namespace

container
Use am make you mark di category as one container category too.
Di syntax {{Tracking category|container=yes}} go add di category page go Category:Container categories and go produce:

Template:Possibly empty category Template:Single namespace

delete-empty
Dem dey use am stop di {{Possibly empty category}} template from transcluding.
Di syntax {{Tracking category|delete-empty=yes}} go remove di banner.


Template:Single namespace

unnamed parameter 1
If you use am together with |container=yes, dis parameter go add content below di container category message box. If |container=yes no dey, dis parameter no get effect.
Di syntax {{Tracking category|container=yes|Dis content go show below di container category message box.}} go produce:

This content is added below the container category message box.

Template:Possibly empty category Template:Single namespace

Because of how di template code dey now, dis one dey limited to one paragraph with SPAN style formatting.
category
Dem dey use am stop di addition of Category:Tracking categories, or make another category replace am.
Di syntax {{Tracking category|category=no}} go stop di category page from being added to Category:Tracking categories.
Di syntax {{Tracking category|category=[[Category:Some other category]]}} go add di category page to Category:Some other category instead of Category:Tracking categories.

See also

[edit source]

Supporting templates

[edit source]

Template:Other category-header templates