Template:If this semester

{{doc|content=

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
{	"params": { "1": {			"label": "Date", "description": "The date being tested, in any normal format", "type": "date", "required": true },		"2": {			"label": "If this semester", "description": "Content to present if the date is this semester", "type": "content", "suggested": true },		"3": {			"label": "If not this semester", "description": "Content to present if the date is not this semester", "type": "content", "suggested": true }	} }