Template:No redirect/doc: Difference between revisions
More actions
-interwiki |
Use the `mbox` parameter of {{TemplateBox}} |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
{{TemplateBox | {{TemplateBox | ||
| | | name = no redirect | ||
| mbox = | |||
{{Lua|Module:Redirect}} | |||
| | |||
| | | desc-en = This template provides an easy way to link a redirect page without following the redirect. | ||
| namespace = all | |||
| usergroup = all | |||
|desc= | | i18n-method = - | ||
|namespace= | |||
|usergroup=all | | print = line | ||
| useTemplateData = TNT | |||
| 1 = 1 | |||
| 1stat = required | |||
|i18n-method=- | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Internal link templates]] | |||
[[Category:Disambiguation and redirection templates]] | |||
}}</includeonly> | |||
Latest revision as of 20:46, 24 November 2024
This template provides an easy way to link a redirect page without following the redirect.
Usage
{{no redirect |1= }}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1 or useTemplateData=only on the /doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page name | 1 | no description | Page name | required |
| Display text | 2 | no description
| Line | optional |
Edit parameter translations
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Localization
This template is not intended to be localized.