Template:Youtube: Difference between revisions

Jump to navigation Jump to search
m
+audio
m (Created page with "<div class="youtubebox ratio-{{{ratio|16x9}}} hd-{{#if:{{{hd|}}}|on|off}} widths-{{{widths|{{{width|512}}}}}}" style="margin:0.75em 0em;"> {{#if: {{{align|}}}|{{#ev:youtube|{{{1|...")
 
m (+audio)
Line 1: Line 1:
<div class="youtubebox ratio-{{{ratio|16x9}}} hd-{{#if:{{{hd|}}}|on|off}} widths-{{{widths|{{{width|512}}}}}}" style="margin:0.75em 0em;">
<div class="youtubebox ratio-{{{ratio|16x9}}} hd-{{#if:{{{hd|}}}|on|off}} widths-{{{widths|{{{width|512}}}}}} {{#if:{{{audio|}}}|youtube-audio|}}" style="margin:0.75em 0em;">
{{#if: {{{align|}}}|{{#ev:youtube|{{{1|tax4e4hBBZc}}}|{{{width|512}}}|{{{align}}}}}|{{#ev:youtube|{{{1|tax4e4hBBZc}}}|{{{width|512}}}}}}}{{#if:{{{2|<noinclude>yes</noinclude>}}}
{{#if: {{{align|}}}|{{#ev:youtube|{{{1|tax4e4hBBZc}}}|{{{width|512}}}|{{{align}}}}}|{{#ev:youtube|{{{1|tax4e4hBBZc}}}|{{{width|512}}}}}}}{{#if:{{{2|<noinclude>yes</noinclude>}}}
| <br /><div style="margin-top:0.75em;">{{hatnote|1={{{2|Caption here.}}}}}</div>
| <br /><div style="margin-top:0.75em;">{{hatnote|1={{{2|Caption here.}}}}}</div>
Line 22: Line 22:
;Ratio: Ratio of embedded video, with <code>x</code> as separator (Example: <code>4x3</code>). Default is <code>16x9</code>.
;Ratio: Ratio of embedded video, with <code>x</code> as separator (Example: <code>4x3</code>). Default is <code>16x9</code>.
;HD: Whether HD should be turned on or off by default. Default is to let YouTube decide. YouTube users may override this value in their YouTube preferences.
;HD: Whether HD should be turned on or off by default. Default is to let YouTube decide. YouTube users may override this value in their YouTube preferences.
;Audio: Whether this video should be presented as an audio file (display only the seek bar, no video).


=== See also ===
=== See also ===

Navigation menu