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}}"
 
{| class="youtube textbox {{1}}"
|+ {{2}}
+
|+ {{3}}
| {{#ev:youtube|{{{3}}}|400||}}
+
| {{#ev:youtube|{{{2}}}|400||}}
 
|}<noinclude>[[category:Template/Include]]
 
|}<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>
Line 7: Line 7:
 
* '''youtube_id''' : ID of youtube video
 
* '''youtube_id''' : ID of youtube video
 
* '''title text''' : text of header line
 
* '''title text''' : text of header line
 +
 +
== Example ==
 +
{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
 
</noinclude>
 
</noinclude>

Revision as of 15:57, 23 March 2011

Template:3
EmbedVideo received the bad id "{{{2}}}" for the service "youtube".
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

Template:3