Template:Unsigned/doc: Difference between revisions
→Usage: -(UTC) |
wikipedia>Favonian m Reverted edits by 95.49.248.248 (talk) to last version by John of Reading |
||
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. Note that failing to provide a timestamp in exactly this format can cause talk page '''archiving bots to fail''' to archive the thread. | :'''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> | ||
=== Examples === | === Examples === | ||
* Typing: <code><nowiki>{{subst:Unsigned|Example|</nowiki>{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)}}</code> | * Typing: <code><nowiki>{{subst:Unsigned|Example|</nowiki>{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} <nowiki>(UTC)}}</nowiki></code> | ||
: will yield: {{Unsigned|demo=yes|Example|{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)}} | : will yield: {{Unsigned|demo=yes|Example|{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)}} | ||
* Typing: <code><nowiki>{{subst:Unsigned|Example}}</nowiki></code> | * Typing: <code><nowiki>{{subst:Unsigned|Example}}</nowiki></code> | ||
: will yield: {{Unsigned|demo=yes|Example}} | : will yield: {{Unsigned|demo=yes|Example}} |
Revision as of 17:28, 4 February 2017
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|05:04, 14 October 2025 (UTC)}}
- will yield: — Preceding unsigned comment added by Example (talk • contribs) 05:04, 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
- User:Anomie/unsignedhelper.js - A script that adds a toolbar button to add {{unsigned}} with the correct parameters
Template:Userspace linking templates