Difference between revisions of "Dateswitch"
From NEC Retro
Ccawley2011 (talk | contribs) (Created page with "<includeonly>{{#vardefine:dsoutput|{{{1|}}}}}{{#forargs: | dateborder | text | {{#ifeq: {{#var:dateborder}} | date || {{#ifexpr:{{age|{{#var:dateborder}}|{{{date|}}}|lowonly=y...") |
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates") |
||
Line 26: | Line 26: | ||
}} | }} | ||
− | [[Category: | + | [[Category:Templates]] |
</noinclude> | </noinclude> |
Latest revision as of 11:57, 1 January 2022
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