- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Videoframe: Difference between revisions
Jump to navigation
Jump to search
imported>JuniusThaddeus Repairing example. |
imported>MarioMario456 making this template look good on mobile |
||
(32 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="cyclesequence" style="width:640px; margin-left:auto; margin-right:auto; text-align:center; {{{2|}}}" ><!-- | <includeonly><div class="cyclesequence" style="max-width:640px; margin-left:auto; margin-right:auto; text-align:center; {{{2|}}}" ><!-- | ||
-->{{#if:{{{4|}}}|<div class="cyclesequenceitem" align="center">{{{4}}}</div>|}}<!-- | -->{{#if:{{{4|}}}|<div class="cyclesequenceitem" align="center">{{{4}}}</div>|}}<!-- | ||
-->{{#if:{{{5|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{5}}}</div>|}}<!-- | -->{{#if:{{{5|}}}|<div class="cyclesequenceitem hiddentext" align="center">{{{5}}}</div>|}}<!-- |
Latest revision as of 21:21, 14 July 2022
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) }}
- name - gives the frame a unique name, e.g. OBAMAvids1, OBAMAvids2 (you can't use the same name twice on one page)
- style - changes the frame style, e.g. background-color:red. See here for more.
- button styles - changes the font of prev/next buttons, e.g. font-size:125%. See here for more.
- 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
{{videoframe|BOTDFvids|background-color: #FF6666;|font-weight: bold; |<youtube>tCLBntJznsM</youtube>'''[[Dying Alone|Believe]]''' |<youtube>JVIwEGQiFUI</youtube>'''[[Hello Kitty|I <3 Hello Kitty]]''' |<youtube>u9i-cphEtAM</youtube>'''[[Sexting]]''' |<youtube>M2iDkf1SAWY</youtube>'''[[Blowjob|Scream For My Ice Cream]]''' |<youtube>JbB51XglEuc</youtube>'''[[Almost Rape|Bitches Get Stitches]]'''}}
produces:
Previous Video | Next Video
Rounded centered video frame
{| style="margin: 0 auto" |{{frame|{{videoframe|RYTP|background-color: #FF4000;|font-weight: bold; |<youtube>LyM1UGD8sqM</youtube><br />'''5 words that will change your life forever''' |<youtube>yBgnPMYHMTc</youtube><br />'''I like the part where he said "PINGAS"''' |<youtube>23pXoyKBHd4</youtube><br />'''The [[YouTube Poop]] that started it all''' |<youtube>2_EwDlDr-FM</youtube><br />'''[[Sauce]] part 1''' |<youtube>d7gAtP6jhRs</youtube><br />'''Sauce part 2''' |<youtube>1QAQHxRo71g</youtube><br />'''Eggman goes back to his roots.'''}}|border=#FF4000|background=#FF4000}} |}
produces:
|