Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.
Template:Youtube: Difference between revisions
From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
m (<br/> appears only if the caption is present.) |
mNo edit summary Tag: Undo |
||
Line 5: | Line 5: | ||
|{{{2|300}}} | |{{{2|300}}} | ||
}}{{#switch:{{{3|}}} | }}{{#switch:{{{3|}}} | ||
|left|right|center={{{4 | |left|right|center=<br/>{{{4|}}} | ||
|#default={{{3 | |#default=<br/>{{{3|}}} | ||
}} | }} | ||
|</div> | |</div> |
Revision as of 08:00, 19 April 2021
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".