Template:C/doc
Sarna News
- Bad 'Mechs - Thresher Mk II
- HEXTECH Wave 9 Review - Winding Rivers, Tall Walls, and Underground Tunnels
- Hired Steel and Making MechWarrior 5: Clans Cinematics with Constantin & Bernhard of TMC
- Your BattleTech News Round-Up For December, 2024
- Community Outreach - Caterwauling On CamoSpecs With Matt "00Dawg" Frederiksen
- Read more →
This is a documentation subpage for Template:C. It may contain usage information, categories and other content that is not part of the original template page. |
Usage[edit]
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]
- {{cl}}, which produces the second type of link shown in the Usage section (Category:Internal category-link templates, i.e. including the namespace prefix).
- {{cls}}, which produces the third type shown in the Usage section (Cat:Internal category-link templates, i.e. including an abbreviated namespace prefix).
- {{lcs}}, which produces output such as:
- {{icon}} for standard icons.
|
|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category name | 1 | The name of the category to link to, with or without the Category: prefix | String | required |
Link text | 2 | Text of the actual link, if you want to override it | String | optional |