[[Module:compound/templates]]: derivsee

Fragment of a discussion from User talk:Rua

But what could would that do? At best we would just do what the current class= argument to the parser function does anyway.

CodeCat16:45, 30 October 2014

For example, override script CSS for the category name line (assuming it has a different class from that of the entries. I have not checked.

WikiTiki8900:41, 31 October 2014

That's what the class= argument does.

CodeCat01:37, 31 October 2014

Does the class argument apply to just the category name line, or to the whole thing?

WikiTiki8902:02, 31 October 2014

I don't know. But it's what is used to apply the sc= parameter of the template currently.

CodeCat02:06, 31 October 2014

I looked into it and the class "CategoryTreeLabelCategory" is used for the category link, while "CategoryTreeLabelPage" is used for the entry links. So these are the ones we want to target. I'm not a CSS expert, but hopefully someone can figure out how to override "CategoryTreeLabelCategory" to inherit the "Latn" class.

WikiTiki8902:13, 31 October 2014