Template:C/doc
< Template:C
Jump to navigation
Jump to search
Revision as of 15:39, 25 August 2014 by imported>Sardanaphalus (→top: nbsps)
| This is a documentation subpage for Template:C. It contains usage information, categories and other content that is not part of the original template page. |
{{c |category name}}{{c |category name|link text}}{{c|icon |category name}}{{c|icon |category name|link text}}
Usage
Use Template:Tlpad to create a namespace-free link to a category, i.e. Philosophy rather than Category:Philosophy, Cat:Philosophy, etc:
{{c|Philosophy}}produces: 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: Philosophy category
To prefix the link with the category icon "
" (e.g. as seen in templates), set the first parameter as |icon:
{{c|icon|Philosophy}}produces: Philosophy{{c|icon|Philosophy|Philosophy category}}produces: Philosophy
See also
- Template:Tlspc, which produces the second type of link shown in the Usage section (Category:Philosophy, i.e. including the namespace prefix).
- Template:Tlspc, which produces the third type shown in the Usage section (Cat:Philosophy, i.e. including an abbreviated prefix).
- Template:Tlspc, which produces: (edit talk links history)
- {{icon}} for other standard Wikipedia icons.