Template:When

From Organic Design wiki
Revision as of 12:01, 20 April 2007 by Nad (talk | contribs) (duration)

This template will be used to add time information to an article. It will probably be implemented as a parser function rather than a template so that we can convert any arbitrary date format easily, for example {{#when:d=*|h=6|m=30}} or {{#when|27 Jan}}. This template should allow friendly input with useful defaults for unspecified parameters, the whole thing expanding to a collection of category statements which DPL can query, such as Monday, :30, 06:00, 2007 etc. For more complex time information, any number of time statements could be added to a page.

Also the ability to specify a duration with each time statement should be included too, maybe t for time. The default value would be zero which is a point in time with no duration.

Info.svg ;New time categories
Other time-related articles