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:Photoframe: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>Caku
No edit summary
imported>Caku
No edit summary
Line 21: Line 21:
#'''youtube link''' - ID of a YouTube video enclosed in <nowiki><youtube></nowiki> tags, after ''?v=''
#'''youtube link''' - ID of a YouTube video enclosed in <nowiki><youtube></nowiki> 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.
'''''Note''''': remember to remove all whitespaces (except for the ones in links) and put everything in one long line, otherwise it might get broken.
{| style="margin: 0 auto"|{{frame|{{photoframe|RYTP|background-color: #FF4000;|font-weight: bold;|[[File:EDLogoV1.png]]|[[File:EDLogoV2.png]]}}|border=#FF4400|background=#FF4400}}|}
 
{{photoframe|RYTP|background-color: #FF4000;|font-weight: bold;|[[File:EDLogoV1.png]]|[[File:EDLogoV2.png]]}}

Revision as of 14:11, 2 July 2021

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

Syntax

{{ Photoframe | name | style | button styles | first photo link | second one | etc. (max. 10 links) }}
  1. name - gives the frame a unique name, e.g. .wilnudes, .tabsnudes (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.