Difference between revisions of "Template:Arrowverse character redirect/doc"
blackwiki>Gonnym (→Notes) |
m (14 revisions imported) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
| − | * | + | * {{Tlx|{{BASEPAGENAME}}}} |
| − | * | + | * {{Tlx|{{BASEPAGENAME}}|arrow{{=}}y|flash{{=}}y|constantine{{=}}y|legends{{=}}y|supergirl{{=}}y|vixen{{=}}y|ray{{=}}y|batwoman{{=}}y}} |
== Parameters == | == Parameters == | ||
| Line 15: | Line 15: | ||
== Notes == | == Notes == | ||
{{Ordered list|list_style_type=upper-alpha | {{Ordered list|list_style_type=upper-alpha | ||
| − | | 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'']]. All redirects are also placed in the [[:Category:Arrowverse character redirects to lists|Arrowverse]] category. | + | | 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 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 one of the unprintworthy templates, it will be categorized as {{tl|R unprintworthy}}. If not, it will be categorized as {{tl|R printworthy}}. | ||
| 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": " | + | "description": "Any value will tag the redirect with: {{R from alternative name}}.", |
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
| − | " | + | "former_name": { |
| − | "label": "From | + | "label": "From former name", |
| − | "description": " | + | "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": " | + | "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": " | + | "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 | + | "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": " | + | "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" | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
"merge": { | "merge": { | ||
| Line 141: | Line 167: | ||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
| − | " | + | "dab_exception": { |
| − | "label": " | + | "label": "Disambiguation exception", |
| − | "description": " | + | "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" | ||
} | } | ||
| − | } | + | } |
| − | |||
} | } | ||
</templatedata> | </templatedata> | ||
| Line 153: | Line 183: | ||
{{Fiction-related redirects templates}} | {{Fiction-related redirects templates}} | ||
| − | <includeonly>{{ | + | <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
| This is a documentation subpage for Template:Arrowverse character redirect. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:Arrowverse character redirect is used tag an Arrowverse character redirect with the relevant redirect categories.
Contents
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
TemplateData
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 | 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 |