Difference between revisions of "Template:Calendar Date"

From GFBio Public Wiki
Jump to: navigation, search
m (typo)
m
 
Line 1: Line 1:
<includeonly>{{#ifexpr: ({{#time:Ymd|{{{1}}}}} <= {{#time:Ymd}})|'''{{Date|{{{1}}} }}''' | {{Date|{{{1}}} }} }}</includeonly><noinclude>
+
<includeonly>{{#ifexpr: ({{#time:Ymd|{{{1}}}}} >= {{#time:Ymd}})|'''{{Date|{{{1}}} }}''' | {{Date|{{{1}}} }} }}</includeonly><noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{

Latest revision as of 12:47, 27 May 2019

A template for a single calendar day. The template spells out the Month and highlights the date in bold if it is a future or the current date. For time spans with a from and to date, please use the Template:Calendar Date Span.

Template parameters
ParameterDescriptionTypeStatus
Date1

the date formatted according to ISO 8601 (YYY-MM-DD).

Default
empty
Example
2019-05-29
Auto value
empty
daterequired