Difference between revisions of "Template:When"

From Organic Design wiki
m (Template:Time moved to Template:When: use when since #time already exists)
(#when)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template will be used to add time information to an article, for example <tt>{</tt><tt>{time|d=*|h=6|m=30}}</tt> or <tt>{</tt><tt>{time|27 Jan}}</tt>. 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.
+
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 <tt>{</tt><tt>{#when:d=*|h=6|m=30}}</tt> or <tt>{</tt><tt>{#when|27 Jan}}</tt>. 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.
 
{{info|
 
{{info|
 
;New time categories
 
;New time categories

Revision as of 11:55, 20 April 2007

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.

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