Difference between revisions of "Template:YouTube table"

From BroaDWcast
Jump to navigationJump to search
Line 4: Line 4:
 
   <td>{{YouTube|id={{{1}}}}}<br />{{{2|}}}</td>
 
   <td>{{YouTube|id={{{1}}}}}<br />{{{2|}}}</td>
 
   {{#if: {{{3|}}} | <td>{{YouTube|id={{{3}}}}}<br />{{{4|}}}</td> | }}
 
   {{#if: {{{3|}}} | <td>{{YouTube|id={{{3}}}}}<br />{{{4|}}}</td> | }}
   {{#if: {{{5|}}} | <td>{{YouTube|id={{{3}}}}}<br />{{{6|}}}</td> | }}
+
   {{#if: {{{5|}}} | <td>{{YouTube|id={{{5}}}}}<br />{{{6|}}}</td> | }}
   {{#if: {{{7|}}} | <td>{{YouTube|id={{{3}}}}}<br />{{{8|}}}</td> | }}
+
   {{#if: {{{7|}}} | <td>{{YouTube|id={{{7}}}}}<br />{{{8|}}}</td> | }}
 
  </tr>
 
  </tr>
 
</table>
 
</table>

Revision as of 15:45, 25 August 2012

Display upto 4 youtube embeds

{{YouTube table 
|{{youtube ID}} | {{caption}}
|{{youtube ID}} | {{caption}}
|{{youtube ID}} | {{caption}}
|{{youtube ID}} | {{caption}}
}}