Difference between revisions of "Template:Youtube-box"

From Custom Mario Kart
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<includeonly>{|class=""
 
<includeonly>{|class=""
{{#ev:youtubelazy|{{{2}}}|||{{{3}}}||start={{{4|0}}}&end={{{5|3600}}}}}
+
{{#ev:youtube|{{{2}}}|||{{{3}}}||start={{{4|0}}}&end={{{5|3600}}}}}
 
|}<!--
 
|}<!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>

Latest revision as of 13:55, 13 March 2022


Usage

{{youtube-box|textbox_attributes|youtube_id|title text|start time|end time}}
  • legacy textbox_attributes: attributes for Template:Textbox, one of:
    • legacy bug: videos about bugs and glitches
    • legacy original: videos of original tracks.
    • legacy tutorial: tutorial videos.
    • unused for all videos
  • youtube_id: ID of YouTube video
  • description text: text of description line
  • start time: time in seconds of when the video should start
  • end time: time in seconds of when the video should end

Examples

{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]|160|170}}
{{youtube-box|bug|3T7ieq27WMc|bug}}
{{youtube-box|original|3T7ieq27WMc|original}}
{{youtube-box|tutorial|3T7ieq27WMc|tutorial|76}}
bug
original
tutorial
EmbedVideo does not recognize the video service "youtubelazy".