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. It may be either substituted or transcluded; practice seems to prefer transclusion.

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)
id of the diff in which the comment was added
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||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).

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

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

See also