Template:Undated/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
m (2 revisions imported: Import from https://sims.wikia.com)
No edit summary
 
Line 1: Line 1:
;Description
:This template is used to label undated comments on discussion pages.


==Description==
:Normally, when an editor types exactly four tildes (<nowiki>~~~~</nowiki>), it will produce both their signature or the timestamp. However, if the editor leaves out one tilde (so they enter three tildes instead of four), only their signature will be generated - the timestamp is excluded.
This template is used to label undated comments on discussion pages.


Normally, when an editor types exactly four tildes (<nowiki>~~~~</nowiki>), it will produce both their signature or the timestamp. However, if the editor leaves out one tilde (so they enter three tildes instead of four), only their signature will be generated - the timestamp is excluded.
:Fortunately, this template fixes that problem.


Fortunately, this template fixes that problem.
;Syntax


==Syntax==
<nowiki>{{subst:undated|time, date}}</nowiki>

<code><nowiki>{{subst:undated|time, date}}</nowiki></code>


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.
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

:Typing <code><nowiki>{{subst:undated|Jun 1, 2005}}</nowiki></code>


'''Talk page times should generally be in UTC to avoid confusion.''' 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.
:Produces:


==Examples==
<small>—Preceding undated comment added Jun 1, 2005 (UTC) - [[Help:Signatures|Please sign your comments with <nowiki>~~~~</nowiki>]]</small>
Typing <code><nowiki>{{subst:undated|Jun 1, 2005 (UTC)}}</nowiki></code> produces:


:Typing <code><nowiki>{{subst:undated|11:15, Jun 1, 2005}}</nowiki></code>
<small>—Preceding undated comment added Jun 1, 2005 (UTC)</small>


Typing <code><nowiki>{{subst:undated|11:15, Jun 1, 2005 (UTC)}}</nowiki></code> produces:
:Produces:


<small>—Preceding undated comment added 11:15, Jun 1, 2005 (UTC) - [[Help:Signatures|Please sign your comments with <nowiki>~~~~</nowiki>]]</small>
<small>—Preceding undated comment added 11:15, Jun 1, 2005 (UTC)</small>


;Credits
==Credits==
:The coding and idea for this template was borrowed from [[wikipedia:Template:Unsigned]] and modified slightly.
The coding and idea for this template were borrowed from [[wikipedia:Template:Unsigned]] and modified slightly.


;See also
==See also==
:{{t|Unsigned}}
*{{t|Unsigned}}


<includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 23:39, 23 February 2019

Description[edit source]

This template is used to label undated comments on discussion pages.

Normally, when an editor types exactly four tildes (~~~~), it will produce both their signature or the timestamp. However, if the editor leaves out one tilde (so they enter three tildes instead of four), only their signature will be generated - the timestamp is excluded.

Fortunately, this template fixes that problem.

Syntax[edit source]

{{subst:undated|time, date}}

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 generally be in UTC to avoid confusion. 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.

Examples[edit source]

Typing {{subst:undated|Jun 1, 2005 (UTC)}} produces:

—Preceding undated comment added Jun 1, 2005 (UTC)

Typing {{subst:undated|11:15, Jun 1, 2005 (UTC)}} produces:

—Preceding undated comment added 11:15, Jun 1, 2005 (UTC)

Credits[edit source]

The coding and idea for this template were borrowed from wikipedia:Template:Unsigned and modified slightly.

See also[edit source]