Difference between revisions of "Template:Cite video game/testcases"
Jump to navigation
Jump to search
imported>Codename Lisa (Starting error control stress test) |
imported>Codename Lisa (Added two more) |
||
| Line 31: | Line 31: | ||
;{{tlf|Cite video game}} with essential parameters only: | ;{{tlf|Cite video game}} with essential parameters only: | ||
:{{cite video game |title=Awesome Game!!! | developer=Contoso}} | :{{cite video game |title=Awesome Game!!! | developer=Contoso}} | ||
| + | |||
| + | ;{{tlf|Cite video game}} with all parameters except level | ||
| + | :{{cite video game | ||
| + | | title = Awesome Game!!! | ||
| + | | developer = Contoso | ||
| + | | publisher = Fabrikam | ||
| + | | date = 2019-19-19<!--Deliberate invalid date--> | ||
| + | | platform = Doorz<sup>Built on TNT Technology</sup> | ||
| + | | version = 12.8 | ||
| + | | scene = Before talking about the stuff | ||
| + | | language = German | ||
| + | | quote = "And thou shall behold into the barrel of this laser gun!" | ||
| + | }} | ||
| + | |||
| + | ;{{tlf|Cite video game}} with all parameters except scene | ||
| + | :{{cite video game | ||
| + | | title = Awesome Game!!! | ||
| + | | developer = Contoso | ||
| + | | publisher = Fabrikam | ||
| + | | date = 2019-19-19<!--Deliberate invalid date--> | ||
| + | | platform = Doorz<sup>Built on TNT Technology</sup> | ||
| + | | version = 12.8 | ||
| + | | level = 19 | ||
| + | | language = German | ||
| + | | quote = "And thou shall behold into the barrel of this laser gun!" | ||
| + | }} | ||
===Error cases=== | ===Error cases=== | ||
Revision as of 09:55, 27 December 2013
| This is the template test cases page for the sandbox of Template:Cite video game. 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: |
Testing main template
Good cases, erroneous date
- {{Cite video game}} with all parameters
- Contoso (2019-19-19). Awesome Game!!! (DoorzBuilt on TNT Technology) (in German) (12.8 ed.). Fabrikam. Scene: Before talking about the stuff. Level/area: 19.
And thou shall behold into the barrel of this laser gun!
Check date values in:|date=(help)
- {{invoke:Citation/CS1}} equivalent
- Empty citation (help)
- {{Cite video game}} with essential parameters only
- Contoso. Awesome Game!!!.
- {{Cite video game}} with all parameters except level
- Contoso (2019-19-19). Awesome Game!!! (DoorzBuilt on TNT Technology) (in German) (12.8 ed.). Fabrikam. Scene: Before talking about the stuff.
And thou shall behold into the barrel of this laser gun!
Check date values in:|date=(help)
- {{Cite video game}} with all parameters except scene
- Contoso (2019-19-19). Awesome Game!!! (DoorzBuilt on TNT Technology) (in German) (12.8 ed.). Fabrikam. Level/area: 19.
And thou shall behold into the barrel of this laser gun!
Check date values in:|date=(help)
Error cases
- {{Cite video game}} with no parameters. Must generate an error
- Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
- {{Cite video game}} with all parameters except mandatory ones. Must generate an error
- Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
- {{Cite video game}} with all parameters without title. Must generate an error
- Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
- {{Cite video game}} with all parameters without developer. Must generate an error
- Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall