Module:Fiction-based redirects to list entries category handler/doc
MyWikiBiz, Author Your Legacy — Saturday February 15, 2025
Jump to navigationJump to searchThis is the documentation page for Module:Fiction-based redirects to list entries category handler
Module:Fiction-based redirects to list entries category handler
is used on categories that contain character, element, episode or location redirects to lists (in the style of [[Category:series-name content-type redirects to lists]]
), such as Category:Arrow (TV series) episode redirects to lists.
What it does
The module will perform the following:
- Italicize the series name in the category title.
- Add the {{Redirect category}} header.
- Add a DEFAULTSORT sort key to the category.
- Add {{CatAutoTOC}} to handle the category table of contents.
- Place the category as a sub-category of:
[[:Category:series-name content-type|*]]
and[[Category:series-name redirects|content-type]]
— if they exist.[[:Category:series-name|content-type]]
— if not placed in of the of the above categories.
- Place the category as a sub-category of a relevant main category or a media specific one if Template:Para is used:
- Category:Episode redirects to lists or a media specific one such as Category:Animated series episode redirects to lists
- Category:Fictional character redirects or a media specific one such as Category:Television character redirects to lists
- Category:Fictional element redirects or a media specific one such as Category:Television element redirects to lists
- Category:Fictional location redirects or a media specific one such as Category:Television location redirects.
Notes
- This templates expects that the category be named
Category:series-name content-type redirects to lists
orCategory:series-name content-type redirects
for location categories only. - The series-name should be the exact name used for the title of the series article, including disambiguation if used.
- The content-type used will be taken from the category name and be one of either "character", "element" "episode", or "location".
Usage
Parameter list
Parameter | Explanation |
---|---|
media
|
The type of media the fiction belongs to. Types include, but not limited to: Film, Television and Video game. If unsure, check the top level category, such as Category:Fictional character redirects, and see what sub-categories that category has. |
Template:Unbulleted list | Additional types of media the fiction belongs to. |
main
|
Use when the main series category is not written or disambiguated the same as the series article. The value will be used for the series (parent) category title. For example: Category:Heroes Reborn (miniseries) episode redirects to lists uses Template:Para as it doesn't have its own category. |
no_italic
|
Disables the italicizing of the series title. |
test
|
The series article name. Used in /testcases. |
Tracking categories
Template:Fiction-related redirects templates