Template talk:Cat class
From Wikipedia, the free encyclopedia
[edit] Disambig-Class
Internally this seems to refer to a "Disamb-Class" whereas the WikiProjects "seem" to prefer "Disambig-..." rather more. I appreciate this is not a standardised naming but could we at least go with the majority. Maybe there should be a standard. Thanks. :: Kevinalewis : (Talk Page)/(Desk) 10:47, 9 November 2007 (UTC)
- In addition there appears to be no handling of the "List" class. :: Kevinalewis : (Talk Page)/(Desk) 11:03, 9 November 2007 (UTC)
- I'm not sure I understand the change you are requesting? Can you make the changes in a subpage so we can verify that it works? ---J.S (T/C/WRE) 18:38, 9 November 2007 (UTC)
- Ok there are two things here Discuss the "list-Class" below. Here all I am suggesting is that references to "Disamb" should by greater usage reasons be changed to refer to "Disambig". Thanks :: Kevinalewis : (Talk Page)/(Desk) 09:31, 12 November 2007 (UTC)
- So,
- I'm not sure I understand the change you are requesting? Can you make the changes in a subpage so we can verify that it works? ---J.S (T/C/WRE) 18:38, 9 November 2007 (UTC)
<td style="background: #33ff66;"> [[:Category:Disamb-Class {{{topic|}}} articles|Dab.]]</td>|}}
should read
<td style="background: #33ff66;"> [[:Category:Disambig-Class {{{topic|}}} articles|Dab.]]</td>|}}
-
-
-
- Done.—Markles
- Thanks :: Kevinalewis : (Talk Page)/(Desk) 12:15, 12 November 2007 (UTC)
- Done.—Markles
-
-
[edit] Addition of List-Class
List-Class is now a standard assessment class that is indexed by the assessment bot (see Wikipedia:Version 1.0 Editorial Team/Index). So List-Class should be added to this template as another category link like this:
|style="background: #aa88ff;"| [[:Category:List-Class {{{topic|}}} articles|List]]
Since this is now standard, it should probably go with the other standard classes (before Unassessed, like in the assessment tables) and should not be an extra. --scottalter 06:52, 11 November 2007 (UTC)
- Done.—Markles 11:33, 12 November 2007 (UTC)
- Changed. Moved to Extras. List articles may also be A-grade; B-grade … FA-grade, etc. Therefore their quality should be classed.—Markles 11:37, 12 November 2007 (UTC)
-
-
- Thanks :: Kevinalewis : (Talk Page)/(Desk) 12:15, 12 November 2007 (UTC)
-
[edit] Merge with {{Cat class2}}
{{editprotected}} {{Cat class2}} is identical to this template (but based on an older version), but uses the category with the class "Unassessed-Class" rather than "Unassessed." Adding this conditional statement will allow these two templates to be combined.
Old:
|style="background: transparent;"| [[:Category:Unassessed {{{topic|}}} articles|Unassessed]]
New:
|style="background: transparent;"| [[:Category:Unassessed{{#ifexist:Category:Unassessed-Class {{{topic|}}} articles|-Class|}} {{{topic|}}} articles|Unassessed]]
Since there hasn't been consensus on the naming of non-standard categories, adding in conditional statements for the other categories might be beneficial too. Disambig is also known as Dab, Disamb, and Disambiguation. Also, categories sometimes end in "pages" rather than "articles" if for pages in non-main namespaces. --Scott Alter 08:03, 27 November 2007 (UTC)
[edit] Replace extras parameter with ifexist statements
{{editprotected}} Old:
{{#if:{{{extras|}}}| <td style="background: #3366ff;"> [[:Category:Template-Class {{{topic|}}} articles|Temp.]]</td> <td style="background: #33ffff;"> [[:Category:Category-Class {{{topic|}}} articles|Cat.]]</td> <td style="background: #33ff66;"> [[:Category:Disambig-Class {{{topic|}}} articles|Dab.]]</td> <td style="background: #aa88ff;"> [[: Category:List-Class {{{topic|}}} articles|List]]</td>|}}
New:
{{#ifexist:Category:Template-Class {{{topic|}}} articles|<td style="background: #3366ff;"> [[:Category:Template-Class {{{topic|}}} articles|Temp.]]</td>|}} {{#ifexist:Category:Category-Class {{{topic|}}} articles|<td style="background: #33ffff;"> [[:Category:Category-Class {{{topic|}}} articles|Cat.]]</td>|}} {{#ifexist:Category:Disambig-Class {{{topic|}}} articles|<td style="background: #33ff66;"> [[:Category:Disambig-Class {{{topic|}}} articles|Dab.]]</td>|}} {{#ifexist:Category:List-Class {{{topic|}}} articles|<td style="background: #aa88ff;"> [[:Category:List-Class {{{topic|}}} articles|List]]</td>|}}
This will automatically put the links to the appropriate categories if the project has the categories created. This way, projects do not need to display all or none, and the links would automatically change if the project decides to add or remove categories. --Scott Alter 23:05, 27 November 2007 (UTC)
Newer:
|style="background: transparent;"| [[:Category:Unassessed{{#ifexist:Category:Unassessed-Class {{{topic|}}} articles|-Class|}} {{{topic|}}} articles|Unassessed]]{{#ifexist:Category:Template-Class {{{topic|}}} articles |<td style="background: #3366ff;"> [[:Category:Template-Class {{{topic|}}} articles|Temp.]]</td>|}}{{#ifexist:Category:Category-Class {{{topic|}}} articles |<td style="background: #33ffff;"> [[:Category:Category-Class {{{topic|}}} articles|Cat.]]</td>|}}{{#ifexist:Category:Disambig-Class {{{topic|}}} articles |<td style="background: #33ff66;"> [[:Category:Disambig-Class {{{topic|}}} articles|Dab.]]</td>|}}{{#ifexist:Category:List-Class {{{topic|}}} articles |<td style="background: #aa88ff;"> [[:Category:List-Class {{{topic|}}} articles|List]]</td>|}}
The formatting problem was due to having extra spaces when a category did not exist...so the code looked correct for projects that matched all of the ifexist statements, but not with projects that did not include all of the categories. Starting the ifexist statement on the previous line will fix this, preventing blank line insertions when a category does not exist. Also, this new code includes the requested change from above (which was also reverted). --Scott Alter 16:45, 3 December 2007 (UTC)
Also, since the extra parameters will no longer be used, the "Usage" section should be changed to:
<pre>{{cat class | topic= | class= }}</pre> * The Unassessed category link will default to "Unassessed ''topic'' articles." If the "Unassessed-Class ''topic'' articles" category exists, the link will go to this category. * The Template, Category, Disambig, and List links will only be displayed if the category "''class''-Class ''topic'' articles" exists for the respective classification.
--Scott Alter 02:30, 4 December 2007 (UTC)
- Done. I've put in some html comments to make the code more readable. I also changed the color on the template cell to make it easier to read. --- RockMFR 17:11, 8 December 2007 (UTC)
[edit] Colors of cells
{{editprotected}} Currently, the background colors of the template, category, and disambig categories do not match their colors used on talk pages as shown in this table:
Category | Color used here | Class template color |
---|---|---|
Template | #6699cc | #ffccff |
Category | #33ffff | orange |
Disambig | #33ff66 | mediumspringgreen |
List | #aa88ff | #aa88ff |
The colors for list, stub, start, B, GA, A, and FA are all the same. The same colors should be used for the "extra" categories as they are used in the WikiProject headers (the "Class template color" column). --Scott Alter 17:46, 8 December 2007 (UTC)
- Done. --- RockMFR 18:17, 8 December 2007 (UTC)
- Thanks. I was considering using the -Class templates here to get the colors directly, so in case any classes changed colors, it would be automatically updated. Unfortunately, this template does not look good when all of the links in bold. --Scott Alter 18:28, 8 December 2007 (UTC)
[edit] Quality scale
I think the template should link to the quality scale.--Patrick (talk) 15:42, 27 December 2007 (UTC)
[edit] Category:Template-Class ____ pages, etc.
What about categories that end in "pages" instead of "articles", like Category:Template-Class Evanescence pages? Since the links don't show unless there's a category made already for it, why not add them in as well in between the ones that say ______ articles? --Geopgeop (T) 10:18, 12 January 2008 (UTC)
[edit] Image class
Fantastic template! I was wondering if "Image" class could be added. Colin MacLaurin (talk) 11:10, 17 January 2008 (UTC)
- Great, thank-you. Colin MacLaurin (talk) 09:23, 19 January 2008 (UTC)
[edit] New class: Needed
For all articles that are currently redlinked, a project template can be placed on the talk page to indicate the article needs to be started. Just a thought. - LA @ 20:04, 20 February 2008 (UTC)
-
- This is a bad idea since all such talk pages will get deleted under Speedy delete - Talk pages whose corresponding article does not exist. Also, Wikipedia:Requested articles is to indicate that an article needs to be started. GregManninLB (talk) 17:22, 14 April 2008 (UTC)
-
-
- Many might, but not all. While I agree that talk pages without an article of any kind should be deleted, the Needed-Class articles that I have seen in the past are not non-existent articles, but redirects. The "Needed" classification here indicates something like a new article that has the potential to grow out of a current article. For example, for a long time the article Kingdom of Bavaria was simply a redirect to Bavaria and the redirect was classed as Needed. Now the article exists. 52 Pickup (deal) 18:04, 14 April 2008 (UTC)
-
[edit] redirect class
I was wondering if Redirect class could get an appearance on this template. I am reluctant to test this myself on the live template incase I stuff it up. The colour for redirect seems to be grey. Graeme Bartlett (talk) 02:49, 11 March 2008 (UTC)
[edit] Needed-Class? and a request for a new class to be added
What is the point of the "Needed-Class?" The post above says that you could add a banner to a nonexistent page so that projects can know what pages are needed, but this is paradoxical because that talk page would be Speedy Deleted under G8 - Talk page of non-existent page. Currently the only article in all Wikipedia who has this class is Talk:1986 in Zimbabwe which is actually a redirect. I believe that this should be removed as it serves no purpose at all. Any thoughts?
Also, I was wondering if there could be an addition for Non-Article (or NA) class pages (i.e. Category:Non-Article-Class Green Bay Packers pages)? I know of a lot of projects who use the NA-Class, so I think it would be useful. Any thoughts? « Gonzo fan2007 (talk ♦ contribs) 03:12, 24 March 2008 (UTC)
- We use NA-class on WikiProject Ships -specifically at Cat:Non-article Ships pages- so we would certainly love to see Non-article added! --Kralizec! (talk) 15:09, 24 March 2008 (UTC)
- Yeah we would also need to make sure we create a naming convention (Non-article topic pages, Non-Article-Class topic pages, Non-article-Class topic pages, etc) Just a note. « Gonzo fan2007 (talk ♦ contribs) 16:23, 24 March 2008 (UTC)
- We have a use for the Needed-Class (I am going to implement it soon) in Wikipedia:WikiProject Anthroponymy. Say, right now Barack redirects to Barack Obama. Say, in future we plan to have an article about the given name Barack. To point out our intention we would place Needed-Class template on the redirect's talk page. Note: I mistakenly used the Future-Class for this and will change it all to Needed as soon as I have a minute. Yury Petrachenko (talk) 18:01, 4 June 2008 (UTC)
[edit] NA-Class and Redirect-Class
{{editprotected}}
Could someone please add these two class types to this template? Thanks! - LA @ 06:48, 30 March 2008 (UTC)
- Im not sure Redirect-Class is needed. There are so many redirects, and other than their initial creation, dont really need to be watched and categorized by WikiProjects. I support the NA-Class though. « Gonzo fan2007 (talk ♦ contribs) 06:50, 30 March 2008 (UTC)
- In the WP:AFC project we tag the redirects with the project tag, as they have been specially requested by contributors, and we wish to keep a count of it. The reporting tools list them OK, its just the link is not on this template. Graeme Bartlett (talk) 12:13, 30 March 2008 (UTC)
- Gotcha, it doesnt hurt to add it! :-) « Gonzo fan2007 (talk ♦ contribs) 03:35, 31 March 2008 (UTC)
- You can look at Category:Redirect-Class_AFC_pages to see the contributions. Graeme Bartlett (talk) 05:28, 31 March 2008 (UTC)
- Done « Gonzo fan2007 (talk ♦ contribs) 06:43, 31 March 2008 (UTC)
- On a side note, you will need to rename Category:Class-exempt AFC pages to Category:NA-Class AFC pages or Category:NA-Class AFC articles for the template to work. If you need some help, I can do it. « Gonzo fan2007 (talk ♦ contribs) 07:00, 31 March 2008 (UTC)
- Thanks Fan of Gonzo, the redirect link has appeared. A joke request was for a featured redirect, inspired by the featured list, but please don't add that one yet! Graeme Bartlett (talk) 08:25, 31 March 2008 (UTC)
- In the WP:AFC project we tag the redirects with the project tag, as they have been specially requested by contributors, and we wish to keep a count of it. The reporting tools list them OK, its just the link is not on this template. Graeme Bartlett (talk) 12:13, 30 March 2008 (UTC)
- Your welcome Bartlett, and yeah Ill hold off for now on the featured redirect class! lol « Gonzo fan2007 (talk ♦ contribs) 05:30, 2 April 2008 (UTC)
[edit] Future-Class
{{editprotected}} I think it would be good if this was added to the template. D.M.N. (talk) 20:10, 11 April 2008 (UTC)
- Could you expand on what you mean, maybe showing a link to a category and explain what future-class is used for (I have never seen it used before, which is why I ask) « Gonzo fan2007 (talk ♦ contribs) 20:46, 11 April 2008 (UTC)
- I think he is refering to the subcategories at Category:Needed-Class articles. However, I found few articles using "Needed class" and Category:Needed-Class articles and all its subcategories seem redundant of Category:Unassessed-Class articles. GregManninLB (talk) 16:39, 14 April 2008 (UTC)
Here's a a link to the category. Future-Class refers to events that have not yet occured, e.g. 2010 FIFA World Cup. D.M.N. (talk) 18:12, 14 April 2008 (UTC)
- Future-Class makes no sense. Say I went made 2010 FIFA World Cup a WP:GA, what would its class be? Of course it would be GA and not Future-Class. That's because assessment is used to assess the articles themselves, not the events that they cover. Future-Class doesnt help with assessing the article at all. Now granted this is an issue for the WikiProjects, but I would be opposed to adding this class to the template so other Projects dont adopt it. « Gonzo fan2007 (talk ♦ contribs) 18:37, 14 April 2008 (UTC)
- I very strongly doubt a future class article would be made GA or even FA. D.M.N. (talk) 18:41, 14 April 2008 (UTC)
- The point being that an article is not rated on the event itself, but on how well the article is written. Right now 2010 FIFA World Cup is a Start-Class article, not a Future-Class. The assessment scale was created to assess how complete and well-written an article is. I mean if we have Category:Future-Class articles, shouldnt we have Category:Present-Class articles and Category:Past-Class articles? (which would cover every single article in the project and basically make the assessment scale useless) « Gonzo fan2007 (talk ♦ contribs) 18:46, 14 April 2008 (UTC)
- I agree, the Future Class is pointless. As it is now, it evaluates articles in a different dimension, unrelated to the quality assessment. Yury Petrachenko (talk) 18:05, 4 June 2008 (UTC)
- The point being that an article is not rated on the event itself, but on how well the article is written. Right now 2010 FIFA World Cup is a Start-Class article, not a Future-Class. The assessment scale was created to assess how complete and well-written an article is. I mean if we have Category:Future-Class articles, shouldnt we have Category:Present-Class articles and Category:Past-Class articles? (which would cover every single article in the project and basically make the assessment scale useless) « Gonzo fan2007 (talk ♦ contribs) 18:46, 14 April 2008 (UTC)
- I very strongly doubt a future class article would be made GA or even FA. D.M.N. (talk) 18:41, 14 April 2008 (UTC)
[edit] Current-Class
Category:Current-Class articles seems to be in the same boat as Category:Needed-Class articles. In this case, an article is "current" (recent information) until it no longer is "current". Category:Current-Class articles seems to be a not so useful class rating for articles. GregManninLB (talk) 16:44, 14 April 2008 (UTC)
[edit] Portal Class
{{editprotected}} Template:WikiProject Illinois uses a portal class to populate Category:Portal-class WikiProject Illinois pages. There is a bunch of "Portal-class" subcategories atCategory:Portal-Class articles. GregManninLB (talk) 16:39, 14 April 2008 (UTC)
- Can you explain what edit you would like done? --- RockMFR 16:57, 14 April 2008 (UTC)
Hi RockMFR. Category:Needed-Class is not a good idea as noted here. Category:Portal-Class articles is a widely used article class category. Replace
-->{{#ifexist:Category:Needed-Class {{{topic|}}} articles|<td style="background: #aaaaaa;"> [[:Category:Needed-Class {{{topic|}}} articles|Needed]]</td>|}}<!-- with
-->{{#ifexist:Category:Portal-Class {{{topic|}}} articles|<td style="background: #aaaaaa;"> [[:Category:Portal-Class {{{topic|}}} articles|Portal]]</td>|}}<!--
Thanks. GregManninLB (talk) 17:19, 14 April 2008 (UTC)
- Done Although I just added Portal-Class, I didn't remove Needed-Class as some projects do use this parameter (even though I think it is used on like one page). « Gonzo fan2007 (talk ♦ contribs) 17:33, 14 April 2008 (UTC)
- Also, you are going to need to rename Category:Portal-class WikiProject Illinois pages to Category:Portal-Class WikiProject Illinois pages (note the capitalization) or the template won't work for you. All categories should have the class capitalized. « Gonzo fan2007 (talk ♦ contribs) 17:40, 14 April 2008 (UTC)
[edit] Centring labels?
Just as an IMHO, it would look better if the labels were text-align=center'd in their boxes. FlagSteward (talk) 16:14, 12 May 2008 (UTC)