This is a documentation subpage for 模板:Submit an edit request/link. It may contain usage information, categories and other content that is not part of the original 模板 page. |
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
{{submit an edit request/link
| type =
| display =
}}
For semi-protected edit requests, set the |type=
parameter to semi
. For template-protected edit requests, set |type=
to template
. If |type=
is blank, or is set to any other 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
{{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
}}
Submit a template-protected edit request