Template:C: Difference between revisions

From Miranda NG
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}}
[[Category:Internal link templates]]
</noinclude>
</noinclude>

Latest revision as of 13:41, 4 October 2015

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

Template documentation[view] [edit] [history] [purge]
{{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