Module:Fiction-based redirects to list entries category handler/doc
Yi palo
This is the documentation page for Module:Fiction-based redirects to list entries category handler
![]() | This module depends on the following other modules: |
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
[mali mi di yibu sheena n-niŋ]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
|media=
is used:- Category:Episode redirects to lists or a media specific one such as Category:Animated series episode redirects to lists
- Category:Redirects from fictional characters or a media specific one such as Category:Television character redirects to lists
- Category:Redirects from fictional elements or a media specific one such as Category:Television element redirects to lists
- Category:Redirects from fictional locations or a media specific one such as Category:Television location redirects.
Notes
[mali mi di yibu sheena n-niŋ]- 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
[mali mi di yibu sheena n-niŋ]{{#invoke:Fiction-based redirects to list entries category handler|main}}
Parameter list
[mali mi di yibu sheena n-niŋ]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:Redirects from fictional characters, and see what sub-categories that category has. |
|
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 |main=Heroes (American TV series) 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
[mali mi di yibu sheena n-niŋ]