Template:If between
![]() | This template is used on approximately 3,900 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
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
Example
<syntaxhighlight lang="wikitext"> Yes, your input is between the specified start and end dates. </syntaxhighlight>
This example code would output the text string "Yes, your input is between the specified start and end dates."