Editing Template:UF-date-part
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This template also returns the date, hidden by CSS, in the ISO 8601 format needed by one or more of the following | This template also returns the date, hidden by CSS, in the [[ISO 8601]] format needed by one or more of the following [[microformat]]s: | ||
*hAtom (<code>class="updated"</code>) | *[[hAtom]] (<code>class="updated"</code>) | ||
*hAudio (<code>class="published"</code>) | *[[hAudio]] (<code>class="published"</code>) | ||
*hCalendar (<code>class="dtstart"</code>) | *[[hCalendar]] (<code>class="dtstart"</code>) | ||
*hCard (<code>class="bday"</code>) | *[[hCard]] (<code>class="bday"</code>) | ||
usually, but not always, within infobox or similar templates, or tables. | usually, but not always, within infobox or similar templates, or tables. | ||
Line 10: | Line 10: | ||
Its use in hCard is for organisations, venues and similar; use {{tl|Birth date}} or {{tl|Birth date and age}} for people. | Its use in hCard is for organisations, venues and similar; use {{tl|Birth date}} or {{tl|Birth date and age}} for people. | ||
Similarly, {{tl|End date}} returns the date as hCalendar's (<code>class="dtend"</code>). | Similarly, {{tl|End date}} returns the date as [[hCalendar]]'s (<code>class="dtend"</code>). | ||
See the microformats project for further details. | See [[WP:UF|the microformats project]] for further details. | ||
=== Limitation === | === Limitation === | ||
{{UF-datewarn}}<noinclude>[[Category:Templates]]</noinclude> | {{UF-datewarn}}<noinclude>[[Category:Templates]]</noinclude> |