Template:Submit an edit request/link/sandbox
Appearance
This is the template sandbox page for Template:Submit an edit request/link (diff). See also the companion subpage for test cases. |
This template is used in MediaWiki:Titleblacklist-forbidden-edit. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid major disruption, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Please discuss changes on the talk page before implementing them. |
This template uses Lua: |
This template adds a link to make a protected edit request. It does the same thing as its parent template, {{submit an edit request}}, only it is formatted as a link and not as a button.
Usage
[edit]{{submit an edit request/link
| type =
| display =
}}
The |type=
parameter can be set to the following values:
Keyword | Protection type |
---|---|
semi |
semi-protected |
extended |
extended-confirmed protected |
template |
template-protected |
interface |
interface-protected |
full |
fully-protected |
If |type=manual
, the template will just produce an link to edit the talk page with no preloaded text. If |type=
is blank or set to any unrecognized value, the edit request is assumed to be to a fully protected page.
You can set a custom display value for the link with the |display=
parameter. The default value is "Submit an edit request".
Examples
[edit]{{submit an edit request/link
| type = semi
}}
{{submit an edit request/link
| display = Edit request
}}
{{submit an edit request/link
| type = template
| display = Submit a template-protected edit request
}}