ಟೆಂಪ್ಲೇಟು:Start-date/doc: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
No edit summary |
No edit summary |
||
೧ ನೇ ಸಾಲು:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Start-date and end-date are easy to read date and time templates that emits [[microformat]] dates for events. These templates are an alternative to the {{tl|start date}} and {{tl|end date}} templates. "Fuzzy" dates and times are supported. For events where the precise time, day or month is not known, the user may omit these details.
==== Usage examples====
{| width="100%" xclass="toccolours" style="margin-top:.5em;border:1px solid #a0a0a0;background-color:#f8f8ff;" <!-- no class formatting other than article space -->
೭ ನೇ ಸಾಲು:
|'''<span style="font-size:110%;">Start-date & End-date usage </span>''' ''(colors for emphasis only)'':
|- style="text-align:left;line-height:1.4em;font-size:87%;"
|style="white-space:normal;"|'''Sample below displays <span style="color:#038945;">{{start-date|7 December 1941}}</span>, and microformat date: '''''1941-12-
<code><nowiki>
{{start-date|</nowiki><span style="color:#705000;">''<nowiki>7 December 1941</nowiki>''</span>}}</code><br />
|- style="text-align:left;line-height:1.4em;font-size:87%;"
|style="white-space:normal;"|'''Sample below demonstrating how days, timezones and hours, minutes and seconds can be shown. (Order often not important). Displays <span style="color:#038945;">{{start-date| 5:43PM HST, December 7, 1941|tz=y}}</span>, and microformat date (corrected for UTC): '''''1941-12-08T03:43Z''<br />
<code><nowiki>
{{start-date|</nowiki><span style="color:#705000;">''5:43PM [[Hawaii-Aleutian time zone|HST]], December 7, 1941''|tz=y</span>}}</code><br />
|- style="text-align:left;line-height:1.4em;font-size:87%;"
|style="white-space:normal;"|'''Sample below demonstrates providing a location with local time to generate UTC value. Displays <span style="color:#038945;">{{start-date| December 8, 1941 12:50PM Australia/Adelaide|tz=y}}</span>, and microformat date (corrected for UTC): '''''1941-12-08 T03:20Z''<br />
<code><nowiki>{{start-date| </nowiki><span style="color:#705000;">'' December 8, 1941 12:50PM Australia/[[Adelaide]]|tz=y''</span>}}</code><br />
|- style="text-align:left;line-height:1.4em;font-size:87%;"
|style="white-space:normal;"|'''Sample below demonstrating use of links with dates. Displays links to day of month and year pages. <span style="color:#038945;">{{start-date|December 7, 1941|[[December 7]], [[1941]]}}</span>, and microformat date: '''''1941-12-
<code><nowiki>
{{start-date|</nowiki><span style="color:#705000;">''<nowiki>December 7, 1941</nowiki>'''''|'''''<nowiki>[[December 7]], [[1941]]</nowiki>''</span>}}</code><br />
|- style="text-align:left;line-height:1.4em;font-size:87%;"
|style="white-space:normal;"|'''Sample below demonstrating use of Julian calendar dates. Displays <span style="color:#038945;">{{start-date|9 June 1692|{{OldStyleDate|9 June|1672|30 May}} }}</span>, and microformat date: '''''1692-06-
<code><nowiki>
{{start-date|</nowiki><span style="color:#705000;">''<nowiki>9 June 1692</nowiki>'''''|'''''<nowiki>{{OldStyleDate|9 June|1672|30 May}} </nowiki>''</span>}}</code><br />
೩೫ ನೇ ಸಾಲು:
:'''BCE''' (required for BCE dates) set to yes if the date is BC.
:'''timezone''' (required if timezone information specified) set to yes if location, timezone, or timezone offset is specified. (short form '''tz''')
====Ambiguous times and dates====
|