Template:If between: Difference between revisions
Appearance
w>Theknightwho Make substable. |
m 1 revision imported |
||
(No difference)
| |||
Latest revision as of 13:40, 19 January 2026
| Warning | This template is used on approximately 4,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Conditionally include output on a page if an input is between a start and end date. The date boundaries are inclusive.
Usage
{{if between
| input =
| start =
| end =
| output =
}}
Example
{{if between
| input = July 3, 2012
| start = July 1, 2012
| end = July 30, 2012
| output = Yes, your input is between the specified start and end dates.
}}
This example code would output the text string "Yes, your input is between the specified start and end dates."