Difference between revisions of "Template:Youtube-box"

From Custom Mario Kart
Jump to navigation Jump to search
Line 5: Line 5:
 
|}</includeonly><noinclude>[[category:Template/Include]]
 
|}</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]], one of:
 +
** '''bug''': videos about bugs and glitches
 +
** '''original''': videos of original tracks.
 +
** '''tutorial''': tutorial videos.
 +
** empty for all other kinds of videos (standard video)
 
* '''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 ==
+
== Examples ==
<nowiki>{{youtube-box|red|3T7ieq27WMc|[[N64 Yoshi Valley]]}}</nowiki>
+
<pre><nowiki>
{{youtube-box|red|3T7ieq27WMc|[[N64 Yoshi Valley]]}}
+
{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
 +
{{youtube-box|bug|3T7ieq27WMc|bug}}
 +
{{youtube-box|original|3T7ieq27WMc|original}}
 +
{{youtube-box|tutorial|3T7ieq27WMc|tutorial]}}
 +
</nowiki></pre>
 +
 
 +
{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
 +
{{youtube-box|bug|3T7ieq27WMc|bug}}
 +
{{youtube-box|original|3T7ieq27WMc|original}}
 +
{{youtube-box|tutorial|3T7ieq27WMc|tutorial]}}
 
</noinclude>
 
</noinclude>

Revision as of 12:21, 30 June 2013

Usage: {{youtube-box|textbox_attributes|youtube_id|title text}}
  • textbox_attributes : attributes for template:textbox, one of:
    • bug: videos about bugs and glitches
    • original: videos of original tracks.
    • tutorial: tutorial videos.
    • empty for all other kinds of videos (standard video)
  • youtube_id : ID of youtube video
  • title text : text of header line

Examples

 {{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
 {{youtube-box|bug|3T7ieq27WMc|bug}}
 {{youtube-box|original|3T7ieq27WMc|original}}
 {{youtube-box|tutorial|3T7ieq27WMc|tutorial]}}


N64 Yoshi Valley
bug
original
tutorial]