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

From blackwiki
Jump to navigation Jump to search
blackwiki>Gonnym
m (14 revisions imported)
 
(9 intermediate revisions by 2 users not shown)
Line 6: Line 6:
  
 
== Usage ==
 
== Usage ==
* <code><nowiki>{{Arrowverse character redirect}}</nowiki></code>
+
* {{Tlx|{{BASEPAGENAME}}}}
* <code><nowiki>{{Arrowverse character redirect|arrow=y|flash=y|constantine=y|legends=y|supergirl=y|vixen=y|ray=y|batwoman=y}}</nowiki></code>
+
* {{Tlx|{{BASEPAGENAME}}|arrow{{=}}y|flash{{=}}y|constantine{{=}}y|legends{{=}}y|supergirl{{=}}y|vixen{{=}}y|ray{{=}}y|batwoman{{=}}y}}
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
{{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}}
 
{{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}}
  
== See also ==
+
== Notes ==
* {{tl|Arrowverse element redirect}}
+
{{Ordered list|list_style_type=upper-alpha
* {{tl|Arrowverse location redirect}}
+
| The redirect will automatically be tagged with {{tl|R from fictional character}} and be placed in the relevant series category: [[:Category:Arrow (TV series) character redirects to lists|''Arrow'']], [[:Category:The Flash (2014 TV series) character redirects to lists|''The Flash'']], [[:Category:Constantine (TV series) character redirects to lists|''Constantine'']], [[:Category:Legends of Tomorrow character redirects to lists|''Legends of Tomorrow'']], [[:Category:Supergirl (TV series) character redirects to lists|''Supergirl'']], [[:Category:Vixen (web series) character redirects to lists|''Vixen'']], [[:Category:Freedom Fighters: The Ray character redirects to lists|''Freedom Fighters: The Ray'']], [[:Category:Batwoman (TV series) character redirects to lists|''Batwoman'']], [[:Category:Black Lightning (TV series) character redirects to lists|''Black Lightning'']]. All redirects are also placed in the [[:Category:Arrowverse character redirects to lists|Arrowverse]] category.
 +
| If the redirect does not use one of the following correct disambiguation — <code>Arrowverse</code> or <code>Arrowverse character</code> — the redirect will be tagged with {{tl|R from incorrect disambiguation}} and {{tl|R unprintworthy}}.
 +
| If the redirect is using one of the unprintworthy templates, it will be categorized as {{tl|R unprintworthy}}. If not, it will be categorized as {{tl|R printworthy}}.
 +
| If the redirect is using of the templates marked above as not {{tl|R with possibilities}}, it won't be categorized with it.
 +
}}
  
<includeonly>{{sandbox other||
+
== TemplateData ==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "This template is used tag an Arrowverse character redirect with the relevant redirect categories.",
 +
"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"
 +
},
 +
"restricted": {
 +
"label": "Restricted",
 +
"description": "Will tag the redirect with: {{R restricted}} and set the value entered as the correct title.",
 +
"type": "line"
 +
},
 +
"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": "Any value will tag the redirect with: {{R from alternative name}}.",
 +
"type": "boolean"
 +
},
 +
"former_name": {
 +
"label": "From former name",
 +
"description": "Any value will tag the redirect with: {{R from former name}}",
 +
"type": "boolean"
 +
},
 +
"short_name": {
 +
"label": "From short name",
 +
"description": "Any value will tag the redirect with: {{R from short name}}.",
 +
"type": "boolean"
 +
},
 +
"long_name": {
 +
"label": "From long name",
 +
"description": "Any value will tag the redirect with: {{R from long name}}.",
 +
"type": "boolean"
 +
},
 +
"title_name": {
 +
"label": "From name with title",
 +
"description": "Only valid for character redirects; 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"
 +
},
 +
"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": {
 +
"label": "To anchor",
 +
"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"
 +
},
 +
"list": {
 +
"label": "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"
 +
},
 +
"primary": {
 +
"label": "Avoided double redirect",
 +
"description": "Will tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect.",
 +
"type": "wiki-page-name"
 +
},
 +
"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"
 +
},
 +
"dab_exception": {
 +
"label": "Disambiguation exception",
 +
"description": "Any value will set the current disambiguation used as correct, regardless if it follows a standard style.",
 +
"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"
 +
}
 +
}
 +
}
 +
</templatedata>
 +
 
 +
{{Fiction-related redirects templates}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Arrowverse templates]]
 
[[Category:Arrowverse templates]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:06, 28 October 2020

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

Usage

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