Template:UF-date-part: Difference between revisions

m
18 revisions imported from wikipedia:Template:UF-date-part
m (18 revisions imported from wikipedia:Template:UF-date-part)
 
(16 intermediate revisions by 13 users not shown)
Line 2:
 
*[[hAtom]] (<code>class="updated"</code>)
*[[HCalendar|hCalendarhAudio]] (<code>class="dtstartpublished"</code>)
*[[HCard|hCardhCalendar]] (<code>class="bdaydtstart"</code>)
*[[hCard]] (<code>class="bday"</code>)
 
usually, but not always, within infobox or similar templates, or tables.
 
Its use in hCard is for organisationsorganizations, venues and similar; use {{tl|Birth date}} or {{tl|Birth date and age}} for people.
 
Similarly, {{tl|End date}} returns the date as [[HCalendar|hCalendar]]'s (<code>class="dtend"</code>). For example:
 
:<nowiki>(<span class="dtstart updated">1993-02-24</span>) and (<span class="dtstart updated">1993-02-24T08:30</span>)</nowiki>
 
and:
 
:<nowiki> (<span class="dtend">1993-02-24T08:30</span>)</nowiki>
 
(disable CSS or view source to see the hidden ISO-formatted output).
 
'''Note: due to the requirement exclusive "dtend" in [[hCalendar]], and the accessibility problems that presents when a date is rendered (as seen without CSS) as <tt>28 March 1999 (1999-03-29)</tt> or even <tt>28 February 1999 (1999-03-01)</tt> or <tt>31 December 1999 (2000-01-01)</tt>, the ''Date end'' template should '''not''' be used for whole-day dates and should have a time of 23:59:59.'''
 
See [[WP:UF|the microformats project]] for further details.
 
=== Limitation ===
{{UF-datewarn}}<noinclude>
 
 
[[Category:Microformat (uF) message templates]]
{{UF-datewarn}}
</noinclude>