Difference between revisions of "Template:C/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
(Removed sitelinks migrated to Wikidata)
Line 7: Line 7:
 
===Usage===
 
===Usage===
 
Use {{tl|c}} to create a [[Wikipedia:Namespace|namespace]]-free link to a category, i.e. {{c{{\sandbox}}|Philosophy}} rather than {{cl|Philosophy}}, {{cls|Philosophy}}, etc:
 
Use {{tl|c}} to create a [[Wikipedia:Namespace|namespace]]-free link to a category, i.e. {{c{{\sandbox}}|Philosophy}} rather than {{cl|Philosophy}}, {{cls|Philosophy}}, etc:
: {{tcpl|c|Philosophy}} produces: {{c{{\sandbox}}|Philosophy}}
+
: {{tlf|c|Philosophy}} produces: {{c{{\sandbox}}|Philosophy}}
 
To specify the text used for the link{{aside|e.g. "Philosophy category" in place of "Philosophy"}} add it as the next parameter:
 
To specify the text used for the link{{aside|e.g. "Philosophy category" in place of "Philosophy"}} add it as the next parameter:
: {{tcpl|c|Philosophy|Philosophy category}} produces: {{c{{\sandbox}}|Philosophy|Philosophy category}}
+
: {{tlf|c|Philosophy|Philosophy category}} produces: {{c{{\sandbox}}|Philosophy|Philosophy category}}
  
 
===See also===
 
===See also===
Line 20: Line 20:
 
| <!----CATEGORIES BELOW THIS LINE, PLEASE:---->
 
| <!----CATEGORIES BELOW THIS LINE, PLEASE:---->
 
[[Category:Internal category-link templates]]
 
[[Category:Internal category-link templates]]
 
[[dsb:Pśedłoga:K]]
 
[[hsb:Předłoha:K]]
 
[[ja:Template:C]]
 
[[pt:Predefinição:C]]
 
[[sl:Predloga:K]]
 
[[zh:Template:C]]
 
 
{{pp-template|small=yes}}
 
 
}}<!--(end #ifeq)--></includeonly>
 
}}<!--(end #ifeq)--></includeonly>

Revision as of 23:40, 2 March 2015

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

Usage

Use {{c}} to create a namespace-free link to a category, i.e. {{cTemplate:\sandbox|Philosophy}} rather than Category:Philosophy, Cat:Philosophy, etc:

{{c|Philosophy}} produces: {{cTemplate:\sandbox|Philosophy}}

To specify the text used for the link<aside>e.g. "Philosophy category" in place of "Philosophy"</aside> add it as the next parameter:

{{c|Philosophy|Philosophy category}} produces: {{cTemplate:\sandbox|Philosophy|Philosophy category}}

See also