Difference between revisions of "Template:Date"
Jump to navigation
Jump to search
m (tweaks) |
(small tweak) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#switch: {{{date|}}} | + | {{#switch: {{{date|{{{1}}}}}} |
| 1 = | | 1 = | ||
| 21 = | | 21 = | ||
− | | 31 = {{{ | + | | 31 = {{{1}}}<sup>st</sup> |
| 2 = | | 2 = | ||
− | | 22 = {{{ | + | | 22 = {{{1}}}<sup>nd</sup> |
| 3 = | | 3 = | ||
− | | 23 = {{{ | + | | 23 = {{{1}}}<sup>rd</sup> |
| 4 = | | 4 = | ||
− | <!-- | #default = {{{ | + | <!-- | #default = {{{1}}}<sup>th</sup> --> |
}} | }} | ||
Revision as of 11:35, 19 August 2020
Description
Usage
To use this template, place {{date|##}} in an entry where "##" is the number for the day of the month.
For example,
S: Our guest tonight is .
will produce
- S: Our guest tonight is .