User:Wildgoosespeeder/YouTube/sandbox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ | <noinclude>{{DISPLAYTITLE:Template:YouTube}}</noinclude> | ||
{{#switch:{{{align}}}|left=<div class="thumb tleft">|none=<div class="thumb tnone">|center=<center><div class="thumb tnone">|#default=<div class="thumb tright">}} | {{#switch:{{{align}}}|left=<div class="thumb tleft">|none=<div class="thumb tnone">|center=<center><div class="thumb tnone">|#default=<div class="thumb tright">}} | ||
<div class="thumbinner" style=" | <div class="thumbinner" style="width:{{#expr:{{{size|180}}}+2}}px">{{#tag:youtube|{{{id|0123456789A}}}|width="{{{size|180}}}"}}<div class="thumbcaption" clear=all>{{{text|No text supplied}}} <sup>[http://www.youtube.com/watch?v={{{id|0123456789A}}}]</sup></div> | ||
<div class="thumbcaption" clear=all> | |||
</div></div>{{#ifeq:{{{align}}}|center|</center>}} | </div></div>{{#ifeq:{{{align}}}|center|</center>}} | ||
<noinclude> | <noinclude> | ||
{{br|left}} | {{br|left}} | ||
Default is a video ID of ''0123456789A'', right-aligned, width of 180, and caption of ''No text supplied''. | |||
==Usage== | ==Usage== | ||
<nowiki> | <kbd><nowiki> | ||
{{YouTube | {{</nowiki>YouTube<br> | ||
|id= | |id=<br> | ||
|align= | |align=<br> | ||
|size= | |size=<br> | ||
|text= | |text=<br> | ||
}} | <nowiki>}} | ||
</nowiki> | </nowiki></kbd> | ||
==Test== | ==Test== | ||
===Left=== | ===Left 150=== | ||
{{User:Wildgoosespeeder/YouTube/sandbox | {{User:Wildgoosespeeder/YouTube/sandbox | ||
|id=p0iev5ReOKQ | |id=p0iev5ReOKQ | ||
|align=left | |align=left | ||
|size= | |size=150 | ||
|text=A glitch in [[Paper Mario]]. | |text=A glitch in [[Paper Mario]]. | ||
}} | }} | ||
{{br}} | {{br}} | ||
===Center=== | ===Center 200=== | ||
{{User:Wildgoosespeeder/YouTube/sandbox | {{User:Wildgoosespeeder/YouTube/sandbox | ||
|id=p0iev5ReOKQ | |id=p0iev5ReOKQ | ||
Line 31: | Line 32: | ||
|text=A glitch in [[Paper Mario]]. | |text=A glitch in [[Paper Mario]]. | ||
}} | }} | ||
===Right=== | ===Right 250=== | ||
{{User:Wildgoosespeeder/YouTube/sandbox | {{User:Wildgoosespeeder/YouTube/sandbox | ||
|id=p0iev5ReOKQ | |id=p0iev5ReOKQ | ||
|align=right | |align=right | ||
|size= | |size=250 | ||
|text=A glitch in [[Paper Mario]]. | |text=A glitch in [[Paper Mario]]. | ||
}} | }} | ||
{{br}} | {{br}} | ||
</noinclude> | </noinclude> |
Latest revision as of 22:26, April 27, 2016
<youtube width="180">0123456789A</youtube>
Default is a video ID of 0123456789A, right-aligned, width of 180, and caption of No text supplied.
Usage
{{YouTube
|id=
|align=
|size=
|text=
}}
Test
Left 150
<youtube width="150">p0iev5ReOKQ</youtube>
Center 200
<youtube width="200">p0iev5ReOKQ</youtube>
Right 250
<youtube width="250">p0iev5ReOKQ</youtube>