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

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

Revision as of 17:11, 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 }}

Invalid values

Usage: {{ AllMovie title | 86623 }}

Usage: {{ AllMovie title | v86623 }}

Usage: {{ AllMovie title | the-captain-is-a-lady-v86623 }}