Template:AllMovie movie/testcases

From Simple English Wikipedia, the free encyclopedia

Parameter: id (1)[change source]

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

Usage: {{ AllMovie movie | 356351 }}

Parameter: title (2)[change source]

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

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

Parameter: tab[change source]

review[change source]

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

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

cast-crew[change source]

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

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

awards[change source]

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

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

releases[change source]

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

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

Value validation[change source]

1=[change source]

Usage: {{ AllMovie movie | 86623 }}

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

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

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

Usage: {{ AllMovie movie | 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 movie | the-captain-is-a-lady }} (adds AllMovie titles with invalid value category since the argument is not a number)

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

id[change source]

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

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

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

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

Usage: {{ AllMovie movie | 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 movie | id= the-captain-is-a-lady }} (adds AllMovie titles with invalid value category since the argument is not a number)

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