Difference between revisions of "Template:Cls/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hyacinth
(→‎See also: {{Internal category-link templates}})
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 12: Line 12:
 
{{Internal category-link templates}}
 
{{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)