Jump to content

Template:AllMovie title/testcases

From Wikipedia, the free encyclopedia

Parameter: id (1)

[edit]

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

Usage: {{ AllMovie title | 356351 }}

Parameter: title (2)

[edit]

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

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

Parameter: tab

[edit]

review

[edit]

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

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

cast-crew

[edit]

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

[edit]

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

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

releases

[edit]

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

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

Value validation

[edit]

1=

[edit]

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

[edit]

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

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

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)