Template:Videoframe

From Illogicopedia
Jump to navigation Jump to search

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

Syntax[edit source]

{{ 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[edit source]

{{videoframe|BOTDFvids|background-color: #FF6666;|font-weight: bold;
|<youtube>tCLBntJznsM</youtube><center>'''[[Dying Alone|Believe]]'''</center>
|<youtube>JVIwEGQiFUI</youtube><center>'''[[Hello Kitty|I <3 Hello Kitty]]'''</center>
|<youtube>u9i-cphEtAM</youtube><center>'''[[Sexting]]'''</center>
|<youtube>M2iDkf1SAWY</youtube><center>'''[[Blowjob|Scream For My Ice Cream]]'''</center>
|<youtube>JbB51XglEuc</youtube><center>'''[[Almost Rape|Bitches Get Stitches]]'''</center>}}

produces:

Believe
I <3 Hello Kitty
Sexting
Scream For My Ice Cream
Bitches Get Stitches

Previous Video  |  Next Video

Rounded centered video frame[edit source]

{| style="margin: 0 auto"
|{{frame|{{videoframe|RYTP|background-color: #FF4000;|font-weight: bold;
|<youtube>LyM1UGD8sqM</youtube><br /><center>'''5 words that will change your life forever'''</center>
|<youtube>yBgnPMYHMTc</youtube><br /><center>'''I like the part where he said "PINGAS"'''</center>
|<youtube>23pXoyKBHd4</youtube><br /><center>'''The [[YouTube Poop]] that started it all'''</center>
|<youtube>2_EwDlDr-FM</youtube><br /><center>'''[[Sauce]] part 1'''</center>
|<youtube>d7gAtP6jhRs</youtube><br /><center>'''Sauce part 2'''</center>
|<youtube>1QAQHxRo71g</youtube><br /><center>'''Eggman goes back to his roots.'''</center>}}|border=#FF4000|background=#FF4000}}
|}

produces:


5 words that will change your life forever

I like the part where he said "PINGAS"

The YouTube Poop that started it all

Sauce part 1

Sauce part 2

Eggman goes back to his roots.

Previous Video  |  Next Video