Template:Redirect-distinguish/doc: Difference between revisions

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.
No edit summary
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.)
 
(20 intermediate revisions by 14 users not shown)
Line 1:
{{Documentationdocumentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
*{{tlLua|Module:Redirect-distinguish}}
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}} &rarr; {{Redirect-distinguish|REDIRECT|PAGE1}}
=== Usage ===
* {{tlx|Redirect-distinguish|REDIRECT|PAGE1|PAGE2|PAGE3|PAGE4}} &rarr; {{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>
<includeonly>{{sandbox other||
{{redirect-distinguish|Foo|Bar|Baz}}
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Disambiguation and redirection templates]]
[[Category:HatHatnote notestemplates]]
 
[[cy:Nodyn:Redirect-distinguish]]
<code><nowiki>{{redirect-distinguish|Foo|Bar|Baz|Qux}}</nowiki></code>
{{redirect-distinguish|Foo|Bar|Baz|Qux}}
 
}}</includeonly>
<code><nowiki>{{redirect-distinguish|Foo|Bar|Baz|Qux|42}}</nowiki></code>
{{redirect-distinguish|Foo|Bar|Baz|Qux|42}}
 
=== See also ===
*{{tl|distinguish}}
*{{tl|redirect}}
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Hat notes]]
</includeonly>