Difference between revisions of "Template:Redirect-distinguish6/doc"
Jump to navigation
Jump to search
test>Vanisaac |
test>Pokechu22 (Add TemplateData) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | Redirection notice that has both "not to be confused with" and "for Use". | ||
| + | |||
== Usage == | == Usage == | ||
| Line 7: | Line 9: | ||
* {{tlx|Redirect-distinguish6|REDIRECT|PAGE2|USE3}} → {{Redirect-distinguish6|REDIRECT|PAGE2|USE3}} | * {{tlx|Redirect-distinguish6|REDIRECT|PAGE2|USE3}} → {{Redirect-distinguish6|REDIRECT|PAGE2|USE3}} | ||
* {{tlx|Redirect-distinguish6|REDIRECT|PAGE2}} → {{Redirect-distinguish6|REDIRECT|PAGE2}} | * {{tlx|Redirect-distinguish6|REDIRECT|PAGE2}} → {{Redirect-distinguish6|REDIRECT|PAGE2}} | ||
| + | |||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Redirecting page", | ||
| + | "description": "Name of page that redirects here", | ||
| + | "type": "wiki-page-name", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Similar page", | ||
| + | "description": "Page to indicate as \"not to be confused with\"", | ||
| + | "type": "wiki-page-name", | ||
| + | "required": true | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "Use", | ||
| + | "description": "Displayed as: For Use, see ... If left empty, defaults to For other uses, see ...", | ||
| + | "type": "string", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "4": { | ||
| + | "label": "Target", | ||
| + | "description": "Page to link to. Default is [[PAGENAME (disambiguation)]].", | ||
| + | "type": "wiki-page-name", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Redirection notice that has both \"not to be confused with\" and \"for Use\"", | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
{{Hatnote templates}} | {{Hatnote templates}} | ||
| − | |||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
Revision as of 05:18, 9 June 2020
| This is a documentation subpage for Template:Redirect-distinguish6. It contains usage information, categories and other content that is not part of the original template page. |
Redirection notice that has both "not to be confused with" and "for Use".
Usage
{{Redirect-distinguish6|REDIRECT|PAGE2|USE3|PAGE3}}→
{{Redirect-distinguish6|REDIRECT|PAGE2||PAGE3}}→
{{Redirect-distinguish6|REDIRECT|PAGE2|USE3}}→
{{Redirect-distinguish6|REDIRECT|PAGE2}}→
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Redirect-distinguish6
Redirection notice that has both "not to be confused with" and "for Use"
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Redirecting page | 1 | Name of page that redirects here | Page | suggested |
| Similar page | 2 | Page to indicate as "not to be confused with" | Page | required |
| Use | 3 | Displayed as: For Use, see ... If left empty, defaults to For other uses, see ... | String | suggested |
| Target | 4 | Page to link to. Default is [[PAGENAME (disambiguation)]]. | Page | suggested |