No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
− | <onlyinclude><div class="mw-customtoggle- |
+ | <onlyinclude><div class="mw-customtoggle-MyDivision" style="display:inline-block;background:rgba(128,128,128,0.5);color:white;padding:5px;border-radius:5px;outline:none;user-select:none">Show/Hide Video</div> |
− | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible- |
+ | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-MyDivision"> |
<div class="mw-collapsible-content" style="margin-top:10px;padding:10px;border-radius:5px">[[File:{{{1}}}|640px]]</div> |
<div class="mw-collapsible-content" style="margin-top:10px;padding:10px;border-radius:5px">[[File:{{{1}}}|640px]]</div> |
||
</div></onlyinclude> |
</div></onlyinclude> |
Revision as of 20:37, 26 January 2021
Show/Hide Video
[[File:{{{1}}}|640px]]
Summary
This template will insert an expandable text revealing videos (max 3).
WARNING!
When typing names, you must replace spaces with |
To make use of the template, the editor simply needs to write:
{{Video|Mama Bear Cheese Strategy.mp4}}
The template will automatically put the video in the correct size, so the editor only needs to enter the name of the video including the file type (".mp4", ".webm", etc.).
Example
The code <code>{{Video|Mama_Bear_Cheese_Strategy.mp4}}</code> will produce this expandable:
Show/Hide Video
TemplateData
Adds an expandable video
Parameter | Description | Type | Status | |
---|---|---|---|---|
1st video | 1 | Slot for 1st video | File | required |
2nd video | 2 | no description | Unknown | suggested |
3rd video | 3 | no description | Unknown | suggested |
The above was transcluded from Template:Video/doc