Template:Redirect/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Kelsey Chislett No edit summary |
meta>Wbm1058 m Reverted edits by Kelsey Chislett (talk) to last version by Salix alba |
||
Line 1: | Line 1: | ||
{{notice|1=Using this template does not create a redirect. See | |||
* [[WP:Redirect]] for general instruction on redirects. | |||
* [[Template:R template index|R template index]] for templates to categorize redirects. | |||
}} | |||
== Examples== | |||
* {{tlx|Redirect|REDIRECT}} (disambiguous) → {{Redirect|REDIRECT}} | |||
* {{tlx|Redirect|REDIRECT<nowiki>||</nowiki>PAGE1}} → {{Redirect|REDIRECT||PAGE1}} | |||
* {{tlx|Redirect|REDIRECT|USE1|PAGE1}} → {{Redirect|REDIRECT|USE1|PAGE1}} | |||
* {{tlx|Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2}} → {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2}} | |||
* {{tlx|Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}} → {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}} | |||
* {{tlx|Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}} → {{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}} | |||
* {{tlx|Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}} → {{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}} | |||
== | == TemplateData == | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Redirecting page", | |||
"description": "Name of page that redirects here", | |||
"type": "string/wiki-page-name", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Use1", | |||
"description": "Displayed as: For Use1, see ...", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"3": { | |||
"label": "Target1", | |||
"description": "Page to link to. Default is [[PAGENAME (disambiguation)]].", | |||
"type": "string/wiki-page-name", | |||
"required": false | |||
}, | |||
"4": { | |||
"label": "Use2", | |||
"description": "Second use. Can be 'and' to give: For Use1, see [[Target1]] and [[Target2]]", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"5": { | |||
"label": "Target2", | |||
"description": "Page to link second use to.", | |||
"type": "string/wiki-page-name", | |||
"required": false | |||
}, | |||
"6": { | |||
"label": "Use3", | |||
"description": "Third use, can be 'and'", | |||
"type": "string", | |||
"required": false | |||
}, | |||
"7": { | |||
"label": "Target3", | |||
"description": "Page to link third use to.", | |||
"type": "string/wiki-page-name", | |||
"required": false | |||
} | |||
} | |||
} | |||
</templatedata> | |||
{{Commons|Template:Redirect}} | |||
{{Otheruses templates}} | |||
<includeonly> | |||
<!--Categories--> | |||
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]] | |||
[[Category:Hatnote templates]] | |||
</includeonly> |
Revision as of 03:17, 11 December 2013
Using this template does not create a redirect. See
|
Examples
{{Redirect|REDIRECT}}
(disambiguous) →{{Redirect|REDIRECT||PAGE1}}
→{{Redirect|REDIRECT|USE1|PAGE1}}
→{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2}}
→{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|USE3|PAGE3}}
→{{Redirect|REDIRECT|USE1|PAGE1|and|PAGE2}}
→{{Redirect|REDIRECT|USE1|PAGE1|USE2|PAGE2|and|PAGE3}}
→
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Redirecting page | 1 | Name of page that redirects here | Page name | required |
Use1 | 2 | Displayed as: For Use1, see ... | String | optional |
Target1 | 3 | Page to link to. Default is [[PAGENAME (disambiguation)]]. | Page name | optional |
Use2 | 4 | Second use. Can be 'and' to give: For Use1, see [[Target1]] and [[Target2]] | String | optional |
Target2 | 5 | Page to link second use to. | Page name | optional |
Use3 | 6 | Third use, can be 'and' | String | optional |
Target3 | 7 | Page to link third use to. | Page name | optional |
Template:Commons Template:Otheruses templates