Template:If this semester
Kaonekelo
Template documentation
Usage
This template takes a date and returns different content based on whether it's in the current semester. Semesters are defined as January 1–July 1 and July 1–December 31. 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
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | 1 | The date being tested, in any normal format | Date | required |
If this semester | 2 | Content to present if the date is this semester | Content | suggested |
If not this semester | 3 | Content to present if the date is not this semester | Content | suggested |
Examples
- {{If this semester|October 1, 2022|this semester|not this semester}} → not this semester
- {{If this semester|January 20, 2024|this semester|not this semester}} → not this semester
- {{If this semester|July 2, 2024|this semester|not this semester}} → this semester
- {{If this semester|December 28, 2024|this semester|not this semester}} → this semester
- {{If this semester|January 20, 2025|this semester|not this semester}} → not this semester
- {{If this semester|October 28, 2025|this semester|not this semester}} → not this semester
See also
- {{If this academic year}}
- {{Is now}}
- {{Semester}}