Difference between revisions of "Template:Cite video game/testcases"
imported>Salix alba (move sandbox test lower) |
imported>IceWelder |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{template test cases notice}} | {{template test cases notice}} | ||
| − | |||
| − | |||
== Testing main template == | == Testing main template == | ||
| + | ===Good cases, erroneous date=== | ||
| + | ==== All parameters ==== | ||
| + | {{test case | ||
| + | | 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 | ||
| + | | level = 19 | ||
| + | | language = German | ||
| + | | 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!!! | ||
| + | | 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! | ||
| + | }} | ||
| − | + | ==== All except scene ==== | |
| + | {{test case | ||
| title = [[World of Warcraft]] | | title = [[World of Warcraft]] | ||
| developer = [[Blizzard Entertainment]] | | developer = [[Blizzard Entertainment]] | ||
| Line 19: | Line 46: | ||
| language = English | | language = English | ||
| quote = '''Orc:''' For the horde! | | quote = '''Orc:''' For the horde! | ||
| − | }} | + | }} |
| − | + | ===Error cases=== | |
| − | + | These should each generate an error. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ==== No parameters ==== | |
| − | + | {{test case}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | {{ | + | ==== All parameters less mandatory ==== |
| − | | | + | {{test case |
| − | | | + | | 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! | ||
}} | }} | ||
| − | == | + | ==== All parameters less title ==== |
| + | {{test case | ||
| + | | 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! | ||
| + | }} | ||
| − | + | ==== All parameters less developer ==== | |
| − | + | {{test case | |
| − | {{ | + | | title = Awesome 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 | |
| − | | platform = | + | | language = German |
| − | + | | quote = And thou shall behold into the barrel of this laser gun! | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | level = | ||
| − | | language = | ||
| − | | quote = | ||
}} | }} | ||
| − | + | ===test=== | |
| − | + | * {{cite video game | title = Final Doom | developer = [[id Software]] | developer2=[[TeamTNT]] | developer3=Casali brothers | publisher = [[GT Interactive]] | date = May 31, 1996| platform = PC}} | |
| − | | title = [[ | + | * {{cite video game | title = Final Doom | developer = [[id Software]], [[TeamTNT]], Casali brothers | publisher = [[GT Interactive]] | date = May 31, 1996| platform = PC}} |
| − | | | ||
| − | | publisher = [[ | ||
| − | | date = | ||
| − | }} | ||
| − | |||
| − | {{cite video game | ||
| − | | title = [[ | ||
| − | |||
| − | | publisher = [[ | ||
| − | | date = | ||
| − | }} | ||
Latest revision as of 18:22, 12 June 2020
| 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)
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)