Difference between revisions of "Template:Video"

From Dwaia Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<onlyinclude>{{#ev:youtube
 
<onlyinclude>{{#ev:youtube
| {{{1}}}
+
| {{{v}}}
 
| 400x225px
 
| 400x225px
 
| right
 
| right
| {{{2}}}
+
| {{{desc}}}
 
| frame
 
| frame
 
}}</onlyinclude><noinclude>
 
}}</onlyinclude><noinclude>
Line 16: Line 16:
 
produces the following embedded video:
 
produces the following embedded video:
 
{{Video
 
{{Video
| https://www.youtube.com/watch?v=iloTS0wU9qM
+
| v = https://www.youtube.com/watch?v=iloTS0wU9qM
| Brief explanation of rationality.
+
| desc = Brief explanation of rationality.
 
}}
 
}}
 +
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:55, 28 March 2019

EmbedVideo received the bad id "{{{v}}}" for the service "youtube".

Usage

The following code

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

produces the following embedded video:

Brief explanation of rationality.