Difference between revisions of "Template:Arrowverse character redirect/doc"
blackwiki>Gonnym |
blackwiki>GreenComputer (Added TemplateData) |
||
| Line 12: | Line 12: | ||
{{Transcluded section|source=Module:Arrowverse redirect category handler/doc}} | {{Transcluded section|source=Module:Arrowverse redirect category handler/doc}} | ||
{{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}} | {{Trim|{{#section:Module:Arrowverse redirect category handler/doc|Parameters}}}} | ||
| + | |||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "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" | ||
| + | }, | ||
| + | "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": "Only valid for character redirects; Any value will tag the redirect with: {{R comics from alternative name}}.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "nickname": { | ||
| + | "label": "From nickname", | ||
| + | "description": "Only valid for characters; Any value will tag the redirect with: {{R from alternative name}}.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "short_name": { | ||
| + | "label": "From short name", | ||
| + | "description": "Only valid for character redirects; Any value will tag the redirect with: {{R from short name}}.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "long_name": { | ||
| + | "label": "From long name", | ||
| + | "description": "Only valid for characters; Any value will tag the redirect with: {{R from long name}}.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "title_name": { | ||
| + | "label": "From name with title", | ||
| + | "description": "Only valid for characters; 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" | ||
| + | }, | ||
| + | "anchor": { | ||
| + | "label": "To anchor", | ||
| + | "description": "Any value will tag the redirect with: {{R to anchor 2}}.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "list": { | ||
| + | "label": "To list entry", | ||
| + | "description": "Any value will tag the redirect with: {{R to list entry}}.", | ||
| + | "type": "boolean" | ||
| + | }, | ||
| + | "primary": { | ||
| + | "label": "Avoided double redirect", | ||
| + | "description": " \tWill tag the redirect with: {{R avoided double redirect}} and set the value entered as the primary redirect.", | ||
| + | "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": { | ||
| + | "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" | ||
| + | }, | ||
| + | "not_list": { | ||
| + | "label": "Not to a list", | ||
| + | "description": "Only valid for characters; Currently prevents the redirect as being categorized as a section redirect.", | ||
| + | "type": "boolean" | ||
| + | } | ||
| + | }, | ||
| + | "description": "This template is used tag an Arrowverse character redirect with the relevant redirect categories." | ||
| + | } | ||
| + | </templatedata> | ||
{{Fiction-related redirects templates}} | {{Fiction-related redirects templates}} | ||
Revision as of 06:26, 21 December 2019
| 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. |
| File:Lua-Logo.svg | This template uses Lua: |
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}}
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 |
| 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 | Only valid for character redirects; Any value will tag the redirect with: {{R comics from alternative name}}. | Boolean | optional |
| From nickname | nickname | Only valid for characters; Any value will tag the redirect with: {{R from alternative name}}. | Boolean | optional |
| From short name | short_name | Only valid for character redirects; Any value will tag the redirect with: {{R from short name}}. | Boolean | optional |
| From long name | long_name | Only valid for characters; Any value will tag the redirect with: {{R from long name}}. | Boolean | optional |
| From name with title | title_name | Only valid for characters; 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 anchor | anchor | Any value will tag the redirect with: {{R to anchor 2}}. | Boolean | optional |
| To list entry | list | Any value will tag the redirect with: {{R to list entry}}. | 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 incorrect name | incorrect_name | Will tag the redirect with: {{R from incorrect name}} and set the value entered as the correct name to use. | Line | optional |
| From unnecessary disambiguation | unneeded_dab | Any value will tag the redirect with: {{R from unnecessary disambiguation}}. | Boolean | optional |
| Disambiguation exception | dab_exception | Any value will tag the redirect with: {{R with possibilities}} and {{R printworthy}}, regardless of other issues the redirect might have. | Boolean | 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 |
| Not to a list | not_list | Only valid for characters; Currently prevents the redirect as being categorized as a section redirect. | Boolean | optional |