Template:Youtube: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
No edit summary
mNo edit summary
Line 11: Line 11:
==Usage==
==Usage==
To use this template type:<br>
To use this template type:<br>
{{Desc|Normal|Video Code|Video Size|Location|Caption}}
{{Desc|Normal|Video Code|Video Size|Location|Caption|at{{=}}}}


Where:
Where:
Line 18: Line 18:
*'''''Location''''' is where to have the video. (i.e. right, left, or center.) Defaults to left if blank.
*'''''Location''''' is where to have the video. (i.e. right, left, or center.) Defaults to left if blank.
*'''''Caption''''' is an optional caption to describe the video.
*'''''Caption''''' is an optional caption to describe the video.
*'''''at''''' is an optional named parameter for the start time, in seconds (or in the form ##m##s).
**If ''location'' is neither '''left''', '''right''', nor '''center''', then the it is assumed to be a caption and the video's location is set to "left".
**If ''location'' is neither '''left''', '''right''', nor '''center''', then the it is assumed to be a caption and the video's location is set to "left".


{{Cat|Formatting Templates}}
{{Cat|Formatting Templates}}
</noinclude>
</noinclude>

Revision as of 23:37, August 3, 2012

Purpose

This template is for conveniently displaying Youtube videos on an article.

Usage

To use this template type:
    {{Youtube| Video Code | Video Size | Location | Caption | at= }}

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 420 pixels.
  • Location is where to have the video. (i.e. right, left, or center.) Defaults to left if blank.
  • Caption is an optional caption to describe the video.
  • at is an optional named parameter for the start time, in seconds (or in the form ##m##s).
    • If location is neither left, right, nor center, then the it is assumed to be a caption and the video's location is set to "left".