Template:Unsigned/doc: Difference between revisions
wikipedia>Voidxor m Dash and sentence-fragment formatting per MOS:ENDASH and MOS:BULLETLIST |
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. |
||
Line 6: | Line 6: | ||
{{tl|{{PAGENAME}}}} is used to label unsigned comments left by registered users in a conversation. (For anonymous comments, use {{tl|unsigned IP}}) | {{tl|{{PAGENAME}}}} is used to label unsigned comments left by registered users in a conversation. (For anonymous comments, use {{tl|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. | |||
<code><nowiki>{{subst:Unsigned|user name|time, day month year (UTC)}}</nowiki></code> | |||
=== Examples === | |||
* 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)}} | |||
* Typing: <code><nowiki>{{subst:Unsigned|Example}}</nowiki></code> | |||
: will yield: {{Unsigned|demo=yes|Example}} | |||
== TemplateData == | |||
This is the [[Wikipedia:TemplateData|TemplateData]] documentation for this template used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools. | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 26: | Line 40: | ||
</templatedata> | </templatedata> | ||
== See also == | |||
* {{tl|unsigned IP}} – For messages by IP addresses | * {{tl|unsigned IP}} – For messages by IP addresses | ||
* {{tl|spa}} – For comments from [[Wikipedia:Single purpose account|single purpose accounts]] | * {{tl|spa}} – For comments from [[Wikipedia:Single purpose account|single purpose accounts]] |
Revision as of 19:05, 25 September 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.
{{subst:Unsigned|user name|time, day month year (UTC)}}
Examples
- Typing:
{{subst:Unsigned|Example|07:58, 14 October 2025 (UTC)}}
- will yield: — Preceding unsigned comment added by Example (talk • contribs) 07:58, 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