From Wikipedia, the free encyclopedia
{{Start-date}}, {{Birth-date}}, and {{End-date}} (also used as {{Death-date}}) are easy to read "plain text" date and time templates that emit microformat dates for events. These templates are an alternative to the {{Start date}}/{{Birth date}} and {{End date}}/{{Death date}} templates that also emit microformats but require dates to be expressed in standard, unambiguous and international ISO syntax. "Fuzzy" dates and times are supported. For events where the precise time, day or month is not known, the user may omit these details. Time zones are assumed to be local to the event. If time zone information is specified, the otherwise optional timezone parameter must be set.
This is a documentation subpage for සැකිල්ල:Start-date. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Samples below display 7 දෙසැම්බර් 1941, and emit hidden microformat date: 1941-12-07
|
Samples below demonstrate how days, timezones and hours, minutes and seconds can be shown (order often not important). Displays 5:43PM HST, December 7th, 1941, and emits hidden microformat date (corrected for UTC): 1941-12-08T03:43Z
|
Samples below demonstrate providing a location with local time to generate UTC value. Displays December 8, 1941 12:50PM Australia/Adelaide, and emits hidden microformat date (corrected for UTC): 1941-12-08 T03:20Z
|
Samples below demonstrate use of Julian calendar dates. Displays 9 June 1672, and emits hidden microformat date: 1672-06-09
|
TemplateData for Start-date
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | no description | Unknown | optional |
2 | 2 | no description | Unknown | optional |
ISO8601 | ISO8601 | no description | Unknown | optional |
dt | dt | no description | Unknown | optional |
tz | tz | set to "yes" when timezone is present, or when timzone UTC is implicit | Boolean | optional |
timezone | timezone | no description | Unknown | optional |
BCE | BCE | no description | Unknown | optional |
BC | BC | no description | Unknown | optional |
display | display | no description | Unknown | optional |
class-extra | class-extra | no description | Unknown | optional |
df | df | no description | Unknown | optional |
For the years 99 BC to 99AD especially, microformats may not be emitted properly unless expressed in the form YYYY-MM-DD. For users uninterested in microformats, it should be noted that this restriction has no known impacts other than microformat data which are currently invisible to users. The user of course may express the display form in the second parameter however they would like. Example: 1-2-3 is interpreted as February 3, 1 A.D, and emitted in that form via microformats when the user may have intended something else. Other 3 digit years may be misinterpreted as well, so best practice is to use leading zeros to make a 4 digit year for this date range. For example, February 274 will be interpreted as February 27, 2004. Instead, use "February 0274". Background: There is a good rationale for the behavior of the system function which actually does the hard work of this template. It is very unusual for people to mention such dates so long ago, so when we really mean this date, we must specify a 4 digit date. Outside of this period with ambiguous years, users may use free text dates without this restriction. Bot runs may make a conversion of non 4 digit years to 4 digits (with leading zeros) in order to refine Wikipedia's quality of microformat dates. These changes will not affect display, but for those curious, this is the rationale for such bot manipulations.
Most time zone abbreviations as well as a large number of place names are recognized. (See recognized timezone values table.)
{{start-date|December 7, 1941 8:43AM Pacific/Honolulu }}
→ December 7, 1941 8:43AM Pacific/Honolulu{{start-date|December 8, 1941 12:30PM Asia/Manila }}
→ December 8, 1941 12:30PM Asia/Manila
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.