Difference between revisions of "Template:Calendar Date"
From GFBio Public Wiki
m (removed old category) |
(adjusted formatting to show future and current dates in bold) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifexpr: ({{#time:Ymd|{{{1}}}}} = {{#time:Ymd}})|'''{{Date|{{{1}}} }}''' | {{Date|{{{1}}} }} }}</includeonly> | + | <includeonly>{{#ifexpr: ({{#time:Ymd|{{{1}}}}} <= {{#time:Ymd}})|'''{{Date|{{{1}}} }}''' | {{Date|{{{1}}} }} }}</includeonly><noinclude> |
− | <noinclude> | + | |
<templatedata> | <templatedata> | ||
{ | { | ||
Line 13: | Line 12: | ||
} | } | ||
}, | }, | ||
− | "description": "A template for a single calendar day. The template spells out the Month and highlights the date in bold if it is the current date. For time spans with a from and to date, please use the Template:Calender Date Span." | + | "description": "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:Calender Date Span." |
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 11:52, 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:Calender Date Span.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | the date formatted according to ISO 8601 (YYY-MM-DD).
| date | required |