Template:Youtube/doc: Difference between revisions
From MiiWiki
Jump to navigationJump to search
(Created page with "==Purpose== This template is for conveniently displaying Youtube videos on an article. ==Usage== To use this template type:<br/> <nowiki>{{Youtube|Video Code|Video Size|Alignment|Caption}}</nowiki> Where: *'''''Video Code''''' is the unique sequence of letters, numbers, and characters that point to the video. *'''''Video Size''''' is the desired size of the video. Defaults to 300 pixels. *'''''Alignment''''' is where to have the video floating (i.e. right, left or none...") |
m (Credit, size.) |
||
Line 1: | Line 1: | ||
The original template is from [[wikirby:Template:Youtube|WiKirby]]. | |||
==Purpose== | ==Purpose== | ||
This template is for conveniently displaying Youtube videos on an article. | This template is for conveniently displaying Youtube videos on an article. | ||
Line 8: | Line 10: | ||
Where: | Where: | ||
*'''''Video Code''''' is the unique sequence of letters, numbers, and characters that point to the video. | *'''''Video Code''''' is the unique sequence of letters, numbers, and characters that point to the video. | ||
*'''''Video Size''''' is the desired size of the video. Defaults to | *'''''Video Size''''' is the desired size of the video. Defaults to 250 pixels. | ||
*'''''Alignment''''' is where to have the video floating (i.e. right, left or none). Defaults to left if blank. | *'''''Alignment''''' is where to have the video floating (i.e. right, left or none). Defaults to left if blank. | ||
*'''''Caption''''' is an optional caption to describe the video. | *'''''Caption''''' is an optional caption to describe the video. |
Latest revision as of 11:28, 24 March 2022
The original template is from WiKirby.
Purpose
This template is for conveniently displaying Youtube videos on an article.
Usage
To use this template type:
{{Youtube|Video Code|Video Size|Alignment|Caption}}
Where:
- Video Code is the unique sequence of letters, numbers, and characters that point to the video.
- Video Size is the desired size of the video. Defaults to 250 pixels.
- Alignment is where to have the video floating (i.e. right, left or none). Defaults to left if blank.
- Caption is an optional caption to describe the video.
- If location is neither left, right, nor none, then the it is assumed to be a caption and the video's location is set to "left".