Template:C/doc

From Shadowrun Wiki
Revision as of 21:01, 25 March 2024 by Catrone3 (talk | contribs) (Created page with "{{Documentation subpage}} <!----PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE----> == Usage == : {{tlx|c |''category name''}} : {{tlx|c |''category name'' |''link text''}} Use {{tl|c}} to create a namespace-free link to a category, e.g. {{c|Internal category-link templates}} rather than {{cl|Internal category-link templates}}, {{cls|Internal category-link templates}}: : {{tlf|c|Internal category-link templ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[[Category:Template documentation pages{{#translation:}}]]


Usage

{{|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

Template Example output
{{C }} Help
{{Cl }} Category:Help
{{Cls }} Cat:Help
Template Example output
{{Cconly }} 10
{{Clc }} Category:Help (10)
{{Lc }} Category:Help (edit | talk | history | links | watch | logs)
{{Lcs }} Category:Help (Edit Discussion links Page history)

Template data

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