Predefinição:Home Redirect/Doc
A UESPWiki – Sua fonte de The Elder Scrolls desde 1995
Summary
This template is used to place categories on Home Redirect pages. It should be placed after the "#REDIRECT[]" code, which must always be on the top. It will automatically add the categories {{NAMESPACE}}-Home-Redirects and {{NAMESPACE}}-Places-Homes as well as adding categories and sort order based on the parameters provided.
Parameters
Home Redirect | ||
---|---|---|
Parâmetero | Escopo | Descrição |
1 |
required | Category to place redirect in. This should be used for the city in which the home is located. |
2 or |
optional | Changes the sort order of the redirect in all of the categories it is in. If not provided the redirect will be sorted based on the page name with A, An, or The moved to the end. This behavior can be overridden by passing the original name in this parameter. |
Examples
{{Home Redirect|Hla Oad}}
If used on a Morrowind page, adds categories:
- Morrowind-Home-Redirects
- Morrowind-Places-Homes
- Morrowind-Places-Hla Oad
{{Home Redirect|Bitter Coast|An Abandoned Shack}}
If used on a Morrowind page, sorts under "An Abandoned Shack" instead of "Abandoned Shack, An" and adds categories:
- Morrowind-Home-Redirects
- Morrowind-Places-Homes
- Morrowind-Places-Bitter Coast