Actions

Template

Dateswitch

From Sonic Retro

Revision as of 19:18, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Displays different text depending on the date.

Usage

Leave "date" blank to use the current date.

{{dateswitch
| date=2015-05-05
| earlier
| 2013-08-25=middle
| 2018-01-01=later
}}

returns:

middle