Template:YouTube/testcases
This is the template test cases page for the sandbox of Template:YouTube. 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: |
Video[edit]
Examples of bad syntax[edit]
{{YouTube |id= |title=Trololo}}
{{YouTube}}
Error:No page id specified on YouTube
{{YouTube/sandbox}}
{{YouTube |title=Trololo |v=sTSA_sWGM44}}
{{YouTube}}
Error:No page id specified on YouTube
{{YouTube/sandbox}}
{{YouTube |@=MJL_ |title=MJL}}
{{YouTube}}
Error:No page id specified on YouTube
{{YouTube/sandbox}}
{{YouTube |3=MJL |link=no}}
{{YouTube}}
Error:No page id specified on YouTube
{{YouTube/sandbox}}
Error:No page id specified on YouTube
Wikilink in title[edit]
{{YouTube|Man singing [[Trololo]] |id=sTSA_sWGM44}}
{{YouTube}}
Man singing Trololo on YouTube
{{YouTube/sandbox}}
{{YouTube |id=sTSA_sWGM44 |title=Man singing [[Trololo]]}}
{{YouTube}}
Man singing Trololo on YouTube
{{YouTube/sandbox}}
{{YouTube|sTSA_sWGM44|Man singing [[Trololo]]}}
{{YouTube}}
Man singing Trololo on YouTube
{{YouTube/sandbox}}
{{YouTube|sTSA_sWGM44 |title=Man singing [[Trololo]]}}
{{YouTube}}
Man singing Trololo on YouTube
{{YouTube/sandbox}}
brackets in title[edit]
{{YouTube|Man singing [Trololo] |id=sTSA_sWGM44}}
{{YouTube}}
Man singing [Trololo] on YouTube
{{YouTube/sandbox}}
{{YouTube |id=sTSA_sWGM44 |title=Man singing [Trololo]}}
{{YouTube}}
Man singing [Trololo] on YouTube
{{YouTube/sandbox}}
{{YouTube|sTSA_sWGM44|Man singing [Trololo]}}
{{YouTube}}
Man singing [Trololo] on YouTube
{{YouTube/sandbox}}
{{YouTube|sTSA_sWGM44 |title=Man singing [Trololo]}}
{{YouTube}}
Man singing [Trololo] on YouTube
{{YouTube/sandbox}}
Show[edit]
{{YouTube |s=SCWdVLvom3QaFGxEKNASntaA}}
{{YouTube}}
YouTube/testcases show on YouTube
{{YouTube/sandbox}}
YouTube/testcases show on YouTube
{{YouTube |show=SCWdVLvom3QaFGxEKNASntaA}}
{{YouTube}}
YouTube/testcases show on YouTube
{{YouTube/sandbox}}
YouTube/testcases show on YouTube
{{YouTube|''Star Trek: The Original Series'' |show=SCWdVLvom3QaFGxEKNASntaA}}
{{YouTube}}
Star Trek: The Original Series show on YouTube
{{YouTube/sandbox}}
{{YouTube |show=SCWdVLvom3QaFGxEKNASntaA |title=''Star Trek: The Original Series''}}
{{YouTube}}
Star Trek: The Original Series show on YouTube
{{YouTube/sandbox}}
Wikilink in show name[edit]
{{YouTube |s=SCWdVLvom3QaFGxEKNASntaA}}
{{YouTube}}
YouTube/testcases show on YouTube
{{YouTube/sandbox}}
YouTube/testcases show on YouTube
{{YouTube|A show called [[Star Trek]] |s=SCWdVLvom3QaFGxEKNASntaA}}
{{YouTube}}
A show called Star Trek show on YouTube
{{YouTube/sandbox}}
A show called Star Trek show on YouTube
{{YouTube |s=SCWdVLvom3QaFGxEKNASntaA |title=A show called [[Star Trek]]}}
{{YouTube}}
A show called Star Trek show on YouTube
{{YouTube/sandbox}}
A show called Star Trek show on YouTube
Playlist[edit]
{{YouTube |p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
{{YouTube}}
YouTube/testcases playlist on YouTube
{{YouTube/sandbox}}
YouTube/testcases playlist on YouTube
{{YouTube|Learn Something New |p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
{{YouTube}}
Learn Something New playlist on YouTube
{{YouTube/sandbox}}
Learn Something New playlist on YouTube
{{YouTube |p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE |title=Learn Something New}}
{{YouTube}}
Learn Something New playlist on YouTube
{{YouTube/sandbox}}
Learn Something New playlist on YouTube
{{YouTube |playlist=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
{{YouTube}}
YouTube/testcases playlist on YouTube
{{YouTube/sandbox}}
YouTube/testcases playlist on YouTube
{{YouTube|#SomethingNew |playlist=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
{{YouTube}}
#SomethingNew playlist on YouTube
{{YouTube/sandbox}}
#SomethingNew playlist on YouTube
{{YouTube |playlist=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE |title=#SomethingNew}}
{{YouTube}}
#SomethingNew playlist on YouTube
{{YouTube/sandbox}}
#SomethingNew playlist on YouTube
Wikilink in playlist name[edit]
{{YouTube |p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
{{YouTube}}
YouTube/testcases playlist on YouTube
{{YouTube/sandbox}}
YouTube/testcases playlist on YouTube
{{YouTube|Link to the [[Learn Something New]] |p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
{{YouTube}}
Link to the Learn Something New playlist on YouTube
{{YouTube/sandbox}}
Link to the Learn Something New playlist on YouTube
{{YouTube |p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE |title=Link to the [[Learn Something New]]}}
{{YouTube}}
Link to the Learn Something New playlist on YouTube
{{YouTube/sandbox}}
Link to the Learn Something New playlist on YouTube
Channel[edit]
With channel ID[edit]
{{YouTube |c=UCdVXk-iDlcz0E3fNRjfivWw}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|SmoshCourtney |c=UCdVXk-iDlcz0E3fNRjfivWw}}
{{YouTube}}
SmoshCourtney's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |c=UCdVXk-iDlcz0E3fNRjfivWw |title=SmoshCourtney}}
{{YouTube}}
SmoshCourtney's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |channel=UCdVXk-iDlcz0E3fNRjfivWw}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|SmoshCourtney |channel=UCdVXk-iDlcz0E3fNRjfivWw}}
{{YouTube}}
SmoshCourtney's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |channel=UCdVXk-iDlcz0E3fNRjfivWw |title=SmoshCourtney}}
{{YouTube}}
SmoshCourtney's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |channel=UCcTM-81GrvGh0BimJn5bS_w |suffix=}}
{{YouTube}}
YouTube/testcases channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Viral Productions |channel=UCcTM-81GrvGh0BimJn5bS_w |suffix=}}
{{YouTube}}
Viral Productions channel on YouTube
{{YouTube/sandbox}}
{{YouTube |channel=UCcTM-81GrvGh0BimJn5bS_w |suffix= |title=Viral Productions}}
{{YouTube}}
Viral Productions channel on YouTube
{{YouTube/sandbox}}
{{YouTube |channel=UCcTM-81GrvGh0BimJn5bS_w |suffix='}}
{{YouTube}}
YouTube/testcases' channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Viral Productions |channel=UCcTM-81GrvGh0BimJn5bS_w |suffix='}}
{{YouTube}}
Viral Productions' channel on YouTube
{{YouTube/sandbox}}
{{YouTube |channel=UCcTM-81GrvGh0BimJn5bS_w |suffix=' |title=Viral Productions}}
{{YouTube}}
Viral Productions' channel on YouTube
{{YouTube/sandbox}}
Wikilink in channel title[edit]
{{YouTube |c=UCdVXk-iDlcz0E3fNRjfivWw}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|[[SmoshCourtney]] |c=UCdVXk-iDlcz0E3fNRjfivWw}}
{{YouTube}}
SmoshCourtney's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |c=UCdVXk-iDlcz0E3fNRjfivWw |title=[[SmoshCourtney]]}}
{{YouTube}}
SmoshCourtney's channel on YouTube
{{YouTube/sandbox}}
With handle[edit]
{{YouTube|Felix Kjellberg |h=PewDiePie}}
{{YouTube}}
Felix Kjellberg's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |h=PewDiePie |title=Felix Kjellberg}}
{{YouTube}}
Felix Kjellberg's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=PewDiePie}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|PewDiePie |handle=PewDiePie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=PewDiePie |title=PewDiePie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=officialBEG |suffix=}}
{{YouTube}}
YouTube/testcases channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Brown Eyed Girls |handle=officialBEG |suffix=}}
{{YouTube}}
Brown Eyed Girls channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=officialBEG |suffix= |title=Brown Eyed Girls}}
{{YouTube}}
Brown Eyed Girls channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=officialBEG |suffix='}}
{{YouTube}}
YouTube/testcases' channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Brown Eyed Girls |handle=officialBEG |suffix='}}
{{YouTube}}
Brown Eyed Girls' channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=officialBEG |suffix=' |title=Brown Eyed Girls}}
{{YouTube}}
Brown Eyed Girls' channel on YouTube
{{YouTube/sandbox}}
Wikilink in handle title[edit]
{{YouTube |handle=PewDiePie}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|[[PewDiePie]] |handle=PewDiePie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |handle=PewDiePie |title=[[PewDiePie]]}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
With username[edit]
{{YouTube|Felix Kjellberg |u=pewdiepie}}
{{YouTube}}
Felix Kjellberg's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |title=Felix Kjellberg |u=pewdiepie}}
{{YouTube}}
Felix Kjellberg's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|PewDiePie |user=pewdiepie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |title=PewDiePie |user=pewdiepie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |suffix= |user=officialBEG}}
{{YouTube}}
YouTube/testcases channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Brown Eyed Girls |suffix= |user=officialBEG}}
{{YouTube}}
Brown Eyed Girls channel on YouTube
{{YouTube/sandbox}}
{{YouTube |suffix= |title=Brown Eyed Girls |user=officialBEG}}
{{YouTube}}
Brown Eyed Girls channel on YouTube
{{YouTube/sandbox}}
{{YouTube |suffix=' |user=officialBEG}}
{{YouTube}}
YouTube/testcases' channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Brown Eyed Girls |suffix=' |user=officialBEG}}
{{YouTube}}
Brown Eyed Girls' channel on YouTube
{{YouTube/sandbox}}
{{YouTube |suffix=' |title=Brown Eyed Girls |user=officialBEG}}
{{YouTube}}
Brown Eyed Girls' channel on YouTube
{{YouTube/sandbox}}
Wikilink in user title[edit]
{{YouTube|[[PewDiePie]] |user=pewdiepie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |title=[[PewDiePie]] |user=pewdiepie}}
{{YouTube}}
PewDiePie's channel on YouTube
{{YouTube/sandbox}}
With custom URL[edit]
{{YouTube |custom=Technoblade}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |custom=Technoblade |suffix= |title=Technoblade}}
{{YouTube}}
Technoblade channel on YouTube
{{YouTube/sandbox}}
{{YouTube|Mohit Bahl |custom=mohitbahl}}
{{YouTube}}
Mohit Bahl's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |custom=mohitbahl |title=Mohit Bahl}}
{{YouTube}}
Mohit Bahl's channel on YouTube
{{YouTube/sandbox}}
Wikilink in custom URL title[edit]
{{YouTube |custom=Technoblade}}
{{YouTube}}
YouTube/testcases's channel on YouTube
{{YouTube/sandbox}}
{{YouTube|[[Technoblade]] |custom=Technoblade}}
{{YouTube}}
Technoblade's channel on YouTube
{{YouTube/sandbox}}
{{YouTube |custom=Technoblade |title=[[Technoblade]]}}
{{YouTube}}
Technoblade's channel on YouTube
{{YouTube/sandbox}}