Template:YouTubeEmbed: Difference between revisions
(add top/bottom margin + caption parameter + option for video start time + templatedata) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude><big>This template requires staff approval for use in the mainspace, due to loading issues which embedded videos can cause. A list of mainspace pages (or groups of pages) which may have embedded video is located on the [[Template talk:YouTubeEmbed|talk page]] of this template. Additions to the list require approval of two staff members ranked | <noinclude><big>This template requires staff approval for use in the mainspace, due to loading issues which embedded videos can cause. A list of mainspace pages (or groups of pages) which may have embedded video is located on the [[Template talk:YouTubeEmbed|talk page]] of this template. Additions to the list require approval of two staff members ranked {{bp|Administrator}} or higher.</big></noinclude> | ||
{| class="roundy" style="margin:10px auto; border: 2px solid #{{{colordark|{{{{{3|bulba}}} color dark}}}}}; background: #{{{color|{{{{{3|bulba}}} color}}}}};" | {| class="roundy" style="margin:10px auto; border: 2px solid #{{{colordark|{{{{{3|bulba}}} color dark}}}}}; background: #{{{color|{{{{{3|bulba}}} color}}}}};" | ||
|+ {{{caption|}}} | |+ {{{caption|}}} |
Latest revision as of 01:21, 16 August 2024
This template requires staff approval for use in the mainspace, due to loading issues which embedded videos can cause. A list of mainspace pages (or groups of pages) which may have embedded video is located on the talk page of this template. Additions to the list require approval of two staff members ranked Administrator or higher.
| |
This template is used to embed a YouTube video. Should only be used on approved pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video ID | 1 | Video ID from the YouTube url | Line | required |
Channel | 2 | Channel Link from the URL | Line | required |
Channel Name | name | Override for the Channel link display text | Line | suggested |
Color scheme | 3 | Color template name for entire color scheme | Line | required |
Second Color scheme | 4 | Optional: Secondary color for channel background
| Line | optional |
Start Time | start | Start time for the video | Line | optional |
Caption | caption | Caption that will be shown above the table | String | optional |
Color Light | colorlight | Override for the Light color in the Colorscheme
| Line | optional |
Color Med | color | Override for the medium color in the color scheme
| Line | optional |
Color Dark | colordark | Override for the dark color in the color scheme
| Line | optional |