Template:Unsigned: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
sims>Duskey
m (added category)
sims>Duskey
(moved documentation to own page and moved template to general wiki templates and added subst template)
Line 1: Line 1:
<noinclude>{{Subst template}}</noinclude>
<small>—Preceding unsigned comment added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]]) {{{2|}}}</small><noinclude>
<small>—Preceding unsigned comment added by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] • [[Special:Contributions/{{{1}}}|contribs]]) {{{2|}}}</small><noinclude>
{{Documentation}}[[Category:General wiki templates|{{PAGENAME}}]]</noinclude>
==Usage==
This template is used to label unsigned comments in a conversation.

<nowiki>{{subst:unsigned|user name or IP|time, date}}</nowiki>

;user name or IP: name or IP of user who left comment.
;time, date : time and date stamp from edit history.

The time stamps 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.

=== Example ===

'''With and without the time:'''

Typing:
<code><nowiki>{{subst:unsigned|User|Jun 1, 2005}}</nowiki></code>
will yield:

<small>—Preceding unsigned comment added by [[User:User|User]] ([[User talk:User|talk]] • [[Special:Contributions/User|contribs]]) Jun 1, 2005</small>

Typing:
<code><nowiki>{{subst:unsigned|User|Jun 1, 2005}}</nowiki></code>
will yield:

<small>—Preceding unsigned comment added by [[User:User|User]] ([[User talk:User|talk]] • [[Special:Contributions/User|contribs]]) Jun 1, 2005</small>

'''With and without "UTC" in the template:'''

Typing:
<code><nowiki>{{subst:unsigned|User|11:15, Jun 1, 2005}}</nowiki></code>
will yield:

<small>—Preceding unsigned comment added by [[User:User|User]] ([[User talk:User|talk]] • [[Special:Contributions/User|contribs]]) 11:15, Jun 1, 2005</small>

Typing:
<code><nowiki>{{subst:unsigned|User|11:15, Jun 1, 2005 (UTC)}}</nowiki></code>
will yield:

<small>—Preceding unsigned comment added by [[User:User|User]] ([[User talk:User|talk]] • [[Special:Contributions/User|contribs]]) 11:15, Jun 1, 2005 (UTC)</small>

[[Category:Templates|{{PAGENAME}}]][[Category:Subst templates|{{PAGENAME}}]]</noinclude>