Difference between revisions of "Template:Arrowverse character redirect/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Gonnym
blackwiki>GreenComputer
(Added TemplateData)
Line 12: Line 12:
 
{{Transcluded section|source=Module:Arrowverse redirect category handler/doc}}
 
{{Transcluded section|source=Module:Arrowverse redirect category handler/doc}}
 
{{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}}
 
{{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}}
 +
 +
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"arrow": {
 +
"label": "Arrow",
 +
"description": "Any value will tag the redirect as belonging to Arrow.",
 +
"type": "boolean"
 +
},
 +
"flash": {
 +
"label": "The Flash",
 +
"description": "Any value will tag the redirect as belonging to The Flash.",
 +
"type": "boolean"
 +
},
 +
"constantine": {
 +
"label": "Constantine",
 +
"description": "Any value will tag the redirect as belonging to Constantine.",
 +
"type": "boolean"
 +
},
 +
"legends": {
 +
"label": "Legends of Tomorrow",
 +
"description": "Any value will tag the redirect as belonging to Legends of Tomorrow.",
 +
"type": "boolean"
 +
},
 +
"supergirl": {
 +
"label": "Supergirl",
 +
"description": "Any value will tag the redirect as belonging to Supergirl.",
 +
"type": "boolean"
 +
},
 +
"vixen": {
 +
"label": "Vixen",
 +
"description": "Any value will tag the redirect as belonging to Vixen.",
 +
"type": "boolean"
 +
},
 +
"ray": {
 +
"label": "Freedom Fighters: The Ray",
 +
"description": "Any value will tag the redirect as belonging to Freedom Fighters: The Ray.",
 +
"type": "boolean"
 +
},
 +
"batwoman": {
 +
"label": "Batwoman",
 +
"description": "Any value will tag the redirect as belonging to Batwoman.",
 +
"type": "boolean"
 +
},
 +
"birth_name": {
 +
"label": "From birth name",
 +
"description": "Only valid for character redirects; Any value will tag the redirect with: {{R from birth name}}.",
 +
"type": "boolean"
 +
},
 +
"alt_name": {
 +
"label": "From alternative name",
 +
"description": "Only valid for character redirects; Any value will tag the redirect with: {{R comics from alternative name}}.",
 +
"type": "boolean"
 +
},
 +
"nickname": {
 +
"label": "From nickname",
 +
"description": "Only valid for characters; Any value will tag the redirect with: {{R from alternative name}}.",
 +
"type": "boolean"
 +
},
 +
"short_name": {
 +
"label": "From short name",
 +
"description": "Only valid for character redirects; Any value will tag the redirect with: {{R from short name}}.",
 +
"type": "boolean"
 +
},
 +
"long_name": {
 +
"label": "From long name",
 +
"description": "Only valid for characters; Any value will tag the redirect with: {{R from long name}}.",
 +
"type": "boolean"
 +
},
 +
"title_name": {
 +
"label": "From name with title",
 +
"description": "Only valid for characters; Any value will tag the redirect with: {{R from name with title}}.",
 +
"type": "boolean"
 +
},
 +
"alt_spelling": {
 +
"label": "From alternative spelling",
 +
"description": "Will tag the redirect with: {{R from alternative spelling}} and set the value entered as the correct spelling to use.",
 +
"type": "line"
 +
},
 +
"anchor": {
 +
"label": "To anchor",
 +
"description": "Any value will tag the redirect with: {{R to anchor 2}}.",
 +
"type": "boolean"
 +
},
 +
"list": {
 +
"label": "To list entry",
 +
"description": "Any value will tag the redirect with: {{R to list entry}}.",
 +
"type": "boolean"
 +
},
 +
"primary": {
 +
"label": "Avoided double redirect",
 +
"description": " \tWill tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect.",
 +
"type": "wiki-page-name"
 +
},
 +
"incorrect_name": {
 +
"label": "From incorrect name",
 +
"description": "Will tag the redirect with: {{R from incorrect name}} and set the value entered as the correct name to use.",
 +
"type": "line"
 +
},
 +
"unneeded_dab": {
 +
"label": "From unnecessary disambiguation",
 +
"description": "Any value will tag the redirect with: {{R from unnecessary disambiguation}}.",
 +
"type": "boolean"
 +
},
 +
"dab_exception": {
 +
"label": "Disambiguation exception",
 +
"description": "Any value will tag the redirect with: {{R with possibilities}} and {{R printworthy}}, regardless of other issues the redirect might have.",
 +
"type": "boolean"
 +
},
 +
"merge": {
 +
"label": "From merge",
 +
"description": "Any value will tag the redirect with: {{R from merge}}.",
 +
"type": "boolean"
 +
},
 +
"history": {
 +
"label": "With history",
 +
"description": "Any value will tag the redirect with: {{R with history}}.",
 +
"type": "boolean"
 +
},
 +
"not_list": {
 +
"label": "Not to a list",
 +
"description": "Only valid for characters; Currently prevents the redirect as being categorized as a section redirect.",
 +
"type": "boolean"
 +
}
 +
},
 +
"description": "This template is used tag an Arrowverse character redirect with the relevant redirect categories."
 +
}
 +
</templatedata>
  
 
{{Fiction-related redirects templates}}
 
{{Fiction-related redirects templates}}

Revision as of 06:26, 21 December 2019

Template:Arrowverse character redirect is used tag an Arrowverse character redirect with the relevant redirect categories.

Usage

  • {{Arrowverse character redirect}}
  • {{Arrowverse character redirect|arrow=y|flash=y|constantine=y|legends=y|supergirl=y|vixen=y|ray=y|batwoman=y}}

Parameters

Template:Transcluded section {{#section:Module:Arrowverse redirect category handler/doc|Parameters}}

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 Arrowverse character redirect

This template is used tag an Arrowverse character redirect with the relevant redirect categories.

Template parameters

ParameterDescriptionTypeStatus
Arrowarrow

Any value will tag the redirect as belonging to Arrow.

Booleanoptional
The Flashflash

Any value will tag the redirect as belonging to The Flash.

Booleanoptional
Constantineconstantine

Any value will tag the redirect as belonging to Constantine.

Booleanoptional
Legends of Tomorrowlegends

Any value will tag the redirect as belonging to Legends of Tomorrow.

Booleanoptional
Supergirlsupergirl

Any value will tag the redirect as belonging to Supergirl.

Booleanoptional
Vixenvixen

Any value will tag the redirect as belonging to Vixen.

Booleanoptional
Freedom Fighters: The Rayray

Any value will tag the redirect as belonging to Freedom Fighters: The Ray.

Booleanoptional
Batwomanbatwoman

Any value will tag the redirect as belonging to Batwoman.

Booleanoptional
From birth namebirth_name

Only valid for character redirects; Any value will tag the redirect with: {{R from birth name}}.

Booleanoptional
From alternative namealt_name

Only valid for character redirects; Any value will tag the redirect with: {{R comics from alternative name}}.

Booleanoptional
From nicknamenickname

Only valid for characters; Any value will tag the redirect with: {{R from alternative name}}.

Booleanoptional
From short nameshort_name

Only valid for character redirects; Any value will tag the redirect with: {{R from short name}}.

Booleanoptional
From long namelong_name

Only valid for characters; Any value will tag the redirect with: {{R from long name}}.

Booleanoptional
From name with titletitle_name

Only valid for characters; Any value will tag the redirect with: {{R from name with title}}.

Booleanoptional
From alternative spellingalt_spelling

Will tag the redirect with: {{R from alternative spelling}} and set the value entered as the correct spelling to use.

Lineoptional
To anchoranchor

Any value will tag the redirect with: {{R to anchor 2}}.

Booleanoptional
To list entrylist

Any value will tag the redirect with: {{R to list entry}}.

Booleanoptional
Avoided double redirectprimary

Will tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect.

Pageoptional
From incorrect nameincorrect_name

Will tag the redirect with: {{R from incorrect name}} and set the value entered as the correct name to use.

Lineoptional
From unnecessary disambiguationunneeded_dab

Any value will tag the redirect with: {{R from unnecessary disambiguation}}.

Booleanoptional
Disambiguation exceptiondab_exception

Any value will tag the redirect with: {{R with possibilities}} and {{R printworthy}}, regardless of other issues the redirect might have.

Booleanoptional
From mergemerge

Any value will tag the redirect with: {{R from merge}}.

Booleanoptional
With historyhistory

Any value will tag the redirect with: {{R with history}}.

Booleanoptional
Not to a listnot_list

Only valid for characters; Currently prevents the redirect as being categorized as a section redirect.

Booleanoptional