Raft Wiki
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude><div class="mw-customtoggle-{{{1}}}" 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>
+
<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-{{{1}}}">
+
<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]]
About the Documentation template Documentation - Template:VideoViewEditHistoryPurge

Summary

This template will insert an expandable text revealing videos (max 3).

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

Template parameters

ParameterDescriptionTypeStatus
1st video1

Slot for 1st video

Filerequired
2nd video2

no description

Unknownsuggested
3rd video3

no description

Unknownsuggested

The above was transcluded from Template:Video/doc