Youtube – Template

From Bohemia Interactive Community
Revision as of 11:50, 16 November 2020 by R3vo (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Shows a YouTube video.

Usage

{{Youtube|videoID|caption|position|size}}

  • videoID: the ID part of the URL. e.g a75eG8HG5Fk
  • caption: (optional) caption below the video
  • position: (optional, default left) "left" or "right"
  • size: (optional, default 300) width in pixels
Examples
Code Result
{{Youtube}} -Youtube ID not defined-
{{Youtube|a75eG8HG5Fk}} a75eG8HG5Fk|300}}
{{Youtube|UgXq6z6-644|{{arma2}} trailer}} UgXq6z6-644|300}}
Arma 2 trailer
{{Youtube|M1YBZUxMX8g|{{arma3}} trailer|right}} M1YBZUxMX8g|300}}
Arma 3 trailer
{{Youtube|EwAxJC9AR_A|{{Name|arma3apex}} trailer|right|400}} EwAxJC9AR_A|400}}
Arma 3 Apex trailer