Template:Video: Difference between revisions

Content deleted Content added
chg
sync with fvwiki
 
Line 2:
<div style="float: right">__TOC__</div>
== Descripton ==
This is the '''Video''' template. It uses the [[Widget:Video|Video]] widget and supports easy embedding of a file by automatically extracting the "<code>url</code>" parameter from the <code>name</code>" from the specified file name. However, it is still possible to use the "<code>url</code>" parameter for externally hosted files. NoteIt thatwas thiscreated doesby not[https://professional.wiki workKarsten Hoffmeyer] for external files on Vimeo, YouTube,[https://www.pro.wiki etcProWiki].
 
== Usage ==
Line 37:
</pre>
 
__NOEDITSECTION__
[[Category:Template]]
</noinclude><includeonly>
<div style="max-width: {{{width|425}}}px;">
<div style="padding-left: 20px;">
: {{#widget:Video
|url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}
}}
</div>{{#if:
</div>
{{#if:
{{{url|}}}
|[[Category:Pages with an embedded, externally hosted video file]]