Template:Unsigned/doc: Difference between revisions
wikipedia>Voidxor On most template doc pages, the template data goes well below the examples. Promote section heading levels per WP:HEAD. Timestamps is a word. |
wikipedia>Spinningspark →Usage: Leaving off the date stamp will interfere with auto archiving |
||
Line 8: | Line 8: | ||
== Usage == | == Usage == | ||
The timestamps in the edit history list for any talk page appear in [[UTC]], or in the local time that is set in your preferences. If you did not adjust the time in your preferences, then the times in the edit history list are in UTC. | The timestamps in the edit history list for any talk page appear in [[UTC]], or in the local time that is set in your preferences. If you did not adjust the time in your preferences, then the times in the edit history list are in UTC. | ||
:'''Talk page times should always be in UTC.''' So be sure to use UTC time when using this unsigned template. Adjust the time, if necessary, using the difference you designated between the server UTC time and local time. If this is too difficult to figure out, or you are in a hurry, then leave out the time, and only put in the date. | :'''Talk page times should always be in UTC.''' So be sure to use UTC time when using this unsigned template. Adjust the time, if necessary, using the difference you designated between the server UTC time and local time. If this is too difficult to figure out, or you are in a hurry, then leave out the time, and only put in the date. Note that failing to provide a timestamp in exactly this format (including the "UTC" in brackets) can cause talk page '''archiving bots to fail''' to archive the thread. | ||
<code><nowiki>{{subst:Unsigned|user name|time, day month year (UTC)}}</nowiki></code> | <code><nowiki>{{subst:Unsigned|user name|time, day month year (UTC)}}</nowiki></code> |
Revision as of 12:52, 23 October 2015
Template:Documentation subpage Template:Subst only Template:UnsignedTemplates
{{Unsigned/doc}} is used to label unsigned comments left by registered users in a conversation. (For anonymous comments, use {{unsigned IP}})
Usage
The timestamps in the edit history list for any talk page appear in UTC, or in the local time that is set in your preferences. If you did not adjust the time in your preferences, then the times in the edit history list are in UTC.
- Talk page times should always be in UTC. So be sure to use UTC time when using this unsigned template. Adjust the time, if necessary, using the difference you designated between the server UTC time and local time. If this is too difficult to figure out, or you are in a hurry, then leave out the time, and only put in the date. Note that failing to provide a timestamp in exactly this format (including the "UTC" in brackets) can cause talk page archiving bots to fail to archive the thread.
{{subst:Unsigned|user name|time, day month year (UTC)}}
Examples
- Typing:
{{subst:Unsigned|Example|08:21, 14 October 2025 (UTC)}}
- will yield: — Preceding unsigned comment added by Example (talk • contribs) 08:21, 14 October 2025 (UTC)
- Typing:
{{subst:Unsigned|Example}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Labels unsigned comments in a conversation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
User name | 1 | Name address of the user who left the comment. The value is case-sensitive. | User | required |
Time and date | 2 | Timestamp from the edit history. | String | optional |
See also
- {{unsigned IP}} – For messages by IP addresses
- {{spa}} – For comments from single purpose accounts
- Template:Tls
- {{Interrupted}}
- {{Xsign}} – A wrapper for {{Unsigned}} that parses input copied and pasted directly from revision history
Template:Userspace linking templates