Regression
Param ended
New param |ended= controls the "is or was" boilerplate.
Test cases for newparam. Answers the question: "Has the course ended?" Legal values:
- yes, Yes, y, True, T:
was
- no, No, n, N, False, false, F,
is currently
- (anything else):
is or was
no other args
one other arg
multiple args
start_date and end_date
end_date
| Future end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-08-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article is currently the subject of a Wiki Education Foundation-supported course assignment, until 3 August 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is currently the subject of a Wiki Education Foundation-supported course assignment, until 3 August 2022. |
|
| Future end_date with ended=yes |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-08-03|ended=yes}}
{{Dashboard.wikiedu.org assignment}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, until 3 August 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, until 3 August 2022. |
|
| end_date today |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-07-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, until 3 July 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, until 3 July 2022. |
|
| Past end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-06-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, until 3 June 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, until 3 June 2022. |
|
| Past end_date with ended=no |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-06-03|ended=no}}
{{Dashboard.wikiedu.org assignment}}
 | This article is currently the subject of a Wiki Education Foundation-supported course assignment, until 3 June 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is currently the subject of a Wiki Education Foundation-supported course assignment, until 3 June 2022. |
|
start_date
| Future start_date |
|---|
{{Dashboard.wikiedu.org assignment|start_date=2022-08-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, starting 3 August 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, starting 3 August 2022. |
|
| Past start_date |
|---|
{{Dashboard.wikiedu.org assignment|start_date=2022-06-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, starting 3 June 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, starting 3 June 2022. |
|
| Non-date end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=Lorem ipsum}}
{{Dashboard.wikiedu.org assignment}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, until Lorem ipsum. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, until Lorem ipsum. |
|
| Non-date start_date |
|---|
{{Dashboard.wikiedu.org assignment|start_date=Lorem ipsum}}
{{Dashboard.wikiedu.org assignment}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, starting Lorem ipsum. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, starting Lorem ipsum. |
|
start_date and end_date
| Past start_date and future end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-08-03|start_date=2022-06-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article is currently the subject of a Wiki Education Foundation-supported course assignment, between 3 June 2022 and 3 August 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is currently the subject of a Wiki Education Foundation-supported course assignment, between 3 June 2022 and 3 August 2022. |
|
| Mismatched start_date and end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-06-03|start_date=2022-08-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, between 3 August 2022 and 3 June 2022 . start_date should be before end_date. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, between 3 August 2022 and 3 June 2022 . start_date should be before end_date. |
|
| Same start_date and end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=2022-06-03|start_date=2022-06-03}}
{{Dashboard.wikiedu.org assignment}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, between 3 June 2022 and 3 June 2022. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article was the subject of a Wiki Education Foundation-supported course assignment, between 3 June 2022 and 3 June 2022. |
|
| Non-date start_date and end_date |
|---|
{{Dashboard.wikiedu.org assignment|end_date=Lorem ipsum|start_date=dolor sit amet}}
{{Dashboard.wikiedu.org assignment}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, between dolor sit amet and Lorem ipsum Expression error: Unexpected < operator.. |
{{Dashboard.wikiedu.org assignment/sandbox}}
 | This article is or was the subject of a Wiki Education Foundation-supported course assignment, between dolor sit amet and Lorem ipsum Expression error: Unexpected < operator.. |
|