Template:Youtube: Difference between revisions
(Updating with #ev (embed video)) |
No edit summary |
||
Line 3: | Line 3: | ||
{{#if:{{{title1|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video1}}} {{{title1}}}] </th>}} | {{#if:{{{title1|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video1}}} {{{title1}}}] </th>}} | ||
{{#if:{{{title2|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video2}}} {{{title2}}}] </th>}} | {{#if:{{{title2|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video2}}} {{{title2}}}] </th>}} | ||
{{#if:{{{title2|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video3}}} {{{title3}}}] </th>}} | |||
{{#if:{{{title2|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video4}}} {{{title4}}}] </th>}} | |||
{{#if:{{{title2|}}}|<th style="text-align:center"> [http://www.youtube.com/watch?v={{{video5}}} {{{title5}}}] </th>}} | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
{{#if:{{{video1|}}}|<td>{{#ev:youtube|{{{video1}}}|{{#if:{{{width1|}}}|{{{width1}}}|500}}}}</td>}} | {{#if:{{{video1|}}}|<td>{{#ev:youtube|{{{video1}}}|{{#if:{{{width1|}}}|{{{width1}}}|500}}}}</td>}} | ||
{{#if:{{{video2|}}}|<td>{{#ev:youtube|{{{video2}}}|{{#if:{{{width2|}}}|{{{width2}}}|500}}}}</td>}} | {{#if:{{{video2|}}}|<td>{{#ev:youtube|{{{video2}}}|{{#if:{{{width2|}}}|{{{width2}}}|500}}}}</td>}} | ||
{{#if:{{{video2|}}}|<td>{{#ev:youtube|{{{video2}}}|{{#if:{{{width3|}}}|{{{width3}}}|500}}}}</td>}} | |||
{{#if:{{{video2|}}}|<td>{{#ev:youtube|{{{video2}}}|{{#if:{{{width4|}}}|{{{width4}}}|500}}}}</td>}} | |||
{{#if:{{{video2|}}}|<td>{{#ev:youtube|{{{video2}}}|{{#if:{{{width5|}}}|{{{width5}}}|500}}}}</td>}} | |||
</tr> | </tr> | ||
</table></includeonly><noinclude>{{doc}}</noinclude> | </table></includeonly><noinclude>{{doc}}</noinclude> |