Template:Arrowverse character redirect/sandbox
This is the template sandbox page for Template:Arrowverse character redirect (diff). |
This template uses Lua: |
Template:Arrowverse character redirect is used tag an Arrowverse character redirect with the relevant redirect categories.
Usage
[edit]{{Arrowverse character redirect}}
{{Arrowverse character redirect|arrow=y|flash=y|constantine=y|legends=y|supergirl=y|vixen=y|ray=y|batwoman=y}}
Parameters
[edit]Parameter | Explanation |
---|---|
arrow
|
Any value will tag the redirect as belonging to Arrow. |
flash
|
Any value will tag the redirect as belonging to The Flash. |
constantine
|
Any value will tag the redirect as belonging to Constantine. |
legends
|
Any value will tag the redirect as belonging to Legends of Tomorrow. |
supergirl
|
Any value will tag the redirect as belonging to Supergirl. |
vixen
|
Any value will tag the redirect as belonging to Vixen. |
ray
|
Any value will tag the redirect as belonging to Freedom Fighters: The Ray. |
batwoman
|
Any value will tag the redirect as belonging to Batwoman. |
black_lightning
|
Any value will tag the redirect as belonging to Black Lightning. |
superman
|
Any value will tag the redirect as belonging to Superman & Lois. |
General parameter list
[edit]Parameter | Explanation | {{R with possibilities}} | {{R printworthy}} or {{R unprintworthy}} |
---|---|---|---|
restricted
|
Will tag the redirect with: {{R restricted}} and set the value entered as the correct title. | Yes | printworthy |
birth_name
|
Only valid for character redirects; Any value will tag the redirect with: {{R from birth name}}. | No | printworthy |
alt_name
|
Any value will tag the redirect with: {{R from alternative name}}. | No | printworthy |
former_name
|
Any value will tag the redirect with: {{R from former name}}. | No | printworthy |
short_name
|
Any value will tag the redirect with: {{R from short name}}. | No | printworthy |
long_name
|
Any value will tag the redirect with: {{R from long name}}. | No | printworthy |
sort_name
|
Only valid for character redirects; Any value will tag the redirect with: {{R from sort name}}. The value must be two characters. See {{R from sort name}} for more information. | No | printworthy |
title_name
|
Only valid for character redirects; Any value will tag the redirect with: {{R from name with title}}. | No | unprintworthy |
alt_spelling
|
Will tag the redirect with: {{R from alternative spelling}} and set the value entered as the correct spelling to use. | No | unprintworthy |
to_diacritic
|
Any value will tag the redirect with: {{R to diacritic}}. | No | unprintworthy |
incorrect_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.
|
No | unprintworthy |
capitalisation
|
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.
|
No | unprintworthy |
unneeded_dab
|
Any value will tag the redirect with: {{R from unnecessary disambiguation}}. | No | unprintworthy |
draft_move
|
Any value will tag the redirect with: {{R from move}} and {{R from draft namespace}}. | No | unprintworthy |
without_mention
|
Any value will tag the redirect with: {{R to article without mention}}. | No | unprintworthy |
anchor
|
Set as default for episode redirects. Any value will tag the redirect with: {{R to anchor}}. | - | - |
section
|
Set as default for fictional character, element and location redirects. Any value will tag the redirect with: {{R to section}}. | - | - |
list
|
Any value will tag the redirect with: {{R to list entry}}. | - | - |
to_article
|
Used for redirects to articles, and not to a specific section of the article. | - | - |
primary
|
Will tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect. | - | - |
merge
|
Any value will tag the redirect with: {{R from merge}}. | - | - |
history
|
Any value will tag the redirect with: {{R with history}}. | - | - |
dab_exception
|
Any value will set the current disambiguation used as correct, regardless if it follows a standard style. See note below. | - | - |
correct_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. | - | - |
test
|
Any value will set instruct the function to return only testing validation data. Used in /testcases. | - | - |
test_title
|
Value will be used for title validation. Used in /testcases. | - | - |
Notes
[edit]- The redirect will automatically be tagged with {{R from fictional character}} and be placed in the relevant series category: Arrow, The Flash, Constantine, Legends of Tomorrow, Supergirl, Vixen, Freedom Fighters: The Ray, Batwoman, Black Lightning. All redirects are also placed in the Arrowverse category.
- If the redirect does not use one of the following correct disambiguation —
Arrowverse
orArrowverse character
— the redirect will be tagged with {{R from incorrect disambiguation}} and {{R unprintworthy}}. - If the redirect is using one of the unprintworthy templates, it will be categorized as {{R unprintworthy}}. If not, it will be categorized as {{R printworthy}}.
- If the redirect is using of the templates marked above as not {{R with possibilities}}, it won't be categorized with it.
TemplateData
[edit]TemplateData for Arrowverse character redirect
This template is used tag an Arrowverse character redirect with the relevant redirect categories.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Arrow | arrow | Any value will tag the redirect as belonging to Arrow. | Boolean | optional |
The Flash | flash | Any value will tag the redirect as belonging to The Flash. | Boolean | optional |
Constantine | constantine | Any value will tag the redirect as belonging to Constantine. | Boolean | optional |
Legends of Tomorrow | legends | Any value will tag the redirect as belonging to Legends of Tomorrow. | Boolean | optional |
Supergirl | supergirl | Any value will tag the redirect as belonging to Supergirl. | Boolean | optional |
Vixen | vixen | Any value will tag the redirect as belonging to Vixen. | Boolean | optional |
Freedom Fighters: The Ray | ray | Any value will tag the redirect as belonging to Freedom Fighters: The Ray. | Boolean | optional |
Batwoman | batwoman | Any value will tag the redirect as belonging to Batwoman. | Boolean | optional |
Restricted | restricted | Will tag the redirect with: {{R restricted}} and set the value entered as the correct title. | Line | optional |
From birth name | birth_name | Only valid for character redirects; Any value will tag the redirect with: {{R from birth name}}. | Boolean | optional |
From alternative name | alt_name | Any value will tag the redirect with: {{R from alternative name}}. | Boolean | optional |
From former name | former_name | Any value will tag the redirect with: {{R from former name}} | Boolean | optional |
From short name | short_name | Any value will tag the redirect with: {{R from short name}}. | Boolean | optional |
From long name | long_name | Any value will tag the redirect with: {{R from long name}}. | Boolean | optional |
From name with title | title_name | Only valid for character redirects; Any value will tag the redirect with: {{R from name with title}}. | Boolean | optional |
From alternative spelling | alt_spelling | Will tag the redirect with: {{R from alternative spelling}} and set the value entered as the correct spelling to use. | Line | optional |
To diacritic | to_diacritic | Any value will tag the redirect with: {{R to diacritic}}. | Boolean | optional |
From incorrect name | incorrect_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. | Line | optional |
Capitalisation | capitalisation | 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. | Line | optional |
From unnecessary disambiguation | unneeded_dab | Any value will tag the redirect with: {{R from unnecessary disambiguation}}. | Boolean | optional |
From drafts | draft_move | Any value will tag the redirect with: {{R from move}} and {{R from drafts}}.. | Boolean | optional |
To anchor | anchor | Set as default for episode redirects. Any value will tag the redirect with: {{R to anchor 2}}. | Boolean | optional |
To section | section | Set as default for fictional character, element and location redirects. Any value will tag the redirect with: {{R to section}}. | Boolean | optional |
To list entry | list | Any value will tag the redirect with: {{R to list entry}}. | Boolean | optional |
To article | to_article | Used for redirects to articles, and not to a specific section of the article. | Boolean | optional |
Avoided double redirect | primary | Will tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect. | Page name | optional |
From merge | merge | Any value will tag the redirect with: {{R from merge}}. | Boolean | optional |
With history | history | Any value will tag the redirect with: {{R with history}}. | Boolean | optional |
Disambiguation exception | dab_exception | Any value will set the current disambiguation used as correct, regardless if it follows a standard style. | Boolean | optional |
Correct Disambiguation | correct_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. | Line | optional |