Difference between revisions of "Template:Category link/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus m (tweak) |
imported>Sardanaphalus (→top: rephrasing) |
||
| Line 7: | Line 7: | ||
: {{tlx|cl|''category name''|''link text''}} | : {{tlx|cl|''category name''|''link text''}} | ||
| − | + | {{tlpad|2px|cl}} ("[c]ategory [l]ink") produces a link to a category in a similar fashion to {{tlpad|tl}} for a template. For example: | |
: {{tcpl|cl|Africa}} produces: {{cl|Africa}} | : {{tcpl|cl|Africa}} produces: {{cl|Africa}} | ||
| − | To | + | To specify the text used for the link, add it as a second parameter: |
: {{tcpl|cl|Africa|this category}} produces: {{cl|Africa|this category}} | : {{tcpl|cl|Africa|this category}} produces: {{cl|Africa|this category}} | ||
Revision as of 13:45, 30 August 2014
| This is a documentation subpage for Template:Category link. It contains usage information, categories and other content that is not part of the original template page. |
Template:Tlpad ("[c]ategory [l]ink") produces a link to a category in a similar fashion to Template:Tlpad for a template. For example:
- Template:Tcpl produces: Category:Africa
To specify the text used for the link, add it as a second parameter:
- Template:Tcpl produces: this category
See also
- Template:Tlspc, which produces Africa.
- Template:Tlspc, which produces Cat:Africa.
- Template:Tlspc, which produces Category:Africa (edit | talk | history | links | watch | logs).
- Template:Tlspc, which produces (edit talk links history).
- Template:Tlspc, which links produces a double-braced link to a template (e.g. {{Africa}}).
- Category:Internal category-link templates
- Category:Internal link templates