When used inside the{{Redirect category shell}} template:
This page is aredirect.The followingcategories are used to track and monitor this redirect:
|
When used by itself:
| This template is used onapproximately 2,300 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them. |
| This templateshould not besubstituted nor used to tagsoft redirects. |
| Anybreaking changes to this template, including moving it or nominating it for deletion,must be communicated in advance toTwinkle's users and maintainers atWikipedia talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you. |
| This template usesLua: |
This redirect category (rcat) template is used to categorizeredirects from afictional location to a related article or to alist of locations, a type of article that is a collection of brief descriptions and covers the subject more comprehensively. This could be a formal List article, or an article with a formal bulleted list of locations, or an article to which the location is related and lists other locations informally. Links to locations should use this redirect and shouldnot bepiped with the target page name. This allows "what links here" to be used to identify the links to the individual sections. This redirect template populatesCategory:All fictional location redirects and when the first parameter is not used,Category:Redirects from fictional locations is also populated.
Use this template on any mainspace redirect from a fictional location to a related fictional article or to a list in which the location is an entry, either as a section or as non-section entries. If the redirect is to a section also use{{R to section}}; if it is to an anchor (other than a "section anchor") use{{R to anchor}}.
Add this redirect category to a redirect (not atalk-page redirect) in the following manner:
#REDIRECT[[(target article title)]]{{Redirect category shell|{{R from fictional location}}}}
Template{{Redirect category shell}} may be used to add as many appropriate redirect categories as needed. For more information see the documentation on itstemplate documentation.
This redirect category may also tag a redirect individually:
#REDIRECT[[(target article title)]]{{R from fictional location}}
This is in accord with instructions found atWikipedia:REDCAT.
An optional unnamed parameter,|1=(name of work), may be used to supply the name of the creative work that includes the location. This will sort the redirect into a more specific category for that work. For example:
{{Redirect category shell|{{R from fictional location|1=Star Wars}}}}
or
{{Redirect category shell|{{R from fictional location|Star Wars}}}}
or
{{R from fictional location|Star Wars}}
All three of the above will populateCategory:Star Wars location redirects.
A second optional unnamed parameter,|2=(sort key) may be used to provide asort key for the fictional location that is redirected. For example:
{{Redirect category shell|{{R from fictional location|1=Star Trek|2=Bassen Rift, The}}}}
or
{{Redirect category shell|{{R from fictional location|Star Trek|Bassen Rift, The}}}}
or
{{R from fictional location|Star Trek|Bassen Rift, The}}
InCategory:Star Trek location redirects, all three of the above sort the location redirect, "The Bassen Rift", in alphabetical order by "Bassen" ("B") instead of by "The" ("T"). Without the second parameter, the template sort key is either the redirect page name or theDEFAULTSORT, if included.
TemplateData for R from fictional location
A redirect category template which is used to categorize redirects from a fictional location to a related article to a list of location.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Series name | 1 | The series article name. | Page name | optional |
| Sort key | 2 | A sort key for the redirect entry. | String | optional |
Important note: the very first time that a creative-work-specific subcategory is named in the first parameter, that category will appear as ared link (Category:Tiddlywinks location redirects) at the bottom of the redirect page (if this is not seen or no categories can be seen at the bottom of the page, then be sure your preferences are set tosee hidden categories). If the category link is red, it means that the categorymust be created to correctly sort the fictional location.
The category name should be similar to creative work article. So if the article uses disambiguation, the category should use it as well.
[[Category:(series name) location redirects]]
When creating the new category, place{{Fiction-based redirects to list entries category handler}} at the top as follows:
{{Fiction-based redirects to list entries category handler|media=}}
|media= should be the type of media the fictional work is. For example:|media=Television,|media=Film. If in doubt, checkCategory:Redirects from fictional locations and see what categories are available.
| Please do not alter the printworthy settings of this rcat without first notifying theVersion 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version ofWikipedia. |
{{R printworthy}}{{R unprintworthy}}Click on each one for more details and guidance.
{{Redirect category shell|{{R from fictional location}}{{R printworthy}}}}{{Redirect category shell|{{R from fictional location}}{{R unprintworthy}}}}