Jump to content

Template:unsigned

From Wiktionary, the free dictionary

— This comment was unsigned.


This template is used to attribute comments on discussion pages to users who did not sign them. Generally, it is preferred to be transcluded rather than substituted.

Usage

This template takes the following parameters:

|1= (optional)
the username of the user who posted the comment.
|2= (optional)
a timestamp indicating when the comment was posted.
|diff= (optional)
The identifier of the revision in which the comment was added. This parameter alone does not replace the previous 2, since the template does not know how to infer other values from the revision.
wikitext result
{{unsigned}} — This comment was unsigned.
{{unsigned|Example}} — This unsigned comment was added by Example (talkcontribs).
{{unsigned|127.0.0.1}} — This unsigned comment was added by 127.0.0.1 (talk).
{{unsigned|::1}} — This unsigned comment was added by ::1 (talk).
{{unsigned|~2025-12345-67}} — This unsigned comment was added by ~2025-12345-67 (talk).
{{unsigned||00:00, 1 January 1970 (UTC)}} — This unsigned comment was added at 00:00, 1 January 1970 (UTC).
{{unsigned||00:00, 1 January 1970 (UTC)|diff=1234}} — This unsigned comment was added at 00:00, 1 January 1970 (UTC).
{{unsigned|Example|00:00, 1 January 1970 (UTC)}} — This unsigned comment was added by Example (talkcontribs) at 00:00, 1 January 1970 (UTC).
{{unsigned|Example|00:00, 1 January 1970 (UTC)|diff=1234}} — This unsigned comment was added by Example (talkcontribs) at 00:00, 1 January 1970 (UTC).

The gadget called generates a complete template invocation, which you may copy into the clipboard by clicking on a [] link near the page header, when viewing a diff or an old revision of a page. It can be enabled in in your preferences (or in per-browser preferences for unregistered users).

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for unsigned

This template is used to attribute comments on discussion pages to users who did not sign them.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
author1

The username of the user who posted the comment

Useroptional
timestamp2

A timestamp indicating when the comment was posted

Lineoptional
iddiff

Identifier of the revision in which the comment was added

Numberoptional

See also