Template:New edit request/doc
![]() | This is a documentation subpage for Template:New edit request. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template should always be substituted (i.e., use {{subst:New edit request}} ). Any accidental transclusions will be automatically substituted by a bot. |
__EXPECTUNUSEDTEMPLATE__
This template inserts a new edit request, complete with a heading including today's date. It should only be used on talk pages, and it must always be substituted.
Usage
- Implicit parameters
{{subst:new edit request|<!-- type of request -->|<!-- request content -->}}
- Explicit parameters
{{subst:new edit request |1= <!-- type of request --> |2= <!-- request content --> }}
This template has two positional parameters. The first specifies the type of edit request to be made, and the second is the content of the request. If your request code contains an equals sign, you must declare the parameters explicitly. Otherwise, the template will likely not include your request text at all - see the examples below.
The first parameter can take the following values:
request edit
,coi
- these produce {{Edit COI}}, used for edits where the requester has a conflict of interest.semi
,semiprotected
,semi-protected
,edit semiprotected
,edit semi-protected
- these produce {{edit semi-protected}}, used by non-autoconfirmed users for edits to semi-protected pages.full
,editprotected
,edit protected
,sudo
- these produce {{edit protected}}, used by non-administrators for edits to fully-protected pages. This is the default value.
Examples
Implicit parameters |
---|
The following code:
Produces: Edit request on 29 May 2025
Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value). Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Example (talk) 03:49, 29 May 2025 (UTC) |
Implicit parameters with equals sign |
---|
If your edit request includes an equals sign, but you use implicit parameters, the template will break. In this example, the template assumes there is a parameter named " The following code:
Produces: Edit request on 29 May 2025
Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value). |
Explicit parameters |
---|
For code containing an equals sign to display properly, declare the positional parameters explicitly. The following code:
Produces: Edit request on 29 May 2025
Lua error in Module:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value). Please add my_parameter=yes to the template. Example (talk) 03:49, 29 May 2025 (UTC) |
See also
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
2 | 2 | no description | Unknown | optional |
subst | subst | no description | Unknown | optional |