Difference between revisions of "Template:Cite video game/testcases"
Jump to navigation
Jump to search
imported>Salix alba (move sandbox test lower) |
imported>Codename Lisa (Starting error control stress test) |
||
| Line 1: | Line 1: | ||
{{template test cases notice}} | {{template test cases notice}} | ||
| − | |||
| − | |||
== Testing main template == | == Testing main template == | ||
| − | + | ===Good cases, erroneous date=== | |
| − | + | ;{{tlf|Cite video game}} with all parameters | |
| − | + | :{{cite video game | |
| − | {{ | + | | title = Awesome Game!!! |
| − | + | | developer = Contoso | |
| − | + | | publisher = Fabrikam | |
| − | + | | date = 2019-19-19<!--Deliberate invalid date--> | |
| − | | title = | + | | platform = Doorz<sup>Built on TNT Technology</sup> |
| − | | developer = | + | | version = 12.8 |
| − | | publisher = | + | | scene = Before talking about the stuff |
| − | | date = | + | | level = 19 |
| − | | platform = | + | | language = German |
| − | + | | quote = "And thou shall behold into the barrel of this laser gun!" | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | level = | ||
| − | | language = | ||
| − | | quote = | ||
}} | }} | ||
| − | + | ;{{tlf|invoke:Citation/CS1}} equivalent | |
| − | + | :{{#invoke:Citation/CS1|citation | |
| − | | title = | + | | title = Awesome Game!!! |
| − | | | + | | issue = v12.8 |
| − | | | + | | volume = Doorz<sup>Built on TNT Technology</sup> |
| − | + | | author = Contoso | |
| − | + | | publisher = Fabrikam | |
| − | + | | date = 2019-19-19<!--Deliberate invalid date--> | |
| − | + | | at = Scene: Before talking about the stuff. Level/area: 19 | |
| − | | | + | | language = German |
| − | | | + | | quote = "And thou shall behold into the barrel of this laser gun!" |
| − | | | ||
| − | | | ||
}} | }} | ||
| − | == | + | ;{{tlf|Cite video game}} with essential parameters only: |
| + | :{{cite video game |title=Awesome Game!!! | developer=Contoso}} | ||
| − | + | ===Error cases=== | |
| + | ;{{tlf|Cite video game}} with no parameters. Must generate an error: | ||
| + | :{{cite video game}} | ||
| − | {{cite video game | + | ;{{tlf|Cite video game}} with all parameters except mandatory ones. Must generate an error: |
| + | :{{cite video game | ||
| + | | 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 | ||
| + | | level = 19 | ||
| + | | language = German | ||
| + | | quote = "And thou shall behold into the barrel of this laser gun!" | ||
| + | }} | ||
| − | + | ;{{tlf|Cite video game}} with all parameters without title. Must generate an error: | |
| − | + | :{{cite video 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 | |
| − | + | | level = 19 | |
| − | + | | language = German | |
| − | + | | quote = "And thou shall behold into the barrel of this laser gun!" | |
| − | |||
| − | {{cite video game | ||
| − | |||
| − | | developer = | ||
| − | | publisher = | ||
| − | | date = | ||
| − | | platform = | ||
| − | | version = | ||
| − | | | ||
| − | | language = | ||
| − | | quote = | ||
}} | }} | ||
| − | + | ;{{tlf|Cite video game}} with all parameters without developer. Must generate an error: | |
| − | + | :{{cite video game | |
| − | | title = | + | | title = Awesome Game!!! |
| − | + | | publisher = Fabrikam | |
| − | | publisher = | + | | date = 2019-19-19<!--Deliberate invalid date--> |
| − | | date = | + | | platform = Doorz<sup>Built on TNT Technology</sup> |
| − | + | | version = 12.8 | |
| − | + | | scene = Before talking about the stuff | |
| − | + | | level = 19 | |
| − | | | + | | language = German |
| − | | | + | | quote = "And thou shall behold into the barrel of this laser gun!" |
| − | | | ||
| − | | | ||
}} | }} | ||
Revision as of 09:43, 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!!!.
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