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

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(include entry)
imported>Sardanaphalus
(tlspc plus rephrasing, category update, sandbox non-categorisation)
Line 4: Line 4:
 
:''{{tlx|Category}} redirects here.  You may be looking for {{tlx|Wikipedia category}}''
 
:''{{tlx|Category}} redirects here.  You may be looking for {{tlx|Wikipedia category}}''
  
{{tnull|{{BASEPAGENAME}}}} (or "category link") is used to link to a category.
+
{{tnull|{{BASEPAGENAME}}}} ("[c]ategory [l]ink") produces a link to a category.
 +
 
 
It is a companion to {{tlx|tl}}, which serves the same purpose for templates.
 
It is a companion to {{tlx|tl}}, which serves the same purpose for templates.
  
Line 14: Line 15:
  
 
== See also ==
 
== See also ==
* {{tn|c}}: Produces {{c|Africa}}
+
* {{tlspc|c}}, which produces {{c|Africa}}.
* {{tl|cls}}: Produces {{cls|Africa}}
+
* {{tlspc|cls}}, which produces {{cls|Africa}}.
* {{tn|lc}}: Produces {{lc|Africa}}
+
* {{tlspc|lc}}, which produces {{lc|Africa}}.
* {{tl|Lcs}}: Produces {{lcs|Africa}}
+
* {{tlspc|lcs}}, which produces {{lcs|Africa}}.
* {{tn|tl}}: Links to a template.
+
* {{tlspc|tl}}, which links produces a double-braced link to a template (e.g. {{tl|Africa}}).
 +
* {{cl|Internal category-linking templates}}
 
* {{cl|Internal link templates}}
 
* {{cl|Internal link templates}}
  
 
<includeonly>
 
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
+
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
[[Category:Internal link templates|Cl]]
+
[[Category:Internal category-linking templates]]
 
+
}}
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
 
</includeonly>
 
</includeonly>

Revision as of 23:32, 18 July 2014

{{Category}} redirects here. You may be looking for {{Wikipedia category}}

{{Category link}} ("[c]ategory [l]ink") produces a link to a category.

It is a companion to {{tl}}, which serves the same purpose for templates.

Example

{{ cl | Africa }} gives Category:Africa

Easier than [[:Category:Africa]].

See also