ಟೆಂಪ್ಲೇಟು:Start-date/doc: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
No edit summary |
No edit summary |
||
೩ ನೇ ಸಾಲು:
Start-date and end-date are easy to read date and time templates that emits proper [[microformat]] dates for events. These templates are an alternative to the old {{tl|start date}} and {{tl|end date}} templates. For events where the 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 -->
|- style="text-align:left;" colspan=2
|'''<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:#691BDF;">{{start-date| 7 December 1941}}</span>, and microformat date: '''''1941-12-07T00:00Z''<br />
<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:#691BDF;">{{start-date| 8:43AM HST, December 7, 1941}}</span>, and microformat date (corrected for UTC): '''''1941-12-07T18:43Z''<br />
<code><nowiki>
{{start-date|</nowiki><span style="color:#705000;">''<nowiki>8:43AM HST, December 7, 1941</nowiki>''</span>}}</code><br />
|- style="text-align:left;line-height:1.4em;font-size:87%;"
<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 <
<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 />
|}
|