Template:Youtube-box: Difference between revisions

From Wexos's Wiki
Jump to navigationJump to search
(Imported from avsys wiki)
 
m (Use YouTube extension for YouTube videos)
Line 2: Line 2:
{| class="youtube textbox video {{{1|}}}"
{| class="youtube textbox video {{{1|}}}"
|+ {{{3|Video}}}
|+ {{{3|Video}}}
| style="padding:0 1pt" | {{#widget:YouTube|id={{{2}}}|width=480|height=270}}
| style="padding:0 1pt" | {{#tag:youtube|{{{2}}}|width=480|height=270}}
|}</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>
Line 15: Line 15:
== Examples ==
== Examples ==
<pre><nowiki>
<pre><nowiki>
  {{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
  {{youtube-box||ZvBWo5bf_E0|Mario Kart Double Dash!!}}
  {{youtube-box|bug|3T7ieq27WMc|bug}}
  {{youtube-box|bug|Hd4V1XT7V4s|Super Mario Galaxy 2}}
  {{youtube-box|original|3T7ieq27WMc|original}}
  {{youtube-box|original|uUU-2FQKf5Y|Wii Sports}}
  {{youtube-box|tutorial|3T7ieq27WMc|tutorial]}}
  {{youtube-box|tutorial|3T7ieq27WMc|Twisty Trials Galaxy]}}
</nowiki></pre>
</nowiki></pre>


{{youtube-box||3T7ieq27WMc|[[N64 Yoshi Valley]]}}
{{youtube-box||ZvBWo5bf_E0|Mario Kart Double Dash!!}}
{{youtube-box|bug|3T7ieq27WMc|bug}}
{{youtube-box|bug|Hd4V1XT7V4s|Super Mario Galaxy 2}}
{{youtube-box|original|3T7ieq27WMc|original}}
{{youtube-box|original|uUU-2FQKf5Y|Wii Sports}}
{{youtube-box|tutorial|3T7ieq27WMc|tutorial}}
{{youtube-box|tutorial|3T7ieq27WMc|Twisty Trials Galaxy]}}
</noinclude>
</noinclude>

Revision as of 17:25, 2 May 2024

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||ZvBWo5bf_E0|Mario Kart Double Dash!!}}
 {{youtube-box|bug|Hd4V1XT7V4s|Super Mario Galaxy 2}}
 {{youtube-box|original|uUU-2FQKf5Y|Wii Sports}}
 {{youtube-box|tutorial|3T7ieq27WMc|Twisty Trials Galaxy]}}


Mario Kart Double Dash!!
Super Mario Galaxy 2
Wii Sports
Twisty Trials Galaxy]