Plantilla:Redirect/doc
This is a documentation subpage for Plantilla:Redirect. It contains usage information, categories and other content that is not part of the original plantilla page. |
Using this template does not create a redirect. The following pages may have what you are looking for:
|
This template is used on approximately 42 000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Tranclusion count updated automatically (see documentation). |
This template uses Lua: |
This template produces a hatnote:
- {{redirect|Foo}} →
Its purpose is to reduce confusion by helping users get to their intended page if they were redirected to another page while, for example, searching for a topic. An example would be when a user searches for Achilleus (as in the emperor), but ends up on the page titled Achilles (as in the mythical hero) after being redirected. A |text=
option adds text to the end; note that this should be only used when truly necessary, and the other hatnote templates listed below don't suffice.
Examples
[revisa codigo]- {{redirect|Foo}} →
- {{redirect|REDIRECT||PAGE1}} →
- {{redirect|REDIRECT|USE1|PAGE1}} →
- {{redirect|REDIRECT|USE1|PAGE1|USE2|...}} →
- {{redirect|REDIRECT|USE1|PAGE1|and|...}} →
- {{redirect|REDIRECT|USE1|PAGE1|USE2|...}} →
- {{redirect|Achilleus|the Emperor with this name|Achilleus (emperor)|other uses|...}} (as used on the page Achilles) →
TemplateData
[revisa codigo]TemplateData for Redirect
This template produces a hatnote similar to: "Foo" redirects here. For other uses, see [[Foo (disambiguation)]].
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Redirecting page | 1 | Name of page that redirects here | Nombre de página | obligatorio |
Use 1 | 2 | Displayed as: For Use 1, see ... If left empty, defaults to For other uses, see ... | Línea | opcional |
Target 1 | 3 | Page to link to. Default is [[PAGENAME (disambiguation)]]. | Nombre de página | opcional |
Use 2 | 4 | Second use. Can be 'and' to give: For Use 1, see [[Target1]] and [[Target2]]. | Línea | opcional |
Target 2 | 5 | Page to link second use to. | Nombre de página | opcional |
Use 3 | 6 | Third use. Can be 'and'. | Línea | opcional |
Target 3 | 7 | Page to link third use to. | Nombre de página | opcional |
Custom text | text | Text to be appended to the end. | Línea | opcional |
See also
[revisa codigo]- {{Talk page of redirect}}
- {{Redirect-distinguish}}
- {{WikiProject Redirect}}
- {{Wiktionary redirect}}
- {{R avoided double redirect}}
- {{Redirect2}}
External links
[revisa codigo]Plantilla:Commons-inline at Wikimedia Commons.
Plantilla:Wikipedia template messages