Template:H2G2/testcases
Appearance
This is the template test cases page for the sandbox of Template:H2G2. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
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]- Error in template H2G2: First parameter can not be blank
- Error in template H2G2: First parameter not recognised
- the novel Error in template H2G2,book: Second parameter not recognised
- Error in template H2G2: Link parameter not recognised
- the novel Error in template H2G2,book: Second parameter not recognised
- Error in template H2G2,radio: Second parameter not recognised of the radio series
- episode Error in template H2G2,tv: Second parameter not recognised
- the 2005 movie Error in template H2G2,movie: Second parameter not recognised
- the computer game Error in template H2G2,game: Second parameter not recognised
- 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]- 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...
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]- 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
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]- 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
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]- the 2005 movie The Hitchhiker's Guide to the Galaxy
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]- the computer game The Hitchhiker's Guide to the Galaxy
- the computer game Starship Titanic
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]- 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
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]- Error in template H2G2: First parameter can not be blank
- Error in template H2G2: First parameter not recognised
- the novel Error in template H2G2,book: Second parameter not recognised
- Error in template H2G2: Link parameter not recognised
- the novel Error in template H2G2,book: Second parameter not recognised
- Error in template H2G2,radio: Second parameter not recognised of the radio series
- episode Error in template H2G2,tv: Second parameter not recognised
- the 2005 movie Error in template H2G2,movie: Second parameter not recognised
- the video game Error in template H2G2,game: Second parameter not recognised
- 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]- 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...
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]- 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
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]- 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
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]- the 2005 movie The Hitchhiker's Guide to the Galaxy
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]- the video game The Hitchhiker's Guide to the Galaxy
- the video game Starship Titanic
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]- 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
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