Template:Video: Difference between revisions
The Terran Knowledge Bank
(Created page with "<includeonly>{{#widget:Video |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }} |width={{{width|640}}} |height={{{height|320}}} }}</includeonly>") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#widget:Video |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }} |width={{{width|640}}} |height={{{height|320}}} }}</includeonly> | <noinclude> | ||
== Usage == | |||
Either the "<code>name</code>"(Mediawiki file) or the "<code>url</code>" (external file) must be specified. Width defaults to 640. Height defaults to 320. | |||
=== external file === | |||
<pre> | |||
{{Video | |||
|url=https://download.wcnews.com/holovids/wing3/fleet_buildup.mp4 | |||
|width=640 | |||
|height=320 | |||
}} | |||
</pre> | |||
{{Video | |||
|url=https://download.wcnews.com/holovids/wing3/fleet_buildup.mp4 | |||
|width=640 | |||
|height=320 | |||
}} | |||
</noinclude><includeonly>{{#widget:Video |url={{#if: {{{url|}}} |{{{url|}}} |{{filepath: {{{name|}}} }} }} |width={{{width|640}}} |height={{{height|320}}} }}</includeonly> |
Revision as of 23:35, 27 June 2021
Usage
Either the "name
"(Mediawiki file) or the "url
" (external file) must be specified. Width defaults to 640. Height defaults to 320.
external file
{{Video |url=https://download.wcnews.com/holovids/wing3/fleet_buildup.mp4 |width=640 |height=320 }}