Template:List of lists/doc

This template should be placed at the foot of a list of lists article. It adds the list to Category:Lists of lists, or a subcategory, and also adds it to the category corresponding to the list of lists, which typically has the same name as the list of lists.

Default
This template can be used without any parameters to mark a page as a generic list of lists article. E.g.:



which renders as:

or, if the page name does not start with "List", as:

The template then categorizes the page into  and    (if that category exists)

Type of list of lists
The template can be given a type of list of lists as a first parameter. For instance:



will categorize the page into, and will render as:



Up to three types may be specified. Thus:



will categorize the page into, and will render as:



Category sorting
By default, the list will be sorted by name in Category:Lists of lists or the chosen type categories, and in any other categories you specify.
 * Use the |sort= parameter to specify a sort key for the list in Category:Lists of lists or the chosen type categories.
 * E.g.
 * Use  to specify a different different sort key which will apply to all categories for the list where no sort key is specified.
 * E.g..
 * You may specify sort keys for each category in the normal way.
 * e.g.

Matching category
Each list of lists should have a matching category. Thus Lists of academic journals has Category:Lists of academic journals. All entries in the list should also be in the category.

By default, this template adds the list to a category with the same name, if it exists. To override the category, use the  parameter. Thus, in
 * will add the list of lists to  (if that category exists)
 * will add the list of lists to

By default the template uses a blank sort key for the list category, placing the list at the top of the pages in the category. Use the  parameter to give a different sort key. Thus:

Maintenance categories
If a list-of-lists with no matching category is under 500 characters long it is also placed in Category:Short lists of lists‎, and if it is over 500 characters long it is also placed in Category:Long lists of lists‎. Creating a category with the same name as the list, or adding a category using the |listcat= parameter, will remove it from these maintenance categories.

The template also populates Category:Lists of lists with listcat specified‎ and Category:Lists of lists with sort specified. These maintenance categories do not indicate a problem, but may be useful to editors undertaking maintenance activity.

The template only categorizes a page if the page is in the main (article) space. Thus, for instance, it will not categorize a talk page where the template might be shown or discussed.