Template:New edit request/doc: Difference between revisions
imported>Jonesey95 subst only to keep page off reports |
(No difference)
|
Latest revision as of 00:21, 6 January 2024
| 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 – use {{subst:New edit request}}. Any accidental transclusions will be automatically substituted by a bot. |
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
[edit source]- 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
[edit source]| Implicit parameters | ||
|---|---|---|
|
The following code:
Produces: Edit request on 22 April 2026
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) 11:32, 22 April 2026 (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 22 April 2026
|
| Explicit parameters | ||
|---|---|---|
|
For code containing an equals sign to display properly, declare the positional parameters explicitly. The following code:
Produces: Edit request on 22 April 2026
Please add my_parameter=yes to the template. Example (talk) 11:32, 22 April 2026 (UTC) |
See also
[edit source]
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description | Unknown | optional |
| 2 | 2 | no description | Unknown | optional |
| subst | subst | no description | Unknown | optional |