Difference between revisions of "Template:Cite video game/testcases"
imported>The1337gamer |
imported>Izno (use test case module) |
||
| Line 2: | Line 2: | ||
== Testing main template == | == Testing main template == | ||
===Good cases, erroneous date=== | ===Good cases, erroneous date=== | ||
| − | + | ==== All parameters ==== | |
| − | + | {{test case | |
| title = Awesome Game!!! | | title = Awesome Game!!! | ||
| developer = Contoso | | developer = Contoso | ||
| Line 16: | Line 16: | ||
}} | }} | ||
| − | + | CS1 equivalent | |
| − | + | ||
| + | {{#invoke:Citation/CS1|citation | ||
| title = Awesome Game!!! | | title = Awesome Game!!! | ||
| issue = v12.8 | | issue = v12.8 | ||
| Line 26: | Line 27: | ||
| at = Scene: Before talking about the stuff. Level/area: 19 | | at = Scene: Before talking about the stuff. Level/area: 19 | ||
| language = German | | language = German | ||
| − | | quote = | + | | quote = And thou shall behold into the barrel of this laser gun! |
}} | }} | ||
| − | + | ==== Essential only ==== | |
| − | + | {{test case | |
| + | | title=Awesome Game!!! | ||
| + | | developer=Contoso | ||
| + | }} | ||
| − | + | ==== All except level ==== | |
| − | + | {{test case | |
| title = Awesome Game!!! | | title = Awesome Game!!! | ||
| developer = Contoso | | developer = Contoso | ||
| Line 42: | Line 46: | ||
| scene = Before talking about the stuff | | scene = Before talking about the stuff | ||
| language = German | | language = German | ||
| − | | quote = | + | | quote = And thou shall behold into the barrel of this laser gun! |
}} | }} | ||
| − | + | ==== All except scene ==== | |
| − | + | {{test case | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| title = [[World of Warcraft]] | | title = [[World of Warcraft]] | ||
| developer = [[Blizzard Entertainment]] | | developer = [[Blizzard Entertainment]] | ||
| Line 71: | Line 63: | ||
===Error cases=== | ===Error cases=== | ||
| − | + | These should each generate an error. | |
| − | |||
| − | + | ==== No parameters ==== | |
| − | + | {{test case}} | |
| + | |||
| + | ==== All parameters less mandatory ==== | ||
| + | {{test case | ||
| publisher = Fabrikam | | publisher = Fabrikam | ||
| date = 2019-19-19<!--Deliberate invalid date--> | | date = 2019-19-19<!--Deliberate invalid date--> | ||
| Line 83: | Line 77: | ||
| level = 19 | | level = 19 | ||
| language = German | | language = German | ||
| − | | quote = | + | | quote = And thou shall behold into the barrel of this laser gun! |
}} | }} | ||
| − | + | ==== All parameters less title ==== | |
| − | + | {{test case | |
| developer = Contoso | | developer = Contoso | ||
| publisher = Fabrikam | | publisher = Fabrikam | ||
| Line 96: | Line 90: | ||
| level = 19 | | level = 19 | ||
| language = German | | language = German | ||
| − | | quote = | + | | quote = And thou shall behold into the barrel of this laser gun! |
}} | }} | ||
| − | + | ==== All parameters less developer ==== | |
| − | + | {{test case | |
| title = Awesome Game!!! | | title = Awesome Game!!! | ||
| publisher = Fabrikam | | publisher = Fabrikam | ||
| Line 109: | Line 103: | ||
| level = 19 | | level = 19 | ||
| language = German | | language = German | ||
| − | | quote = | + | | quote = And thou shall behold into the barrel of this laser gun! |
}} | }} | ||
Revision as of 15:41, 4 August 2019
| 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: |
Contents
Testing main template
Good cases, erroneous date
All parameters
{{Cite video game}}
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)
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)
CS1 equivalent
Empty citation (help)
Essential only
{{Cite video game}}
Contoso. Awesome Game!!!.
Contoso. Awesome Game!!!.
All except level
{{Cite video game}}
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)
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)
All except scene
{{Cite video game}}
Blizzard Entertainment (2004-11-23). World of Warcraft (Mac OS X) (1.0 ed.). Vivendi Universal. Level/area: Brill. Orc: For the horde!
Blizzard Entertainment (2004-11-23). World of Warcraft (Mac OS X) (1.0 ed.). Vivendi Universal. Level/area: Brill. Orc: For the horde!
Error cases
These should each generate an error.
No parameters
{{Cite video game}}
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
All parameters less mandatory
{{Cite video game}}
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
All parameters less title
{{Cite video game}}
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
All parameters less developer
{{Cite video game}}
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
Error: {{Cite video game}} requires title and developer parametersTemplate:Namespace detect showall
test
- id Software; TeamTNT; Casali brothers (May 31, 1996). Final Doom (PC). GT Interactive.
- id Software, TeamTNT, Casali brothers (May 31, 1996). Final Doom (PC). GT Interactive.CS1 maint: multiple names: authors list (link)