Difference between revisions of "Template:Video"

From Professional Starter
Jump to navigation Jump to search
(chg)
(chg)
 
Line 38: Line 38:
  
 
__NOEDITSECTION__
 
__NOEDITSECTION__
[[Category:Template - widget]]
+
[[Category:Templates - widget]]
 
</noinclude><includeonly>{{#widget:Video
 
</noinclude><includeonly>{{#widget:Video
 
  |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}
 
  |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }}
 
  |width={{{width|425}}}
 
  |width={{{width|425}}}
 
  |height={{{height|355}}}
 
  |height={{{height|355}}}
}}[[Kategorie:Page with an embedded video file]]</includeonly>
+
}}[[Category:Pages with an embedded video file]]</includeonly>

Latest revision as of 18:55, 11 December 2019

Description

This is the Video template created by Professional.Wiki. It uses the "Video" widget.

Usage

Either the "name" or "url" parameter must be provided. Optional parameters "width" (default = 425) and "height" (default = 355) are available. If nothing was specifically specified the default value will be used.

externally hosted video file

{{Video
 |url=URL of the video file
}}

Note: Embedding externally hosted files may be prohibited by policy of the owner of the external website. This embedding such video files will not work.

locally hosted video file

{{Video
 |name=name of the video file
}}

Example

externally hosted video file

{{Video
 |url=https://upload.wikimedia.org/wikipedia/commons/e/e6/Roundhay_Garden_Scene.ogv
 |width=425
 |height=355
}}