Template:Cls/doc: Difference between revisions

From Bharatpedia, an open encyclopedia
(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Bharatdata. --> == About == This template is a shortcut for category lists that shortens "Category" to "Cat". Similar to {{tl|tl}} for templates, it automatically places a colon (:) before "Category" so the page will not populate the category. == Usage == : {{tlx|cls|Bharatpedians}} produces: {{cls|Bharatpedians}} : {{tlx|cls|Category:Bikipedians}} produces: {{cls|Category:Bh...")
 
 
Line 7: Line 7:
== Usage ==
== Usage ==
: {{tlx|cls|Bharatpedians}} produces: {{cls|Bharatpedians}}  
: {{tlx|cls|Bharatpedians}} produces: {{cls|Bharatpedians}}  
: {{tlx|cls|Category:Bikipedians}} produces: {{cls|Category:Bharatpedians}}  
: {{tlx|cls|Category:Bharatpedians}} produces: {{cls|Category:Bharatpedians}}


== See also ==
== See also ==

Latest revision as of 13:43, 3 September 2024

About

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.

Usage

{{cls|Bharatpedians}} produces: Cat:Bharatpedians
{{cls|Category:Bharatpedians}} produces: Cat:Bharatpedians

See also

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