Template:Video file: Difference between revisions
| [unchecked revision] | [unchecked revision] |
Direct-upload video template |
Fix: use <div> not <figure>/<figcaption>/<noscript> (were escaped by the HTML sanitizer) |
||
| Line 1: | Line 1: | ||
<includeonly>< | <includeonly><div class="ic-video ic-video-file">[[File:{{{1}}}|400px]]<div class="ic-video-cap">{{{2|}}}</div></div></includeonly><noinclude>Embed an uploaded video (mp4/webm/ogv). Usage: <code><nowiki>{{Video file|Clip.mp4|caption}}</nowiki></code> [[Category:Video templates]]</noinclude> | ||
Latest revision as of 19:27, 9 July 2026
Embed an uploaded video (mp4/webm/ogv). Usage: {{Video file|Clip.mp4|caption}}