Module:Infobox date field metadata/doc: Difference between revisions

Content deleted Content added
ce
 
(3 intermediate revisions by 2 users not shown)
Line 1:
{{module rating|alphaprotected}}
 
This module allows infoboxes using {{tl|Infobox date field metadata}} to automatically produce machine-readable metadata in form of [[Help:Microformats|microformats]] (see also [[WP:UF|WP Microformats]]) from infobox fields using recognized dates, times, and date ranges. Unrecognized, ambiguous and incomplete values are skipped and some will produce an error tracking category.
Line 10:
 
* First paramater is always the input string – this should be the infobox's date field value
* {{para|dtstart|yes}} specifiedspecifies that [[hCalendar]] ([[WP:UF#hCalendar]]) <code>dtstart</code> (event start date) class is to be output if possible
* {{para|dtend|yes}} specifiedspecifies that hCalendar <code>dtend</code> (event end date) class is to be output if possible
* {{para|trackingCat|yes}} specifiedspecifies that [[:Category:Articles with automatically detected infobox date metadata]] should be added to every article where metadata was successfully emitted ''(the category currently does not exist)''
* {{para|noErrorCats|yes}} specifies that parsing error categories (currently [[:Category:Articles with incomplete date ranges for automatic metadata]]) should not be added by default
 
== Examples ==
:''See [[Module talk:{{BASEPAGENAME}}/testcases]]''
<noinclude>
[[Category:Module documentation pages]]
</noinclude>