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

From blackwiki
Jump to navigation Jump to search
blackwiki>Gonnym
blackwiki>Gonnym
Line 25: Line 25:
 
<templatedata>
 
<templatedata>
 
{
 
{
 +
"description": "This template is used tag an Arrowverse character redirect with the relevant redirect categories.",
 
"params": {
 
"params": {
 
"arrow": {
 
"arrow": {
Line 65: Line 66:
 
"description": "Any value will tag the redirect as belonging to Batwoman.",
 
"description": "Any value will tag the redirect as belonging to Batwoman.",
 
"type": "boolean"
 
"type": "boolean"
 +
},
 +
"restricted": {
 +
"label": "Restricted",
 +
"description": "Will tag the redirect with: {{R restricted}} and set the value entered as the correct title.",
 +
"type": "line"
 
},
 
},
 
"birth_name": {
 
"birth_name": {
Line 73: Line 79:
 
"alt_name": {
 
"alt_name": {
 
"label": "From alternative name",
 
"label": "From alternative name",
"description": "Only valid for character redirects; Any value will tag the redirect with: {{R comics from alternative name}}.",
+
"description": "Any value will tag the redirect with: {{R from alternative name}}.",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
"nickname": {
+
"former_name": {
"label": "From nickname",
+
"label": "From former name",
"description": "Only valid for characters; Any value will tag the redirect with: {{R from alternative name}}.",
+
"description": "Any value will tag the redirect with: {{R from former name}}",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
 
"short_name": {
 
"short_name": {
 
"label": "From short name",
 
"label": "From short name",
"description": "Only valid for character redirects; Any value will tag the redirect with: {{R from short name}}.",
+
"description": "Any value will tag the redirect with: {{R from short name}}.",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
 
"long_name": {
 
"long_name": {
 
"label": "From long name",
 
"label": "From long name",
"description": "Only valid for characters; Any value will tag the redirect with: {{R from long name}}.",
+
"description": "Any value will tag the redirect with: {{R from long name}}.",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
 
"title_name": {
 
"title_name": {
 
"label": "From name with title",
 
"label": "From name with title",
"description": "Only valid for characters; Any value will tag the redirect with: {{R from name with title}}.",
+
"description": "Only valid for character redirects; Any value will tag the redirect with: {{R from name with title}}.",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
Line 100: Line 106:
 
"description": "Will tag the redirect with: {{R from alternative spelling}} and set the value entered as the correct spelling to use.",
 
"description": "Will tag the redirect with: {{R from alternative spelling}} and set the value entered as the correct spelling to use.",
 
"type": "line"
 
"type": "line"
 +
},
 +
"to_diacritic": {
 +
"label": "To diacritic",
 +
"description": "Any value will tag the redirect with: {{R to diacritic}}.",
 +
"type": "boolean"
 +
},
 +
"incorrect_name": {
 +
"label": "From incorrect name",
 +
"description": "Any value will tag the redirect with: {{R from incorrect name}} and set the |primary= value entered as the correct name to use. If |primary= isn't used, it will instead use the value entered here.",
 +
"type": "line"
 +
},
 +
"capitalisation": {
 +
"label": "Capitalisation",
 +
"description": "Any value will tag the redirect with: {{R from miscapitalisation}} and set the |primary= value entered as the correct capitalisation to use. If |primary= isn't used, it will instead use the value entered here.",
 +
"type": "line"
 +
},
 +
"unneeded_dab": {
 +
"label": "From unnecessary disambiguation",
 +
"description": "Any value will tag the redirect with: {{R from unnecessary disambiguation}}.",
 +
"type": "boolean"
 +
},
 +
"draft_move": {
 +
"label": "From drafts",
 +
"description": "Any value will tag the redirect with: {{R from move}} and {{R from drafts}}..",
 +
"type": "boolean"
 
},
 
},
 
"anchor": {
 
"anchor": {
 
"label": "To anchor",
 
"label": "To anchor",
"description": "Any value will tag the redirect with: {{R to anchor 2}}.",
+
"description": "Set as default for episode redirects. Any value will tag the redirect with: {{R to anchor 2}}.",
 +
"type": "boolean"
 +
},
 +
"section": {
 +
"label": "To section",
 +
"description": "Set as default for fictional character, element and location redirects. Any value will tag the redirect with: {{R to section}}.",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
Line 109: Line 145:
 
"label": "To list entry",
 
"label": "To list entry",
 
"description": "Any value will tag the redirect with: {{R to list entry}}.",
 
"description": "Any value will tag the redirect with: {{R to list entry}}.",
 +
"type": "boolean"
 +
},
 +
"to_article": {
 +
"label": "To article",
 +
"description": "Used for redirects to articles, and not to a specific section of the article.",
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
 
"primary": {
 
"primary": {
 
"label": "Avoided double redirect",
 
"label": "Avoided double redirect",
"description": " \tWill tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect.",
+
"description": "Will tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect.",
 
"type": "wiki-page-name"
 
"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": {
 
"merge": {
Line 141: Line 167:
 
"type": "boolean"
 
"type": "boolean"
 
},
 
},
"not_list": {
+
"dab_exception": {
"label": "Not to a list",
+
"label": "Disambiguation exception",
"description": "Only valid for characters; Currently prevents the redirect as being categorized as a section redirect.",
+
"description": "Any value will set the current disambiguation used as correct, regardless if it follows a standard style.",
 
"type": "boolean"
 
"type": "boolean"
 +
},
 +
"correct_disambiguation": {
 +
"label": "Correct Disambiguation",
 +
"description": "Value will be used for disambiguation validation. Should be used if the disambiguation is different than the series name, such as when using a franchise name.",
 +
"type": "line"
 
}
 
}
},
+
}
"description": "This template is used tag an Arrowverse character redirect with the relevant redirect categories."
 
 
}
 
}
 
</templatedata>
 
</templatedata>

Revision as of 15:07, 25 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}}

Notes

Template:Ordered list

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
Restrictedrestricted

Will tag the redirect with: {{R restricted}} and set the value entered as the correct title.

Lineoptional
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

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

Booleanoptional
From former nameformer_name

Any value will tag the redirect with: {{R from former name}}

Booleanoptional
From short nameshort_name

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

Booleanoptional
From long namelong_name

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

Booleanoptional
From name with titletitle_name

Only valid for character redirects; 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 diacriticto_diacritic

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

Booleanoptional
From incorrect nameincorrect_name

Any value will tag the redirect with: {{R from incorrect name}} and set the |primary= value entered as the correct name to use. If |primary= isn't used, it will instead use the value entered here.

Lineoptional
Capitalisationcapitalisation

Any value will tag the redirect with: {{R from miscapitalisation}} and set the |primary= value entered as the correct capitalisation to use. If |primary= isn't used, it will instead use the value entered here.

Lineoptional
From unnecessary disambiguationunneeded_dab

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

Booleanoptional
From draftsdraft_move

Any value will tag the redirect with: {{R from move}} and {{R from drafts}}..

Booleanoptional
To anchoranchor

Set as default for episode redirects. Any value will tag the redirect with: {{R to anchor 2}}.

Booleanoptional
To sectionsection

Set as default for fictional character, element and location redirects. Any value will tag the redirect with: {{R to section}}.

Booleanoptional
To list entrylist

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

Booleanoptional
To articleto_article

Used for redirects to articles, and not to a specific section of the article.

Booleanoptional
Avoided double redirectprimary

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

Pageoptional
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
Disambiguation exceptiondab_exception

Any value will set the current disambiguation used as correct, regardless if it follows a standard style.

Booleanoptional
Correct Disambiguationcorrect_disambiguation

Value will be used for disambiguation validation. Should be used if the disambiguation is different than the series name, such as when using a franchise name.

Lineoptional