Template:C/doc


Usage[edit]

{{|category name}}
{{|category name |link text}}

Use {{c}} to create a namespace-free link to a category, e.g. Internal category-link templates rather than Category:Internal category-link templates, Cat:Internal category-link templates:

{{c|Internal category-link templates}} produces: Internal category-link templates
{{c|Category:Internal category-link templates}} produces: Internal category-link templates

To specify the text used for the link – e.g. "Internal category-link templates category" in place of "Internal category-link templates" – add it as the next parameter:

{{c|Internal category-link templates|Internal category-link templates category}} produces: Internal category-link templates category
{{c|Category:Internal category-link templates|Internal category-link templates category}} produces: Internal category-link templates category

See also[edit]

Template Example output
{{c}} Help
{{cl}} Category:Help
{{cls}} Cat:Help
Template Example output
{{cconly}} 45
{{clc}} Category:Help (45)
{{lc}} Category:Help (edit | talk | history | links | watch | logs)
{{lcs}} Category:Help (Edit Discussion links Page history)

Template data[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for C

Creates links to categories without the namespace prefix.

Template parameters

ParameterDescriptionTypeStatus
Category name1

The name of the category to link to, with or without the Category: prefix

Stringrequired
Link text2

Text of the actual link, if you want to override it

Stringoptional