Difference between revisions of "Template:Calendar Date"
From GFBio Public Wiki
(adjusted formatting to show future and current dates in bold) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifexpr: ({{#time:Ymd|{{{1}}}}} | + | <includeonly>{{#ifexpr: ({{#time:Ymd|{{{1}}}}} >= {{#time:Ymd}})|'''{{Date|{{{1}}} }}''' | {{Date|{{{1}}} }} }}</includeonly><noinclude> |
<templatedata> | <templatedata> | ||
{ | { | ||
Line 12: | 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 a future or the current date. For time spans with a from and to date, please use the Template: | + | "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:Calendar Date Span." |
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | the date formatted according to ISO 8601 (YYY-MM-DD).
| date | required |