Template:C: Difference between revisions
Jump to navigation
Jump to search
(Template:C - link to a category) |
(category excluded) |
||
Line 1: | Line 1: | ||
[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude> | [[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:41, 4 October 2015
[[:Category:{{{1}}}|{{{1}}}]]
{{C|category name}}
{{C|category name|link text}}
Usage
Use {{C}} to create a namespace-free link to a category, e.g. Plugins rather than Plugins:
- {{C|Plugins}} produces: Plugins
To specify the text used for the link – e.g. "Plugins category" in place of "Plugins" – add it as the next parameter:
- {{C|Plugins|Plugins category}} produces: Plugins category
See also
- {{Tl}} - produces link to a template
The above documentation is transcluded from Template:C/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |