Difference between revisions of "Template:AllMovie title/testcases"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
(create test cases)
 
blackwiki>Edgars2007
Line 58: Line 58:
 
* Output: {{ {{BASEPAGENAME}} | 356351 | Quantum of Solace (releases) | tab= releases }}
 
* Output: {{ {{BASEPAGENAME}} | 356351 | Quantum of Solace (releases) | tab= releases }}
 
* Sandbox: {{ {{BASEPAGENAME}}/sandbox | 356351 | Quantum of Solace (releases) | tab= releases }}
 
* Sandbox: {{ {{BASEPAGENAME}}/sandbox | 356351 | Quantum of Solace (releases) | tab= releases }}
 +
 +
== Validation ==
 +
{|class="wikitable"
 +
|-
 +
! Code !! Expected !! Result
 +
|-
 +
| {{tlx|AllMovie title/sandbox2|123}} || (nothing) || {{AllMovie title/sandbox2|123}}
 +
|-
 +
| {{tlx|AllMovie title/sandbox2|v123}} || maintaince || {{AllMovie title/sandbox2|v123}}
 +
|-
 +
| {{tlx|AllMovie title/sandbox2|the-captain-is-a-lady-v86623}} || maintaince || {{AllMovie title/sandbox2|the-captain-is-a-lady-v86623}}
 +
|}

Revision as of 16:20, 30 January 2016

Parameter: id (1)

Usage: {{ AllMovie title | id= 356351 }}

Usage: {{ AllMovie title | 356351 }}

Parameter: title (2)

Usage: {{ AllMovie title | id= 356351 | title= Quantum of Solace }}

Usage: {{ AllMovie title | 356351 | Quantum of Solace }}

Parameter: tab

review

Usage: {{ AllMovie title | id= 356351 | title= Quantum of Solace (review) | tab= review }}

Usage: {{ AllMovie title | 356351 | Quantum of Solace (review) | tab= review }}

cast-crew

Usage: {{ AllMovie title | id= 356351 | title= Quantum of Solace (cast & crew) | tab= cast-crew }}

Usage: {{ AllMovie title | 356351 | Quantum of Solace (cast & crew) | tab= cast-crew }}

awards

Usage: {{ AllMovie title | id= 356351 | title= Quantum of Solace (awards) | tab= awards }}

Usage: {{ AllMovie title | 356351 | Quantum of Solace (awards) | tab= awards }}

releases

Usage: {{ AllMovie title | id= 356351 | title= Quantum of Solace (releases) | tab= releases }}

Usage: {{ AllMovie title | 356351 | Quantum of Solace (releases) | tab= releases }}

Validation

Code Expected Result
{{AllMovie title/sandbox2|123}} (nothing) Template:AllMovie title/sandbox2
{{AllMovie title/sandbox2|v123}} maintaince Template:AllMovie title/sandbox2
{{AllMovie title/sandbox2|the-captain-is-a-lady-v86623}} maintaince Template:AllMovie title/sandbox2