Difference between revisions of "Template:Redirect-distinguish2/doc"
Jump to navigation
Jump to search
test>Vanisaac |
test>Pokechu22 (Add TemplateData) |
||
| Line 4: | Line 4: | ||
* {{tlx|Redirect-distinguish2|REDIRECT|TEXT}} → {{Redirect-distinguish2|REDIRECT|TEXT}} | * {{tlx|Redirect-distinguish2|REDIRECT|TEXT}} → {{Redirect-distinguish2|REDIRECT|TEXT}} | ||
| + | |||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Redirecting page", | ||
| + | "description": "Name of page that redirects here", | ||
| + | "type": "wiki-page-name", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Target message", | ||
| + | "description": "Prefixed with \"It is not to be confused with\"", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Redirection notice with customizable text.", | ||
| + | "format": "inline" | ||
| + | } | ||
| + | </templatedata> | ||
{{Hatnote templates}} | {{Hatnote templates}} | ||
Revision as of 05:24, 9 June 2020
| This is a documentation subpage for Template:Redirect-distinguish2. It contains usage information, categories and other content that is not part of the original template page. |
This hatnote is generally used when there is an ambiguity that is not necessarily literal, but one that can be reasonably assumed to exist for a portion of the readership substantial enough to warrant a hatnote. When applying it, care should be taken to avoid trivial uses.
{{Redirect-distinguish2|REDIRECT|TEXT}}→
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-distinguish2
Redirection notice with customizable text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Redirecting page | 1 | Name of page that redirects here | Page | required |
| Target message | 2 | Prefixed with "It is not to be confused with" | Content | suggested |