Template talk:Category link
![]() | Template:Category link is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||
|
![]() | Text has been copied to or from this page; see the list below. The source pages now serve to provide attribution for the content in the destination pages and must not be deleted as long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below. |
Format
editThe link is now piped to the name of the category prefixed with "Cat:" to help indicate that this is a link to a category. DES (talk) 13:32, 12 August 2005 (UTC)
Cat → Category
editDoes anyone object to just spelling the word out properly? There's no need not to since its in a template, and it could then usefully be used in nomination titles over at WP:CFD where by convention we use the full word. -Splashtalk 19:15, 26 September 2005 (UTC)
- Feel free to copy this one to Wikipedia if you think it's useful. --Singkong2005 talk 06:28, 6 August 2006 (UTC)
Hey!?
editHey!? Who stuffed around with the template? it was deliberately left at just Cat: so as not to take up space! Increasing it to its fuull length means its no longer useful for sfd-current. Grutness...wha? 08:21, 30 September 2005 (UTC)
change cat to category
editI feel it's unnceissary to only type Cat in the tempalte, and not Category. →AzaToth 16:09, 24 September 2006 (UTC)
- See the section right above this one. Perhaps there is space for both an abbreviated and a non-abbreviated template? Kusma (討論) 16:44, 24 September 2006 (UTC)
- Tag removed. JesseW, the juggling janitor 03:10, 25 September 2006 (UTC)
First character upper-case
editSince categories should always be capitalized, this template should make the first character of the category name upper-case, like so:
[[:Category:{{{1}}}|Cat:{{ucfirst:{{{1}}}}}]]
Hatnote should mention Template:Wikipedia category
edit{{editprotected}}
Because Template:Category redirects here, I believe there should be some mention of the template {{Wikipedia category}}, which some people might be looking for. Perhaps in a hatnote? Lenoxus " * " 22:38, 7 May 2008 (UTC)
- Added to documentation, which you're welcome to play around with as you see fit. Happy‑melon 14:42, 8 May 2008 (UTC)
Spell it out
editI would like to concur with the people above that said it is silly to abbreviate "Category:" as "Cat:" in this template. Grutness, seems to say (in 2005) that there is some reason it shouldn't be spelled out, can anyone explain what that is? Dragons flight (talk) 20:39, 13 June 2009 (UTC)
- It is still used by Grutness in SfD, and a few others, although some there seems to prefer spelling it out, and indeed using the Category:Living people format there. A template hack will allow them to carry on, while fixing those articles that use the template. Rich Farmbrough, 14:37, 17 April 2010 (UTC).
- OK havk in progress, but we should ask them igf they need the abbreviation to Cat: as hacks are bad. Rich Farmbrough, 14:42, 17 April 2010 (UTC).
Editprotected request involving this template
editThis message is to inform people monitoring this talk page that there is an "editprotected" request involving this and several other templates at Template talk:! cymru.lass (hit me up)⁄(background check) 20:45, 28 December 2010 (UTC)
Support for including "Category:"
editTo follow the convention use in {{clc}} I was going to add support for using the full category name. So in other words allow {{cl|Category:Hidden categories}}
to work as well as {{cl|Hidden categories}}
. Any thoughts? --Zackmann (Talk to me/What I been doing) 18:55, 18 December 2018 (UTC)