Template:YouTubeVid
| |
| This video is not available on Bulbapedia; instead, you can watch the video on YouTube here. | |
Puts a link to a YouTube video in an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Video ID | 1 | ID of the YouTube video ("XYZ" in: https://www.youtube.com/watch?v=XYZ; https://youtu.be/XYZ)
| Line | required |
| Channel link | 2 | Last part of the YouTube channel's link. It can be a handle prefixed with "@", or a randomized channel ID prefixed with "channel/".
| Line | required |
| Channel name | name | The channel name.
| Line | suggested |
| Primary color name | 3 | The name of the primary color that is used in the template.
| Line | suggested |
| Secondary color name | 4 | The name of the secondary color that is used in the template.
| Line | optional |
| Background color | color | The background color. Overrides the `primary color` parameter.
| Line | optional |
| Channel name label color | colorlight | The channel name label color. Overrides the "secondary color" parameter.
| Line | optional |
| Border color | colordark | The border color. Overrides the `primary color` parameter.
| Line | optional |
| Caption | caption | Caption for the template
| Line | suggested |
| Caption CSS styles | caption-style | CSS styles for the caption
| Line | optional |
| Extra CSS styles | extra-styles extra-style | Extra CSS styles for the entire template
| Line | optional |