Template:Youtube-gallery

From War Thunder Wiki
Revision as of 09:25, 28 August 2018 by VolgaIgor (talk | contribs) (Created page with "<includeonly>{{#vardefine: i | 1 }}{{#while: |{{#if:{{{{{#var: i }}|}}}|true}} |<div class="tleft" style="clear:none"><div class="thumbinner" style="width:252px;">{{#ev:youtub...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template can be used to add a left-aligned YouTube video to an article. Word wrap is unavailable (the layout is basically a video gallery).

How to use:

{{Youtube-gallery|<id1>|<signature1>|<id2>|<signature2>|<id3>|<signature3>|...}}

  • ID is the code used after "v=" in the link address (for example, http://www.youtube.com/watch?v=0-J5Vg0SxLc).

There is no restriction on the number of videos that can be used in a gallery.

The caption can be empty. For example:

{{Youtube-gallery|<id1>|<signature1>|<id2>||<id3>|}}

Please note that you should not delete the corresponding vertical slash if leaving the caption blank.

Example of use:

{{Youtube-gallery|neFsLnNSatw|Z 20 Karl Galster}}
{{Youtube-gallery|neFsLnNSatw|Z 20 Karl Galster|a8_8L-F44ts|Magach 3|6vPOqfNbv3A|Martin-Baker M.B.5}}
{{Youtube-gallery|neFsLnNSatw||a8_8L-F44ts|}}

See also

This template can be used to add a left-aligned YouTube video to an article. Word wrap is unavailable (the layout is basically a video gallery).

Template parameters

ParameterDescriptionTypeStatus
No parameters specified