VideoTabs

VideoTabs is a template created by JustLeafy. It was solely created exclusively for the video pages on the Let Me Explain Studios Wiki.
== Code ==
{{#switch:{{{1|}}}
|article=
Article • [[{{PAGENAME}}/Transcript|Transcript]] • [[{{PAGENAME}}/Gallery|Gallery]]
|transcript=
[[{{{name}}}|Article]] • Transcript • [[{{{name}}}/Gallery|Gallery]]
|gallery=
[[{{{name}}}|Article]] • [[{{{name}}}/Transcript|Transcript]] • Gallery
|articlenotranscript=
Article • [[{{PAGENAME}}/Gallery|Gallery]]
|gallerynotranscript=
[[{{{name}}}|Article]] • Gallery
|articlenogallery=
Article • [[{{PAGENAME}}/Transcript|Transcript]]
|transcriptnogallery=
[[{{{name}}}|Article]] • Transcript
|#default=}}
<noinclude>[[Category:Templates]]</noinclude>
== Description ==
It is basically a container that contains modern-looking tabs for the video and its transcript, gallery or both, if it includes either or both. It doesn't appear (or is actually excluded) when a video is just audio of song lyrics with only a single visual frame.
=== Variations ===
There are 7 variations:
Name 	Tabs 	Active tab
article 	Article, transcript and gallery	Article
transcript 	Article, transcript and gallery	Transcript
gallery 	Article, transcript and gallery	Gallery
articlenotranscript	Article, gallery 	Article
gallerynotranscript	Article, gallery 	Gallery
articlenogallery 	Article, transcript 	Article
transcriptnogallery	Article, transcript 	Transcript
== Dependencies ==
== Syntax ==
If not on a subpage:
* {{VideoTabs|article}} or
* {{VideoTabs|articlenotranscript}} or
* {{VideoTabs|articlenogallery}}
If on a subpage:
* {{VideoTabs|transcript|name = <!-- parent article name -->}} or
* {{VideoTabs|gallery|name = <!-- parent article name -->}} or
* {{VideoTabs|transcriptnogallery|name = <!-- parent article name -->}} or
* {{VideoTabs|gallerynotranscript|name = <!-- parent article name -->}}
== Sample output ==
{{VideoTabs|article}}
gives