Help talk:Category
From Wikipedia, the free encyclopedia
(Long page content deleted): I am sorry if there was any reason for the long transclusion from meta here: if you want it get it back from page history but it prevents this page doing what its supposed to. --BozMo talk 08:03, 27 July 2007 (UTC)
Contents |
[edit] [[Category:category name|{{PAGENAME}}]]
Note sure if this is the right place to ask or not, but since the page partially refers to, or at least uses the syntax as part of a larger code line; I will start here. I have seen the syntax [[Category:category name|{{PAGENAME}}]] used and I am unable to under stand what it is trying to accomplish. It appears to be the same as [[Category:category name]]
The following syntax was also very confusing to me:
'''[[:Category:User en-B-5|professional]]''' level of '''[[:Category:User en-B|Bullshit]]''' It creates two separate links both of which do nothing except try to create the same new category page.
Can someone guide me in the right direction
answer:
about [[Category:category name|{{PAGENAME}}]], i think it the PAGENAME is a like namespace, or just a mistake.
about the other syntax, i don't know and i don't care.
you asked to be guided in the right direction? well here's my advice: first figure out what YOU want to do. then ask others, if neccesary.
Answer
Adding [[Category:category name]] to a page adds that page to the given category. When you view the category page, the name of the page will automatically be listed there. If the page is in a namespace other than the main namespace, it will be sorted alphabetically by the name of the namespace. To correct this and have the page sorted by its name without the namespace, you can instead add [[Category:category name|{{PAGENAME}}]] to the page. The {{PAGENAME}} Magic Keyword gives the name of the page without the namespace, and it is sent in as the optional sort parameter to the category call, resulting in the desired sort behavior. You could also just add [[Category:category name|Baseball]] and hardcode the sort parameter, but this would have to be changed on each page it was added to, and if the page was ever renamed, it would no longer function properly. This is why the magic word is used.
Hope this helped!
- Tdoyle 21:44, 14 November 2007 (UTC)
[edit] Consistency of "categorization" vs. "categorisation"
Seems as though we should be consistent in our use of these two words, especially when they appear one line after another. What's the proper way to edit the heading of the page to link to Wikipedia:Categorization FAQ rather than Wikipedia:Categorisation FAQ (which redirects to Categorization FAQ anyhow)? --mariusstrom 04:14, 3 August 2007 (UTC)
answer: obviously, the correct way has already been imployed, since the badly spelled page redirects to the correct one.
it's not advisable to manually update the bad links. you can try if you want. it's a free project after all. lol.
now seriously, what other tools are there? i don't know much about mediaWiki (other than it sucks), but maybe they have a search and replace feature. anyway, cheers ttl. —Preceding unsigned comment added by 89.0.180.158 (talk) 14:38, 21 October 2007 (UTC)
[edit] Hard to understand
This page is too hard to understand. A.Z. 22:36, 23 September 2007 (UTC)
- I agree 100% with the above editor. During two years on Wikipedia, I've always found all help pages very well written and easy to follow. This one is a complete mess. I've read it three times, still not succeeding in creating categories. I hope someone takes the time to do some massive rewriting of this page so that it becomes as helpful as other pages. JdeJ (talk) 12:20, 14 January 2008 (UTC)
-
- I agree absolutely. This page is a frustrating and incompetent mess. I suppose it's my fault as much as anyone else – I don't try and clean it up myself – yet it wastes time every time I go to it for "guidance". For example, I forgot where to go to rename a category. Think the dribble offered here will help? No wonder there is a category mess in Wikipedia... might be simplest to just delete the page and start again. --Geronimo20 (talk) 11:27, 8 May 2008 (UTC)
[edit] {{{category}}}
Could someone please point me to the documentation of {{{category}}}, as it is used on [1], for instance? -- Ddxc (talk) 17:57, 22 January 2008 (UTC)
[edit] Number of articles in a category
Is there a way to get the number of articles in a category. I know it can be found in the category page itself, but I want to have it printed automatically in some other article by just referring to the category. --KYN (talk) 18:02, 27 January 2008 (UTC)
-
- I have the same question! ChessCreator (talk) 23:18, 3 April 2008 (UTC)
[edit] Category intersection
Not sure if I should ask here, but isnt it possible to see articles in multiple categories (or intersecting categories) ?? Just an example: - Suppose I am looking for real-time strategy games. But it's not any strategy game. It's for a platform. For example ps2. Also I lets say I was looking for the ones released in 2006.
Is it possible to look at multiple categories to help searching, insted of looking up multiple lists (for example ps2 games of 2006 and real-time strategy games)??
Maybe there could be some tool that find articles that coexist in the given categories?
Thanks alot 189.33.159.46 (talk) 23:58, 1 March 2008 (UTC)foundatorx
-
- There is a tool - see m:User:Duesentrieb/CatScan. -- John Broughton (♫♫) 13:50, 20 March 2008 (UTC)
[edit] Category "Demo" deleted?
This help frequently references Category:Demo, but it seems somebody had deleted it :( --Kubanczyk (talk) 10:04, 6 April 2008 (UTC)
[edit] Actual number of articles in a category do not match "total"
I've noticed that there are some categories where the actual number of articles in it do not match the "total" given, e.g., Category:Preston North End F.C. players. The number given is 360 while there are actually only 359 articles in it. What's the problem there? Chanheigeorge (talk) 19:57, 9 April 2008 (UTC)
If you want an extreme example see Category:All non-free media The following 200 pages are in this category, out of 508 total. The actual total is ?????, well 508 is less than the total index links. Dbiel (Talk) 01:00, 10 April 2008 (UTC)
[edit] No category?
Is there a way to remove the category from a page, but not have the material that has the category be hidden? I am curious because I wish to do this in my userpage so it only shows it on my main page, not my subpages. — NuclearVacuum 00:38, 10 May 2008 (UTC)
- Do you mean from user boxes? I don't think there is a general way to do this, but you can create your own copy of a userbox easily. You can use {{subst:theuserbox}} to put the code on your page, and then edit it, or just copy it directly. Some templates are setup to allow you to use them without adding categories, but I don't think many userboxes are done this way. You might ask at the village pump or the the help desk. JackSchmidt (talk) 01:25, 10 May 2008 (UTC)

