Template talk:Category class/Archive 1

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,

 Dab. |}} should read  Dab. |}}
 * Done.—Markles
 * Thanks :: Kevinalewis  : (Talk Page) /(Desk)  12:15, 12 November 2007 (UTC)

Addition of List-Class
List-Class is now a standard assessment class that is indexed by the assessment bot (see Version 1.0 Editorial Team/Index). So List-Class should be added to this template as another category link like this: |style="background: #aa88ff;"| 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)

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;"| Unassessed New: |style="background: transparent;"| 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)


 * ✅ Neil   ☎  11:31, 3 December 2007 (UTC)

Replace extras parameter with ifexist statements
Old:

New:

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)


 * ✅ Neil   ☎  11:31, 3 December 2007 (UTC)
 * Now ❌ - it was breaking the formatting, making the boxes appear super-tall, so I've reverted the change. See my talk page for detail.  Suggest checking the coding in a sandbox first.  Neil   ☎  15:54, 3 December 2007 (UTC)

Newer: 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)
 * style="background: transparent;"| Unassessed

Also, since the extra parameters will no longer be used, the "Usage" section should be changed to: --Scott Alter 02:30, 4 December 2007 (UTC)
 * 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.


 * 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)

Colors of cells
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: 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)

Quality scale
I think the template should link to the quality scale.--Patrick (talk) 15:42, 27 December 2007 (UTC)

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)