Difference between revisions of "Template:Youtube-box"

From Custom Mario Kart
Jump to navigation Jump to search
Line 1: Line 1:
{| class="youtube textbox {{1}}"
+
<includeonly>
|+ {{3}}
+
{| class="youtube textbox {{{1|}}}"
| {{#ev:youtube|{{{2}}}|400||}}
+
|+ {{{3|Video}}}
|}<noinclude>[[category:Template/Include]]
+
| {{#ev:youtube|{{{2|}}}|400||}}
 +
|}</includeonly><noinclude>[[category:Template/Include]]
 
  Usage: <nowiki>{{youtube-box|textbox_attributes|youtube_id|title text}}</nowiki>
 
  Usage: <nowiki>{{youtube-box|textbox_attributes|youtube_id|title text}}</nowiki>
 
* '''textbox_attributes''' : attributes for [[template:textbox]]
 
* '''textbox_attributes''' : attributes for [[template:textbox]]
Line 9: Line 10:
  
 
== Example ==
 
== Example ==
 +
<nowiki>{{youtube-box|red|3T7ieq27WMc|[[N64 Yoshi Valley]]}}</nowiki>
 
{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
 
{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
 
</noinclude>
 
</noinclude>

Revision as of 16:00, 23 March 2011

Usage: {{youtube-box|textbox_attributes|youtube_id|title text}}
  • textbox_attributes : attributes for template:textbox
  • youtube_id : ID of youtube video
  • title text : text of header line

Example

{{youtube-box|red|3T7ieq27WMc|[[N64 Yoshi Valley]]}}
N64 Yoshi Valley