On Friday, April 19, 2024 at 10:00 PM New York time, all OpenWiki Project sites will be undergoing scheduled maintenance for about 2 hours. Expect read-only access and brief periods of downtime.

Template:Youtube

From MiiWiki
Revision as of 17:25, 26 March 2023 by Vipz (talk | contribs) (updates from wikirby)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


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".