Difference between revisions of "Template:Category link/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(→‎top: rephrasing)
imported>Sardanaphalus
(→‎See also: ditto)
Line 14: Line 14:
  
 
== See also ==
 
== See also ==
* {{tlspc|c}}, which produces {{c|Africa}}.
+
* {{tlspc|c}}, which produces output such as: {{c|Africa}}
* {{tlspc|cls}}, which produces {{cls|Africa}}.
+
* {{tlspc|cls}}, which produces output such as: {{cls|Africa}}
* {{tlspc|lc}}, which produces {{lc|Africa}}.
+
* {{tlspc|lc}}, which produces output such as: {{lc|Africa}}
* {{tlspc|lcs}}, which produces {{lcs|Africa}}.
+
* {{tlspc|lcs}}, which produces output such as {{lcs|Africa}}
* {{tlspc|tl}}, which links produces a double-braced link to a template (e.g. {{tl|Africa}}).
+
* {{tlspc|tl}}, which links produces a link to a template surrounded by template-style double-braces (e.g. {{tl|Africa}}).
 
* {{cl|Internal category-link templates}}
 
* {{cl|Internal category-link templates}}
 
* {{cl|Internal link templates}}
 
* {{cl|Internal link templates}}

Revision as of 13:48, 30 August 2014


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

Template:Tlpad ("[c]ategory [l]ink") produces a link to a category in a similar fashion to Template:Tlpad for a template. For example:

Template:Tcpl produces: Category:Africa

To specify the text used for the link, add it as a second parameter:

Template:Tcpl produces: this category

See also