Difference between revisions of "Template:Cls/doc"

From blackwiki
Jump to navigation Jump to search
imported>Eyesnore
m (Reverted edits by 66.87.65.164 (talk) (HG) (3.1.21))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
Line 10: Line 10:
 
* {{tl|cl}}, which produces {{cl|Philosophy}}.
 
* {{tl|cl}}, which produces {{cl|Philosophy}}.
 
* {{tl|lcs}}, which produces {{lcs|Philosophy}} for use in discussions.
 
* {{tl|lcs}}, which produces {{lcs|Philosophy}} for use in discussions.
 +
{{Internal category-link templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Internal category-link templates]]
 
[[Category:Internal category-link templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 15:22, 24 April 2020

This template is a shortcut for category lists that shortens "Category" to "Cat". Similar to {{tl}} for templates, it automatically places a colon (:) before "Category" so the page will not populate the category:

{{cls|Wikipedians}} produces: Cat:Wikipedians
{{cls|Category:wikipedians}} produces: Cat:Wikipedians

See also

Template Example output
{{c}} Example
{{cl}} Category:Example
{{cls}} Cat:Example
Template Example output
{{cconly}} Template:Cconly
{{clc}} Category:Example (0)
{{lc}} Category:Example (edit | talk | history | links | watch | logs)
{{lcs}} Category:Example(edit talk links history)