Registration has been disabled and the moderation extension has been turned off.

Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Videoframe2: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Ld3105
workaround using MediaWiki's gallery slideshow elements
imported>TabbyGarf
Protected "Template:Videoframe2" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><gallery mode="slideshow" style="display: none;"></gallery>
<includeonly><div class="cyclesequence" style="width:640px; margin-left:auto; margin-right:auto; text-align:center; {{{2|}}}" ><!--
<ul class="gallery mw-gallery-slideshow" style="margin: 0 auto; width: {{{width|570px}}}; {{{2|}}}">
-->{{#if:{{{4|}}}|<div class="cyclesequenceitem" align="center">{{{4}}}</div>|}}<!--
{{#if:{{{4|}}}|<li class="gallerybox"><div class="gallerytext">{{{4}}}</div></li>|}}<!--
-->{{#if:{{{5|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{5}}}</div>|}}<!--
-->{{#if:{{{5|}}}|<li class="gallerybox"><div class="gallerytext">{{{5}}}</div></li>|}}<!--
-->{{#if:{{{6|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{6}}}</div>|}}<!--
-->{{#if:{{{6|}}}|<li class="gallerybox"><div class="gallerytext">{{{6}}}</div></li>|}}<!--
-->{{#if:{{{7|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{7}}}</div>|}}<!--
-->{{#if:{{{7|}}}|<li class="gallerybox"><div class="gallerytext">{{{7}}}</div></li>|}}<!--
-->{{#if:{{{8|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{8}}}</div>|}}<!--
-->{{#if:{{{8|}}}|<li class="gallerybox"><div class="gallerytext">{{{8}}}</div></li>|}}<!--
-->{{#if:{{{9|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{9}}}</div>|}}<!--
-->{{#if:{{{9|}}}|<li class="gallerybox"><div class="gallerytext">{{{9}}}</div></li>|}}<!--
-->{{#if:{{{10|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{10}}}</div>|}}<!--
-->{{#if:{{{10|}}}|<li class="gallerybox"><div class="gallerytext">{{{10}}}</div></li>|}}<!--
-->{{#if:{{{11|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{11}}}</div>|}}<!--
-->{{#if:{{{11|}}}|<li class="gallerybox"><div class="gallerytext">{{{11}}}</div></li>|}}<!--
-->{{#if:{{{12|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{12}}}</div>|}}<!--
-->{{#if:{{{12|}}}|<li class="gallerybox"><div class="gallerytext">{{{12}}}</div></li>|}}<!--
-->{{#if:{{{13|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{13}}}</div>|}}<!--
-->{{#if:{{{13|}}}|<li class="gallerybox"><div class="gallerytext">{{{13}}}</div></li>|}}
--><div class="cyclesequencelinks"><p><span class="cyclesequencelinkprev showhidetext" style="{{{3}}}">Previous Video</span> &#124; <span class="cyclesequencelinknext showhidetext" style="{{{3}}}">Next Video</span></p></div><!--
</ul></includeonly><noinclude>
--></div></includeonly><noinclude>
Lets you create a frame with multiple videos and switch between them by using the "Previous" and "Next" buttons.
Lets you create a frame with multiple videos and switch between them by using the "Previous" and "Next" buttons.



Latest revision as of 01:30, 16 March 2021

Lets you create a frame with multiple videos and switch between them by using the "Previous" and "Next" buttons.

Syntax

{{ videoframe | name | style | button styles | first youtube link | second one | etc. (max. 10 links) }}
  1. name - gives the frame a unique name, e.g. OBAMAvids1, OBAMAvids2 (you can't use the same name twice on one page)
  2. style - changes the frame style, e.g. background-color:red. See here for more.
  3. button styles - changes the font of prev/next buttons, e.g. font-size:125%. See here for more.
  4. youtube link - ID of a YouTube video enclosed in <youtube> tags, after ?v=

Note: remember to remove all whitespaces (except for the ones in links) and put everything in one long line, otherwise it might get broken.

Examples