Template:Dashboard.wikiedu.org assignment/testcases
Jump to navigation
Jump to search
![]() | This is the template test cases page for the sandbox of Template:Dashboard.wikiedu.org assignment. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Contents
Regression
Expand{{Dashboard.wikiedu.org assignment}} |
---|
Collapse{{Dashboard.wikiedu.org assignment}} | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy|end_date=31 December 2525|term=Fall 2525| start_date=23 August 2525 }} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
Collapse{{Dashboard.wikiedu.org assignment}} | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy 101 |end_date=31 December 2525|reviewers=[[User:Student099]], [[User:Student098]]| start_date=23 August 2525 }} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
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
Expand{{Dashboard.wikiedu.org assignment|ended=yes}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=Y}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=true}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=T}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=1}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=no}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=n}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=F}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=false}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=0}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=}} |
---|
Expand{{Dashboard.wikiedu.org assignment|ended=Lorem ipsum}} |
---|
one other arg
Expand{{Dashboard.wikiedu.org assignment|course=Wikipedia:Klingon U Comparative Galactic Anatomy|ended=yes}} |
---|
Expand{{Dashboard.wikiedu.org assignment|course=Wikipedia:Klingon U Comparative Galactic Anatomy|ended=no}} |
---|
Expand{{Dashboard.wikiedu.org assignment|course=Wikipedia:Klingon U Comparative Galactic Anatomy|ended=}} |
---|
Expand{{Dashboard.wikiedu.org assignment|course=Wikipedia:Klingon U Comparative Galactic Anatomy}} |
---|
multiple args
Collapse{{Dashboard.wikiedu.org assignment}} | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy 101 |end_date=31 December 2525|reviewers=[[User:Student099]], [[User:Student098]]|start_date=23 August 2525}} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
Collapseended=Y | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy 101 |end_date=31 December 2525|ended=Y|reviewers=[[User:Student099]], [[User:Student098]]| start_date=23 August 2525 }} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
Collapseended=N | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy 101 |end_date=31 December 2525|ended=N|reviewers=[[User:Student099]], [[User:Student098]]| start_date=23 August 2525 }} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
Collapseended=T | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy 101 |end_date=31 December 2525|ended=T|reviewers=[[User:Student099]], [[User:Student098]]| start_date=23 August 2525 }} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
Collapseended=F | ||||
---|---|---|---|---|
{{Dashboard.wikiedu.org assignment|assignments=[[User:Student001]], [[User:Student004]] |course=Wikipedia:Klingon U Comparative Galactic Anatomy 101 |end_date=31 December 2525|ended=F|reviewers=[[User:Student099]], [[User:Student098]]| start_date=23 August 2525 }} {{Dashboard.wikiedu.org assignment}}
{{Dashboard.wikiedu.org assignment/sandbox}}
|
start_date and end_date
end_date
ExpandFuture end_date |
---|
ExpandFuture end_date with ended=yes |
---|
Expandend_date today |
---|
ExpandPast end_date |
---|
ExpandPast end_date with ended=no |
---|
start_date
ExpandFuture start_date |
---|
ExpandPast start_date |
---|
ExpandNon-date end_date |
---|
ExpandNon-date start_date |
---|
start_date and end_date
ExpandPast start_date and future end_date |
---|
ExpandMismatched start_date and end_date |
---|
ExpandSame start_date and end_date |
---|
ExpandNon-date start_date and end_date |
---|