Difference between revisions of "Template:Redirect-distinguish6/doc"

From blackwiki
Jump to navigation Jump to search
test>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
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}} &rarr; {{Redirect-distinguish6|REDIRECT|PAGE2|USE3}}
 
* {{tlx|Redirect-distinguish6|REDIRECT|PAGE2|USE3}} &rarr; {{Redirect-distinguish6|REDIRECT|PAGE2|USE3}}
 
* {{tlx|Redirect-distinguish6|REDIRECT|PAGE2}} &rarr; {{Redirect-distinguish6|REDIRECT|PAGE2}}
 
* {{tlx|Redirect-distinguish6|REDIRECT|PAGE2}} &rarr; {{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

Redirection notice that has both "not to be confused with" and "for Use".

Usage


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"

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Redirecting page1

Name of page that redirects here

Pagesuggested
Similar page2

Page to indicate as "not to be confused with"

Pagerequired
Use3

Displayed as: For Use, see ... If left empty, defaults to For other uses, see ...

Stringsuggested
Target4

Page to link to. Default is [[PAGENAME (disambiguation)]].

Pagesuggested