Template:Unsigned
This template is added to talk page comments who were not signed by their author.
{{uns}}
is an alias for {{unsigned}}
.
Usage
While there are various ways to transclude this template, the following version is usually used:
{{ unsigned | <user name> | UTC = <UTC timestamp of the edit> }}
- First unnamed parameter
The name of the user who added the comment. The
and $user
parameters can also be used for this. The template will automatically attempt to determine whether it is an unregistered editor via $username
{{isIP}}
. Use the
parameter to explicitly specify that.
$ip
- UTC
The timestamp of when the comment was added to the page, in Coordinated Universal Time (UTC). Alternatively, use the
parameter to exclude the UTC timezone suffix.
$time
While the first and second unnamed parameters can generally both be used for timestamp and user name interchangeably, this is discouraged. If a user happens to be named like a valid timestamp, e.g.
, the template might have unexpected outputs. Therefore, at least one of the two pieces of information should always be passed via a named parameter – the format specified at the top of this section is recommended. The named parameters always take precedence.
Wednesday2024
Notes
- The transclusion format first specified in the Usage section above is useful for copying from the history of a talk page or from the recent changes. Beware of custom timezone settings, though! The timestamp displayed by this template should always be in UTC.
- The "Copy Unsigned" gadget adds a button for copying
{{unsigned}}
code from the diff of a talk page to the clipboard, and it uses the recommended format. Gadgets are available to logged-in users in their preferences.
- The "Copy Unsigned" gadget adds a button for copying
- The parameters
and$UTC
can be called either in full uppercase or full lowercase:$ip
$UTC
$utc
$IP
$ip
- If passing the timestamp as one of the unnamed parameters, then it will only be displayed if it is accepted by
{{#time:}}
, i.e. PHP's strtotime() function. - Passing a user name is mandatory, whereas passing a timestamp is optional.
Examples
Code | Result |
---|---|
{{unsigned|Westgrass|UTC=03:25, 24 April 2024}} |
— Preceding unsigned comment added by Westgrass (talk • contribs) at 03:25, 24 April 2024 (UTC) |
{{unsigned|86.115.19.146|UTC=03:25, 24 April 2024}} |
— Preceding unsigned comment added by 86.115.19.146 (talk) at 03:25, 24 April 2024 (UTC) |
{{unsigned|Westgrass|time=03:25, 24 April 2024}} |
— Preceding unsigned comment added by Westgrass (talk • contribs) at 03:25, 24 April 2024 |
{{unsigned|user=Westgrass|03:25, 24 April 2024}} |
— Preceding unsigned comment added by Westgrass (talk • contribs) at 03:25, 24 April 2024 |
{{unsigned|user=Westgrass|time=03:25, 24 April 2024}} |
— Preceding unsigned comment added by Westgrass (talk • contribs) at 03:25, 24 April 2024 |
{{unsigned|ip=86.115.19.146|time=03:25, 24 April 2024}} |
— Preceding unsigned comment added by 86.115.19.146 (talk) at 03:25, 24 April 2024 |
{{unsigned|03:25, 24 April 2024|Wednesday2024}} |
— Preceding unsigned comment added by 03:25, 24 April 2024 (talk • contribs) at Wednesday2024 |
{{unsigned|Wednesday2024|UTC=03:25, 24 April 2024}} |
— Preceding unsigned comment added by Wednesday2024 (talk • contribs) at 03:25, 24 April 2024 (UTC) |