Difference between revisions of "Template:YouTube table"

From BroaDWcast
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<table style="text-align:center;">
+
<table style="text-align:center" class="YouTubeTable">
 
  <tr>
 
  <tr>
 
   <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>
Line 12: Line 12:
  
 
{{YouTube table  
 
{{YouTube table  
|{{youtube ID}} | {{caption}}
+
|youtube ID | caption
|{{youtube ID}} | {{caption}}
+
|youtube ID | caption
|{{youtube ID}} | {{caption}}
+
|youtube ID | caption
|{{youtube ID}} | {{caption}}
+
|youtube ID | caption
 
}}
 
}}
 
</pre></noinclude>
 
</pre></noinclude>

Latest revision as of 22:40, 7 June 2023

Display upto 4 youtube embeds

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