模板:Age:修订间差异

来自决策链云智库
(创建页面,内容为“This template also returns the date, hidden by CSS, in the ISO 8601 format needed by one or more of the following microformats: *hAtom (<code>class="updated"</code>) *hAudio (<code>class="published"</code>) *hCalendar (<code>class="dtstart"</code>) *hCard (<code>class="bday"</code>) usually, but not always, within infobox or similar templates, or tables. Its use in hCard is for organizations, venues and similar; use {{tl|Birth date}}…”)
 
无编辑摘要
 
第1行: 第1行:
This template also returns the date, hidden by CSS, in the [[ISO 8601]] format needed by one or more of the following [[microformat]]s:
<includeonly>{{#invoke:age|age_generic|template=age_full_years}}</includeonly><noinclude>{{documentation}}</noinclude>
 
*[[hAtom]] (<code>class="updated"</code>)
*[[hAudio]] (<code>class="published"</code>)
*[[hCalendar]] (<code>class="dtstart"</code>)
*[[hCard]] (<code>class="bday"</code>)
 
usually, but not always, within infobox or similar templates, or tables.
 
Its use in hCard is for organizations, 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>).
 
See [[WP:UF|the microformats project]] for further details.
 
=== Limitation ===
{{UF-datewarn}}<noinclude>
 
 
[[Category:Microformat (uF) message templates]]
</noinclude>

2024年1月18日 (四) 14:28的最新版本