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...") |
(No difference)
|
Revision as of 11:25, 24 March 2022
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 300 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".