Template:Template redirect/doc: Difference between revisions
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{tlr|Template redirects}}{{tsh|tlr}} {{lua|Module:Shortcut}} This template is a wrapper that prompts {{tl|Template shortcut}} to refer to "redirect/s" rather than "shortcut/s". == TemplateData == {{Format TemplateData|<templatedata> { "description": "This template displays one or m...") |
CleanupBot (talk | contribs) m (→top: clean up) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at | <!-- Please place categories where indicated at the bottom of this page and interwikis at Bharatdata (see [[Bharatpedia:Bharatdata]]) --> | ||
{{tlr|Template redirects}}{{tsh|tlr}} | {{tlr|Template redirects}}{{tsh|tlr}} | ||
{{lua|Module:Shortcut}} | {{lua|Module:Shortcut}} | ||
This template is a [[ | This template is a [[Bharatpedia:Wrapper templates|wrapper]] that prompts {{tl|Template shortcut}} to refer to "redirect/s" rather than "shortcut/s". | ||
== TemplateData == | == TemplateData == |
Latest revision as of 10:27, 5 December 2023
![]() | This is a documentation subpage for Template:Template redirect. It contains usage information, categories and other content that is not part of the original template page. |
Error: no shortcuts were specified and the |msg= parameter was not set.
![]() | This template uses Lua: |
This template is a wrapper that prompts {{Template shortcut}} to refer to "redirect/s" rather than "shortcut/s".
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 Template redirect
This template displays one or more of a template's shortcuts.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target? | target | Whether to not add the redirect=no URL parameter.
| Boolean | optional |
Float | float | The CSS float property value.
| String | optional |
Clear | clear | The CSS clear property value.
| String | optional |
Categorize | category | Whether to add pages to the error category if no alias or msg is specified.
| Boolean | optional |
Message | msg | An unlinked message that goes after the shortcut links. | Content | optional |
Default prefix | pre | The default prefix
| String | optional |
Prefix 1 | pre1 | Prefix for template shortcut 1
| String | optional |
Shortcut 1 | 1 | Template shortcut 1 | Template | required |
Prefix 2 | pre2 | Prefix for template shortcut 2
| String | optional |
Shortcut 2 | 2 | Template shortcut 2 | Template | optional |
Prefix 3 | pre3 | Prefix for template shortcut 3
| String | optional |
Shortcut 3 | 3 | Template shortcut 3 | Template | optional |
Prefix 4 | pre4 | Prefix for template shortcut 4
| String | optional |
Shortcut 4 | 4 | Template shortcut 4 | Template | optional |
Prefix 5 | pre5 | Prefix for template shortcut 5
| String | optional |
Shortcut 5 | 5 | Template shortcut 5 | Template | optional |
Prefix 6 | pre6 | Prefix for template shortcut 6
| String | optional |
Shortcut 6 | 6 | Template shortcut 6 | Template | optional |
Prefix 7 | pre7 | Prefix for template shortcut 7
| String | optional |
Shortcut 7 | 7 | Template shortcut 7 | Template | optional |
Prefix 8 | pre8 | Prefix for template shortcut 8
| String | optional |
Shortcut 8 | 8 | Template shortcut 8 | Template | optional |
Prefix 9 | pre9 | Prefix for template shortcut 9
| String | optional |
Shortcut 9 | 9 | Template shortcut 9 | Template | optional |