Jump to content

Template:New edit request/doc

From Wikipedia, the free encyclopedia

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]
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:

Examples

[edit]
Implicit parameters

The following code:

{{subst:new edit request|full|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.}}

Produces:

Edit request on 27 October 2024

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) 05:02, 27 October 2024 (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 "Please add my_parameter", which does not exist in the template code, and results in the template not outputting any request code.

The following code:

{{subst:new edit request|full|Please add my_parameter=yes to the template.}}

Produces:

Edit request on 27 October 2024

Example (talk) 05:02, 27 October 2024 (UTC)

Explicit parameters

For code containing an equals sign to display properly, declare the positional parameters explicitly.

The following code:

{{subst:new edit request
|1= full
|2= Please add my_parameter=yes to the template.
}}

Produces:

Edit request on 27 October 2024

Please add my_parameter=yes to the template. Example (talk) 05:02, 27 October 2024 (UTC)

See also

[edit]


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
substsubst

no description

Unknownoptional