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

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TabbyGarf
Reverted edits by Godog420 (talk) to last revision by [[User:imported>Schnookums|imported>Schnookums]]
imported>TabbyGarf
Reverted edits by Godog420 (talk) to last revision by [[User:imported>Schnookums|imported>Schnookums]]
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 21:15, 19 May 2022


Usage

This template will put a rounded frame (like the one used for thumbnails) around whatever you specify.

{{frame|content|border|background|margin}}
content The content to go inside the frame. This may be text, images or videos. See below for examples.
border Border color. The default is border=purple.
background Background color. The default is background=#e5e5e5.
color Text color. Don't specify to leave as is.
margin The frame's horizontal margin. To center the frame without the <center> tag use margin=auto. The default is margin=0.

Examples

Simple
{{frame|[[File:Lolwutpear.jpg|200px]]}}
With a title
{{frame|'''LOL WUT'''<br>[[File:Lolwutpear.jpg|200px]]}}
Specify border and background
{{frame|[[File:Lolwutpear.jpg|200px]]|border=red|background=black}}
Specify margin to center
{{frame|[[File:Lolwutpear.jpg|200px]]|margin=auto}}
Specify a color
{{frame|<big>THIS IS COLORED TEXT</big>|color=red}}
YouTube video
{{frame|<big>'''8-Bit Rick Roll'''</big><br><youtube>b1WWpKEPdT4</youtube>}}

Output

Simple With a title Specify border and background
LOL WUT
Specify margin to center Color text
THIS IS COLORED TEXT
YouTube video
8-Bit Rick Roll

See also