Difference between revisions of "Template:Cricketarchive/testcases"
Jump to navigation
Jump to search
imported>Zyxw (add test) |
imported>Zyxw (update to use testcase templates) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Testcases notice <!--|toc=on-->}} |
| + | |||
| + | == Missing or empty "id" or "ref" == | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | ||
| + | |code=<nowiki>{{__TEMPLATENAME__}}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | ||
| + | |code=<nowiki>{{__TEMPLATENAME__ | }}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | ||
| + | |code=<nowiki>{{__TEMPLATENAME__ |id= }}</nowiki> | ||
| + | }} | ||
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | ||
| + | |code=<nowiki>{{__TEMPLATENAME__ |ref= }}</nowiki> | ||
| + | }} | ||
== Using "id" parameter == | == Using "id" parameter == | ||
| − | === | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1 }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1 |name=Charles Bannerman }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=43 |name=WG Grace }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=999 |name=Les Favell }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1933 |name=Sachin Tendulkar }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=41464 |name=Abdul Aziz }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=284842 |name=Bob Hawke }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1790705 |name=Brendan Doggett }}</nowiki> | |
| − | + | }} | |
| − | === | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | === | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | === | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Using "ref" parameter == | == Using "ref" parameter == | ||
| − | |||
| − | |||
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |ref=Archive/Grounds/22/1547 }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |ref=Archive/Grounds/22/1547 |name=Zafar Ali Stadium }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |ref=Archive/Grounds/22/1547.html |name=Zafar Ali Stadium }}</nowiki> | |
| − | + | }} | |
== Using "accessdate" parameter == | == Using "accessdate" parameter == | ||
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1933 |name=Sachin Tendulkar |accessdate= }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1933 |name=Sachin Tendulkar |accessdate=25 February 2017}}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |ref=Archive/Grounds/22/1547 |name=Zafar Ali Stadium |accessdate=25 February 2017}}</nowiki> | |
| − | + | }} | |
== Using "archive" parameter == | == Using "archive" parameter == | ||
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1933 |name=Sachin Tendulkar |archive= }}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |id=1933 |name=Sachin Tendulkar |archive=20170221000549}}</nowiki> | |
| − | + | }} | |
| − | + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | |
| − | + | |code=<nowiki>{{__TEMPLATENAME__ |ref=Archive/Grounds/22/1547 |name=Zafar Ali Stadium |archive=20170113134139}}</nowiki> | |
| − | + | }} | |
| + | {{Test case nowiki|format=tablerows|collapsible=yes|output=nowiki+|showcode=no|titlecode=yes | ||
| + | |code=<nowiki>{{__TEMPLATENAME__ |ref=Archive/Grounds/22/1547.html |name=Zafar Ali Stadium |archive=20170113134139}}</nowiki> | ||
| + | }} | ||
| − | + | <!-- | |
| − | + | {{clear}} | |
| − | + | == References == | |
| − | + | {{reflist}} | |
| + | --> | ||
Latest revision as of 23:36, 9 December 2019
| This is the template test cases page for the sandbox of Template:Cricketarchive. 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
Missing or empty "id" or "ref"
| {{Cricketarchive}} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive | }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id= }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |ref= }} | ||||||
|---|---|---|---|---|---|---|
|
Using "id" parameter
| {{Cricketarchive |id=1 }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=1 |name=Charles Bannerman }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=43 |name=WG Grace }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=999 |name=Les Favell }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=1933 |name=Sachin Tendulkar }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=41464 |name=Abdul Aziz }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=284842 |name=Bob Hawke }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=1790705 |name=Brendan Doggett }} | ||||||
|---|---|---|---|---|---|---|
|
Using "ref" parameter
| {{Cricketarchive |ref=Archive/Grounds/22/1547 }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |ref=Archive/Grounds/22/1547 |name=Zafar Ali Stadium }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |ref=Archive/Grounds/22/1547.html |name=Zafar Ali Stadium }} | ||||||
|---|---|---|---|---|---|---|
|
Using "accessdate" parameter
| {{Cricketarchive |id=1933 |name=Sachin Tendulkar |accessdate= }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=1933 |name=Sachin Tendulkar |accessdate=25 February 2017}} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |ref=Archive/Grounds/22/1547 |name=Zafar Ali Stadium |accessdate=25 February 2017}} | ||||||
|---|---|---|---|---|---|---|
|
Using "archive" parameter
| {{Cricketarchive |id=1933 |name=Sachin Tendulkar |archive= }} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |id=1933 |name=Sachin Tendulkar |archive=20170221000549}} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |ref=Archive/Grounds/22/1547 |name=Zafar Ali Stadium |archive=20170113134139}} | ||||||
|---|---|---|---|---|---|---|
|
| {{Cricketarchive |ref=Archive/Grounds/22/1547.html |name=Zafar Ali Stadium |archive=20170113134139}} | ||||||
|---|---|---|---|---|---|---|
|