Template:If this academic year
Kaonekelo
Usage
[kulemba source]This template takes a date and returns different content based on whether it's in the current academic year. Academic years are defined as beginning on 1 July. It can be used in combination with a dynamic date input (such as from a Wikidata value) to do things like determine verb tense for a statistic.
Parameters
[kulemba source]No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Date | 1 | The date being tested, in any normal format | Date | required |
| If this academic year | 2 | Content to present if the date is this academic year | Content | suggested |
| If not this academic year | 3 | Content to present if the date is not this academic year | Content | suggested |
Examples
[kulemba source]{{If this academic year|October 1, 2024|this academic year|not this academic year}}→ not this academic year{{If this academic year|January 20, 2026|this academic year|not this academic year}}→ this academic year{{If this academic year|July 2, 2026|this academic year|not this academic year}}→ not this academic year{{If this academic year|December 28, 2026|this academic year|not this academic year}}→ not this academic year{{If this academic year|June 20, 2027|this academic year|not this academic year}}→ not this academic year{{If this academic year|October 28, 2027|this academic year|not this academic year}}→ not this academic year
See also
[kulemba source]- {{if this semester}}
- {{semester}}