Template:Television episode short description/testcases
Appearance
This is the template test cases page for the sandbox of Template:Television episode short description. 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: |
Test cases
[edit]No input
{{Television episode short description}}
Only the TV series name - unlinked article
{{Television episode short description|series_name=Lost}}
Only the TV series name - linked article
{{Television episode short description|series_name=[[Lost]]}}
TV series name and season number
{{Television episode short description|season_num=1 |series_name=Lost}}
TV series name, episode and season number
{{Television episode short description|episode_num=4 |season_num=5 |series_name=Lost}}
TV series name with disambiguation, episode and season number - linked pipped article
{{Television episode short description|episode_num=1 |season_num=1 |series_name=[[Firefly (TV series)|Firefly]]}}
Using both season_num and season_num_uk
{{Television episode short description|episode_num=1 |season_num=1 |season_num_uk=2 |series_name=[[Firefly (TV series)|Firefly]]}}
TV series name that has parentheses as part of its name - unlinked article
{{Television episode short description|episode_num=1 |not_dab=yes |season_num=1 |series_name=Randall and Hopkirk (Deceased)}}
TV series name that has parentheses as part of its name - linked article
{{Television episode short description|episode_num=1 |not_dab=yes |season_num=1 |series_name=[[Randall and Hopkirk (Deceased)]]}}
Multi-episode using "and"
{{Television episode short description|episode_num=22 and 23 |multi_episodes=yes |season_num=3 |series_name=Lost}}
Multi-episode using "/"
{{Television episode short description|episode_num=22 / 23 |multi_episodes=yes |season_num=3 |series_name=Lost}}
Multi-episode using ","
{{Television episode short description|episode_num=22 , 23 |multi_episodes=yes |season_num=3 |series_name=Lost}}
Multi-episode using "&"
{{Television episode short description|episode_num=22 & 23 |multi_episodes=yes |season_num=3 |series_name=Lost}}
Malformed value: Multi-episode using "-"
{{Television episode short description|episode_num=22 - 23 |multi_episodes=yes |season_num=3 |series_name=Lost}}
Malformed value: episode number in the style of "1.2". Test: "1.2"
{{Television episode short description|episode_num=1.2 |season_num=3 |series_name=Lost}}
Malformed value: episode number in the style of "1.2". Test: "113.22"
{{Television episode short description|episode_num=113.22 |season_num=3 |series_name=Lost}}
Malformed value: season number in the style of "1.2". Test: "1.2"
{{Television episode short description|episode_num=1.2 |season_num=1.2 |series_name=Lost}}
Malformed value: season_num_uk number in the style of "1.2". Test: "1.2"
{{Television episode short description|episode_num=1.2 |season_num_uk=1.2 |series_name=Lost}}
Malformed value: Multi-episode episode number in the style of "1.2". Test: "22.1, 22.2"
{{Television episode short description|episode_num=22.1, 22.2 |multi_episodes=yes |season_num=3 |series_name=Lost}}
Malformed value: Episode number with ref tag
{{Television episode short description|episode_num=14[1] |season_num=3 |series_name=Lost}}
Malformed value: Episode number linked
{{Television episode short description|episode_num=[[14]] |season_num=3 |series_name=Lost}}
Malformed value: Episode number with piped linked
{{Television episode short description|episode_num=[[test|14]] |season_num=3 |series_name=Lost}}
Malformed value: Episode without a number, but with ref with a url with numbers
{{Television episode short description|episode_num=[2] |season_num=3 |series_name=Lost}}
Malformed value: Episode without a number, but with a url with numbers
{{Television episode short description|episode_num=[http://www.bcdb.com/cartoon/11394-Tricks_And_Treats.html] |season_num=3 |series_name=Lost}}
Malformed value: Episode without a number, but with a ref template
{{Television episode short description|episode_num=<sup class="plainlinks nourlexpansion citation" id="ref_Five">[[#endnote_Five|5]]</sup> |season_num=3 |series_name=Lost}}
Malformed value: Season number linked
{{Television episode short description|episode_num=14 |season_num=[[3]] |series_name=Lost}}
Malformed value: Season number with piped linked
{{Television episode short description|episode_num=14 |season_num=[[test|3]] |series_name=Lost}}
Malformed value: Season without a number, but with ref with a url with numbers
{{Television episode short description|episode_num=14 |season_num=[3] |series_name=Lost}}
Malformed value: Season without a number, but with a url with numbers
{{Television episode short description|episode_num=14 |season_num=[http://www.bcdb.com/cartoon/11394-Tricks_And_Treats.html] |series_name=Lost}}
Malformed value: Season without a number, but with a ref template
{{Television episode short description|episode_num=4 |season_num=<sup class="plainlinks nourlexpansion citation" id="ref_Five">[[#endnote_Five|5]]</sup> |series_name=Lost}}
Malformed value: Series name with a ref template
{{Television episode short description|episode_num=14 |season_num=3 |series_name=Lost<sup class="plainlinks nourlexpansion citation" id="ref_Alpha">[[#endnote_Alpha|α]]</sup>}}
Malformed value: Series without a name, but with a ref template
{{Television episode short description|episode_num=14 |season_num=3 |series_name=<sup class="plainlinks nourlexpansion citation" id="ref_Alpha">[[#endnote_Alpha|α]]</sup>}}
Malformed value: Series name with a ref tag and cite template
{{Television episode short description|episode_num=14 |season_num=3 |series_name=Lost[4]}}
Malformed value: Series name without name, but with a ref tag and cite template
{{Television episode short description|episode_num=14 |season_num=3 |series_name=[4]}}
Malformed value: Series name with a url
{{Television episode short description|episode_num=14 |season_num=3 |series_name=Firefly[http://www.Wikipedia.org]}}
Malformed value: Series name without name, but with a url
{{Television episode short description|episode_num=14 |season_num=3 |series_name=[http://www.Wikipedia.org]}}
- ^ Episode test
- ^ "Test ref: season num". Episode Profile
- ^ "Test ref: season num". Episode Profile
- ^ a b "Wikipedia".