Template:MC/Videos
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template:Documentation header Template:Lua This template is used for adding YouTube videos on articles. For slicedlime's videos, use Template:Slicedlime instead.
Usage
|1=is the required first video.|2=,|3=,|4=, etc. are the optional extra videos. Unlimited arguments are accepted.|provider=is the video service provider, default to "youtube". All EmbedVideo (fork) Extension supported service providers are accepted, but currently only YouTube and Vimeo are tested.|h=is for generating a section header automatically. Only values from1to6are allowed.|author=are the optional author(s) that made the video(s).|note=is an optional note that appears above the video(s).|align=can beleft,center, orright.|caption=is an optional caption that applies to all videos.|captionN=is used to add a caption to the corresponding video.
Examples
{{Videos|f6o1Bz0cwdI|9LEWiqC17UQ|author=[[slicedlime]]|caption1=[[21w08a]]|caption2=[[21w08a]] (Technical)}} produces: Template:Videos
{{Videos|0IqtCPmAOU4|note={{video note|This is a work in progress video, part of the [[MCW:Projects/Wiki videos revisited|Wiki videos revisited]] project.}}|align=center}} produces: Template:Videos
See also
- {{slicedlime}}
- {{YouTube}}
The above text is transcluded from Template:MC/Videos/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Videos/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Videos/doc. (View all subpages of this page.)