Template:Undated: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>K6ka
(Created page with "<noinclude>{{tm|{{Subst template}}}}</noinclude><small>—Preceding undated comment added {{{1|<big><font color="red"><u>''ERROR: Invalid datestamp.''<...")
(No difference)

Revision as of 22:44, 1 October 2014

Substitution-only Template
This template is not for transclusion and must be put on pages using substitution with the subst prefix. Eg. {{subst:Template}}



—Preceding undated comment added ERROR: Invalid datestamp. (UTC) - Please sign your comments with ~~~~

Template documentation (View · Edit · History · Purge)

Description

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

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

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

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

See also


Visit Template:Undated/doc to edit this text! (How does this work?) (Refresh this text - why?)