Template:Cl

From CryGaia Wiki
Jump to navigation Jump to search

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

[edit] [history] [purge] Documentation icon Template documentation

"[C]ategory [l]ink" produces a link to a category.

Possible uses are:

  • {{Cl|category name}}
  • {{Cl|category name|link text}}
  • {{Cl|category name|link text|count=yes}}
  • {{Cl|category name|link text|count=yes|count_type=type}}
  • {{Cl|category name|link text|count=yes|count_type=type|backlog=backlog threshold}}

For a basic link to a category page:

{{Cl|Abilities}} produces: Category:Abilities

To specify the text used for the link, add it as a second parameter:

{{Cl|Abilities|Abilities}} produces: Abilities

To add a count of everything in the category, add the "count=yes" parameter:

{{Cl|Abilities|count=yes}} produces: Category:Abilities ( 657 )

If you just want to get a count of pages, files, or subcats, use the "count_type=<type>" parameter. "count_type=all" is the default.