Template:Redirect-distinguish/doc: Difference between revisions
(tagged with proposed deletion) |
m (25 revisions imported: Hop aboard the import train. These templates needed to be added, and the proper crediting goes to Wikipedia for the usage of these templates.) |
||
(19 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
⚫ | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
⚫ | |||
This [[Wikipedia:Hatnote|hatnote]] is generally used when an article's title has an ambiguity that is not necessarily literal, but one that would likely happen with enough readers to warrant a hatnote. Be careful to [[WP:TRHAT|avoid trivial uses]]. |
|||
* {{tlx|Redirect-distinguish|REDIRECT|PAGE1}} → {{Redirect-distinguish|REDIRECT|PAGE1}} |
|||
=== Usage === |
|||
* {{tlx|Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} → {{Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} |
|||
This template is intended to be used when redirects to an article are confusable with the title of a different article or redirect. |
|||
== TemplateData == |
|||
<code><nowiki>{{redirect-distinguish|Foo|Bar}}</nowiki></code> |
|||
{{TemplateData header}} |
|||
{{redirect-distinguish|Foo|Bar}} |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Redirecting page", |
|||
"description": "Name of page that redirects here", |
|||
"type": "wiki-page-name", |
|||
"required": true |
|||
}, |
|||
"2": { |
|||
"label": "Use 1", |
|||
"description": "1st other use", |
|||
"type": "wiki-page-name", |
|||
"required": true |
|||
}, |
|||
"3": { |
|||
"label": "Use 2", |
|||
"description": "2nd other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"4": { |
|||
"label": "Use 3", |
|||
"description": "3rd other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"5": { |
|||
"label": "Use 4", |
|||
"description": "4th other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"6": { |
|||
"label": "Use 5", |
|||
"description": "5th other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"7": { |
|||
"label": "Use 6", |
|||
"description": "6th other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"8": { |
|||
"label": "Use 7", |
|||
"description": "7th other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"9": { |
|||
"label": "Use 8", |
|||
"description": "8th other use", |
|||
"type": "wiki-page-name" |
|||
}, |
|||
"10": { |
|||
"label": "Use 9", |
|||
"description": "9th other use", |
|||
"type": "wiki-page-name" |
|||
} |
|||
}, |
|||
"description": "Indicates that a page is not to be confused with other pages. This template supports unlimited arguments.", |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
{{Hatnote templates}} |
|||
<code><nowiki>{{redirect-distinguish|Foo|Bar|Baz}}</nowiki></code> |
|||
⚫ | |||
{{redirect-distinguish|Foo|Bar|Baz}} |
|||
⚫ | |||
[[Category:Disambiguation and redirection templates]] |
|||
⚫ | |||
[[cy:Nodyn:Redirect-distinguish]] |
|||
<code><nowiki>{{redirect-distinguish|Foo|Bar|Baz|Qux}}</nowiki></code> |
|||
{{redirect-distinguish|Foo|Bar|Baz|Qux}} |
|||
⚫ | |||
<code><nowiki>{{redirect-distinguish|Foo|Bar|Baz|Qux|42}}</nowiki></code> |
|||
{{redirect-distinguish|Foo|Bar|Baz|Qux|42}} |
|||
=== See also === |
|||
*{{tl|distinguish}} |
|||
*{{tl|redirect}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Latest revision as of 21:56, 21 March 2022
Template:Strong for Template:Redirect-distinguish. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This hatnote is generally used when an article's title has an ambiguity that is not necessarily literal, but one that would likely happen with enough readers to warrant a hatnote. Be careful to avoid trivial uses.
{{Redirect-distinguish|REDIRECT|PAGE1}}
→{{Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}}
→
TemplateData Edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Redirect-distinguish in articles based on its TemplateData.
TemplateData for Redirect-distinguish
Indicates that a page is not to be confused with other pages. This template supports unlimited arguments.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Redirecting page | 1 | Name of page that redirects here | Page name | required |
Use 1 | 2 | 1st other use | Page name | required |
Use 2 | 3 | 2nd other use | Page name | optional |
Use 3 | 4 | 3rd other use | Page name | optional |
Use 4 | 5 | 4th other use | Page name | optional |
Use 5 | 6 | 5th other use | Page name | optional |
Use 6 | 7 | 6th other use | Page name | optional |
Use 7 | 8 | 7th other use | Page name | optional |
Use 8 | 9 | 8th other use | Page name | optional |
Use 9 | 10 | 9th other use | Page name | optional |