Difference between revisions of "Template:Arrowverse character redirect/doc"
blackwiki>Gonnym |
m (14 revisions imported) |
||
| (9 intermediate revisions by 2 users 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 13: | Line 13: | ||
{{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}} | {{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}} | ||
| − | == | + | == Notes == |
| − | + | {{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'']], [[: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>{{ | + | == 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
| 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 |