Template:AllMovie title/testcases

From blackwiki
Jump to navigation Jump to search

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 }}

Value validation

1=

Usage: {{ AllMovie title | 86623 }}

Usage: {{ AllMovie title | v86623 }} (trims "v")

Usage: {{ AllMovie title | the-captain-is-a-lady-v86623 }} (trims non-numeric letters)

Usage: {{ AllMovie title | fahrenheit-451-v16576 }} (trims all letters before the number at the end, even though the argument contains multiple numbers)

Usage: {{ AllMovie title | 4-months-3-weeks-and-2-days-v396871 }} (trims all letters before the number at the end, even though the argument contains multiple numbers)

Usage: {{ AllMovie title | the-captain-is-a-lady }} (adds AllMovie titles with invalid value category since the argument is not a number)

Usage: {{ AllMovie title | 4-months-3-weeks-and-2-days }} (adds AllMovie titles with invalid value category since the argument does not end with a number)

id

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

Usage: {{ AllMovie title | id= v86623 }} (trims "v")

Usage: {{ AllMovie title | id= the-captain-is-a-lady-v86623 }} (trims non-numeric letters)

Usage: {{ AllMovie title | id= fahrenheit-451-v16576 }} (trims all letters before the number at the end, even though the argument contains multiple numbers)

Usage: {{ AllMovie title | id= 4-months-3-weeks-and-2-days-v396871 }} (trims all letters before the number at the end, even though the argument contains multiple numbers)

Usage: {{ AllMovie title | id= the-captain-is-a-lady }} (adds AllMovie titles with invalid value category since the argument is not a number)

Usage: {{ AllMovie title | id= 4-months-3-weeks-and-2-days }} (adds AllMovie titles with invalid value category since the argument does not end with a number)