Difference between revisions of "Template:Video"

From Dwaia Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<onlyinclude>{{#evu: {{{}}}
+
<onlyinclude>{{#evu: {{{v}}}
 
| dimensions = 400x225px
 
| dimensions = 400x225px
 
| alignment = right
 
| alignment = right
| description = {{{2|j}}}
+
| description = {{{desc}}}
 
| container = frame
 
| container = frame
 
}}</onlyinclude><noinclude>
 
}}</onlyinclude><noinclude>
Line 8: Line 8:
 
The following code
 
The following code
 
<pre>
 
<pre>
{{Video | https://www.youtube.com/watch?v=iloTS0wU9qM | Brief explanation of rationality.}}
+
{{Video | v = https://www.youtube.com/watch?v=iloTS0wU9qM | desc = Brief explanation of rationality.}}
 
</pre>
 
</pre>
 
produces the following embedded video:
 
produces the following embedded video:
{{Video | https://www.youtube.com/watch?v=iloTS0wU9qM }}
+
{{Video | v = https://www.youtube.com/watch?v=iloTS0wU9qM | desc = Brief explanation of rationality.}}
 
</noinclude>
 
</noinclude>

Revision as of 06:52, 13 March 2019

Couldn't parse video from {{{v}}}

Usage

The following code

{{Video | v = https://www.youtube.com/watch?v=iloTS0wU9qM | desc = Brief explanation of rationality.}}

produces the following embedded video: