Difference between revisions of "Template:Youtube"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "<includeonly>{| {{#if:{{{align|}}}|align="{{{align|}}}"}} | style="border:1px solid #ccc;; background:#f9f9f9; padding: 5px; padding-bottom: 0px;" | {{#ev:youtube|{{{url}}}|{{...")
 
(No difference)

Latest revision as of 09:20, 28 August 2018

This template can be used to add a YouTube video.

Parameters:

  • align – center-align, left-align, or right-align the video (left-align is set as default)
  • size – change video size (300 is set as default)
  • url – add a link or video id
  • caption – insert a caption

Examples

{{Youtube|url = a8_8L-F44ts}}
{{Youtube
 |align = center
 |size = 300
 |url = http://www.youtube.com/watch?v=a8_8L-F44ts
 |caption = Magach 3
}}
Magach 3


See also

This template allows you to embed the video in a frame with Youtube.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Alignalign

Align

Default
left
Example
empty
Auto value
empty
Lineoptional
Urlurl

Link or id

Default
empty
Example
zhslBFxk4Hg
Auto value
empty
Linerequired
Sizesize

Size

Default
300
Example
300
Auto value
empty
Numberoptional
Captioncaption

Caption

Default
empty
Example
empty
Auto value
empty
Lineoptional