Each use of the template can be linked or unlinked. As testcases need to be exhaustive, this makes for a lot of cases.

Testing sandbox version

edit

Blank parameters (should do nothing)

edit

Ten error conditions

edit
  1. Error in template H2G2: First parameter can not be blank
  2. Error in template H2G2: First parameter not recognised
  3. the novel Error in template H2G2,book: Second parameter not recognised
  4. Error in template H2G2: Link parameter not recognised
  5. the novel Error in template H2G2,book: Second parameter not recognised
  6. Error in template H2G2,radio: Second parameter not recognised of the radio series
  7. episode Error in template H2G2,tv: Second parameter not recognised
  8. the 2005 movie Error in template H2G2,movie: Second parameter not recognised
  9. the computer game Error in template H2G2,game: Second parameter not recognised
  10. the radio series Error in template H2G2,phase: Second parameter not recognised

Default linking (both should not link)

edit
  • the computer game The Hitchhiker's Guide to the Galaxy
  • the computer game Starship Titanic

{{H2G2|book|1|link=yes}} to {{H2G2|book|6|link=no}}

edit

Linked

edit

Unlinked

edit
  • the novel The Hitchhiker's Guide to the Galaxy
  • the novel The Restaurant at the End of the Universe
  • the novel Life, the Universe and Everything
  • the novel So Long, and Thanks for All the Fish
  • the novel Mostly Harmless
  • the novel And Another Thing...

{{H2G2|radio|1|link=yes}} to {{H2G2|radio|26|link=no}}

edit

Linked

edit

Unlinked

edit
  • fit the first of the radio series
  • fit the second of the radio series
  • fit the third of the radio series
  • fit the fourth of the radio series
  • fit the fifth of the radio series
  • fit the sixth of the radio series
  • fit the seventh of the radio series
  • fit the eighth of the radio series
  • fit the ninth of the radio series
  • fit the tenth of the radio series
  • fit the eleventh of the radio series
  • fit the twelfth of the radio series
  • fit the thirteenth of the radio series
  • fit the fourteenth of the radio series
  • fit the fifteenth of the radio series
  • fit the sixteenth of the radio series
  • fit the seventeenth of the radio series
  • fit the eighteenth of the radio series
  • fit the nineteenth of the radio series
  • fit the twentieth of the radio series
  • fit the twenty-first of the radio series
  • fit the twenty-second of the radio series
  • fit the twenty-third of the radio series
  • fit the twenty-fourth of the radio series
  • fit the twenty-fifth of the radio series
  • fit the twenty-sixth of the radio series

{{H2G2|tv|1|link=yes}} to {{H2G2|tv|6|link=no}}

edit

Linked

edit

Unlinked

edit
  • episode 1 of the TV series
  • episode 2 of the TV series
  • episode 3 of the TV series
  • episode 4 of the TV series
  • episode 5 of the TV series
  • episode 6 of the TV series

{{H2G2|movie|1|link=yes/no}}

edit

Linked

edit

Unlinked

edit
  • the 2005 movie The Hitchhiker's Guide to the Galaxy

{{H2G2|game|1|link=yes}} to {{H2G2|game|2|link=no}}

edit

Linked

edit

Unlinked

edit
  • the computer game The Hitchhiker's Guide to the Galaxy
  • the computer game Starship Titanic

{{H2G2|phase|1|link=yes}} to {{H2G2|phase|5|link=no}}

edit

Linked

edit

Unlinked

edit
  • the radio series The Primary Phase
  • the radio series The Secondary Phase
  • the radio series The Tertiary Phase
  • the radio series The Quandary Phase
  • the radio series The Quintessential Phase

Testing main template

edit

Blank parameters (should do nothing)

edit

Ten error conditions

edit
  1. Error in template H2G2: First parameter can not be blank
  2. Error in template H2G2: First parameter not recognised
  3. the novel Error in template H2G2,book: Second parameter not recognised
  4. Error in template H2G2: Link parameter not recognised
  5. the novel Error in template H2G2,book: Second parameter not recognised
  6. Error in template H2G2,radio: Second parameter not recognised of the radio series
  7. episode Error in template H2G2,tv: Second parameter not recognised
  8. the 2005 movie Error in template H2G2,movie: Second parameter not recognised
  9. the video game Error in template H2G2,game: Second parameter not recognised
  10. the radio series Error in template H2G2,phase: Second parameter not recognised

Default linking (both should not link)

edit
  • the computer game The Hitchhiker's Guide to the Galaxy
  • the computer game Starship Titanic

{{H2G2|book|1|link=yes}} to {{H2G2|book|6|link=no}}

edit

Linked

edit

Unlinked

edit
  • the novel The Hitchhiker's Guide to the Galaxy
  • the novel The Restaurant at the End of the Universe
  • the novel Life, the Universe and Everything
  • the novel So Long, and Thanks for All the Fish
  • the novel Mostly Harmless
  • the novel And Another Thing...

{{H2G2|radio|1|link=yes}} to {{H2G2|radio|26|link=no}}

edit

Linked

edit

Unlinked

edit
  • Fit the First of the radio series
  • Fit the Second of the radio series
  • Fit the Third of the radio series
  • Fit the Fourth of the radio series
  • Fit the Fifth of the radio series
  • Fit the Sixth of the radio series
  • Fit the Seventh of the radio series
  • Fit the Eighth of the radio series
  • Fit the Ninth of the radio series
  • Fit the Tenth of the radio series
  • Fit the Eleventh of the radio series
  • Fit the Twelfth of the radio series
  • Fit the Thirteenth of the radio series
  • Fit the Fourteenth of the radio series
  • Fit the Fifteenth of the radio series
  • Fit the Sixteenth of the radio series
  • Fit the Seventeenth of the radio series
  • Fit the Eighteenth of the radio series
  • Fit the Nineteenth of the radio series
  • Fit the Twentieth of the radio series
  • Fit the Twenty-First of the radio series
  • Fit the Twenty-Second of the radio series
  • Fit the Twenty-Third of the radio series
  • Fit the Twenty-Fourth of the radio series
  • Fit the Twenty-Fifth of the radio series
  • Fit the Twenty-Sixth of the radio series

{{H2G2|tv|1|link=yes}} to {{H2G2|tv|6|link=no}}

edit

Linked

edit

Unlinked

edit
  • episode 1 of the TV series
  • episode 2 of the TV series
  • episode 3 of the TV series
  • episode 4 of the TV series
  • episode 5 of the TV series
  • episode 6 of the TV series

{{H2G2|movie|1|link=yes/no}}

edit

Linked

edit

Unlinked

edit
  • the 2005 movie The Hitchhiker's Guide to the Galaxy

{{H2G2|game|1|link=yes}} to {{H2G2|game|2|link=no}}

edit

Linked

edit

Unlinked

edit
  • the computer game The Hitchhiker's Guide to the Galaxy
  • the computer game Starship Titanic

{{H2G2|phase|1|link=yes}} to {{H2G2|phase|5|link=no}}

edit

Linked

edit

Unlinked

edit
  • the radio series The Primary Phase
  • the radio series The Secondary Phase
  • the radio series The Tertiary Phase
  • the radio series The Quandary Phase
  • the radio series The Quintessential Phase