Difference between revisions of "Template:Cite video game/testcases"
imported>Codename Lisa (Added two more) |
imported>IceWelder |
||
| (3 intermediate revisions by 2 users not shown) | |||
| 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: | ||
}} | }} | ||
| − | + | ==== Essential only ==== | |
| − | + | {{test case | |
| − | | title = Awesome Game!!! | + | | title=Awesome Game!!! |
| − | | | + | | developer=Contoso |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | + | ==== All except level ==== | |
| − | + | {{test case | |
| − | |||
| − | |||
| − | |||
| title = Awesome Game!!! | | title = Awesome Game!!! | ||
| developer = Contoso | | developer = Contoso | ||
| Line 42: | Line 32: | ||
| 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 = | + | | title = [[World of Warcraft]] |
| − | | developer = | + | | developer = [[Blizzard Entertainment]] |
| − | | publisher = | + | | publisher = [[Vivendi Universal]] |
| − | | date = | + | | date = 2004-11-23 |
| − | | platform = | + | | platform = [[Mac OS X]] |
| − | | version = | + | | version = 1.0 |
| − | | level = | + | | level = [[Locations in the Warcraft Universe#Brill|Brill]] |
| − | | language = | + | | language = English |
| − | | quote = | + | | quote = '''Orc:''' For the horde! |
}} | }} | ||
===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 71: | Line 63: | ||
| 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 84: | Line 76: | ||
| 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 97: | Line 89: | ||
| level = 19 | | level = 19 | ||
| language = German | | language = German | ||
| − | | quote = | + | | quote = And thou shall behold into the barrel of this laser gun! |
}} | }} | ||
| + | |||
| + | ===test=== | ||
| + | * {{cite video game | title = Final Doom | developer = [[id Software]] | developer2=[[TeamTNT]] | developer3=Casali brothers | publisher = [[GT Interactive]] | date = May 31, 1996| platform = PC}} | ||
| + | * {{cite video game | title = Final Doom | developer = [[id Software]], [[TeamTNT]], Casali brothers | publisher = [[GT Interactive]] | date = May 31, 1996| platform = PC}} | ||
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)