Template:Undated/doc: Difference between revisions

From Climate Wiki
Jump to navigation Jump to search
(→‎Examples: Update examples per accepted edit request to the template)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:03, 8 February 2024

Usage

The {{undated}} template is used to label undated comments in a conversation. However, dating of comments is not required except when using auto-archiving bots.

All parameters

{{subst:undated|date}}

Date
Datestamp for comment

Time and date of undated comments can be found on the history page.

Timezone adjustment

Note that talk page times should always be in UTC. If timezone offset in your preferences is not 00:00, you'll have to adjust the time taken from history page to UTC. For example:

  • your offset is -04:00
  • you copy "01:55, 26 August 2023" from history page
  • you put {{subst:undated|05:55, 26 August 2023 (UTC)}}

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.

If you frequently use this template, or otherwise refer to UTC, you could consider setting your local time in the preferences to UTC.

Examples

With time

Typing {{subst:undated|01:55, 26 August 2023 (UTC)}} will yield:

— Preceding undated comment added 01:55, 26 August 2023 (UTC)

Without time

Typing {{subst:undated|26 August 2023}} will yield:

— Preceding undated comment added 26 August 2023 (UTC)

Notes

The template is mostly used by SineBot.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Undated in articles based on its TemplateData.

TemplateData for Undated

<templatedata> { "params": { "1": { "label": "Time and date", "required": true } }, "format": "inline" } </templatedata>

See also

Userspace link templates

User information templates provide informational links for a user; they are similar to signatures, but often provide additional information, and may be used by other users. List:

Demo user used is User:Example