Template talk:MetaCat

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Size of this box[edit]

I suggest this box be shortened from top to bottom. All the text could be in one paragraph instead of two. The languages could be put in a collapsed section. --Timeshifter (talk) 12:35, 12 October 2009 (UTC)

The box has been shortened. See Template talk:MetaCat/en. --Timeshifter (talk) 08:48, 26 October 2009 (UTC)

Documentation and better method[edit]

Please see this discussion:

--Timeshifter (talk) 22:34, 29 October 2009 (UTC)

Version of summer 2010[edit]

Parameter "flat=yes" not documented. Causes self categorisation. --Foroa (talk) 17:27, 12 August 2010 (UTC)

It's logical in this case. A category meant to contain all "by xxx" should contain itself if it is also a "by xxx" category. It's not documented (yet) on purpose. Rocket000 (talk) 19:14, 12 August 2010 (UTC)


Suggestion: Include {{CatAZ}} when more than 200 items in category (and potentially {{LargeCategoryTOC}} when more than 5000 items). --Foroa (talk) 15:38, 19 August 2010 (UTC)

Good idea, but two issues I see with that: 1) Some of these already have a TOC template, so this would duplicate it. 2) TOCs should preferably be directly above the category list; if there's any description or navigation template (like one of these) or anything else, it should be below that I think. Rocket000 (talk) 01:14, 24 August 2010 (UTC)
Not a real problem I guess, most cats with navigation are well organised and compact. I prefer to have them on a sub-optimal place than having to insert them manually and see them popping up where they are not needed at all. --Foroa (talk) 06:22, 24 August 2010 (UTC)


Is there a way to change the sortkey? As a sample on Category:Self-portraits, the subcategory Category:Self-portraits by country appears as the first one despite probably being the last criterion to use.  Docu  at 11:08, 8 September 2010 (UTC)

It is a good idea to have all of the tens of thousands meta-categories always located at the top left part of the parent category list. So even when the cat is too populated, they are always visible on the first page. It is not a good idea to have meta categories undersnowed in long subcategory lists. --Foroa (talk) 12:13, 8 September 2010 (UTC)
I'm not sure if it's that helpful to create a meta-cat for every type of subcategory, just to make it easier to sort them.  Docu  at 16:52, 8 September 2010 (UTC)
This is only done if {{by country category|parent category}} is used and is done for backwards compatibility. {{metacat|country}}, which should eventually replace {{by country category}}, does not add a parent topical category (only parent meta categories) and thus does not add a sortkey. If you convert it like so, then you can change the sortkey. The reasons for having {{metacat}} not categorize into a topical category is explained on Template:By country category. However, I agree that "by xxx" categories should have consistent locations in their topic categories. Rocket000 (talk) 18:46, 8 September 2010 (UTC)


I think this template could be made more useful by generalizing its autocategorization function. Currently it autocategorizes all categories tagged by this template into a common metacategory Category:Meta categories and into some other flat metacategories depending on the sorting criterion Category:Categories by CRITERION (flat list). However, it could have an extended functionality if, additionally, it autocategorizes into metacategories depending not only on the sorting criterion but also on the topics (template parameters named topic, topic2 and topic3). Thus, categories of the form Category:TOPIC in TOPIC2 by CRITERION could be autocategorized into the metacategory (if existing) Category:Categories of TOPIC2 by CRITERION|TOPIC. For example, Category:Agriculture in the United States by state could be autocategorized into the metacategory Category:Categories of the United States by state. --Albert Villanova del Moral (talk) 10:02, 24 November 2012 (UTC)