Template:Frame

From Peter
Revision as of 01:05, 11 December 2013 by Schnookums (talk)

Jump to: navigation, search

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

Syntax

{{ frame | text <br> [[File:something.jpg|200px]] or <youtube>WV_aWXeT</youtube> | border=purple | background=purple }}

Be sure to remove whitespaces before saving the article.

Examples

{{frame|'''LOL WUT'''<br>[[File:Lolwutpear.jpg|400px]]|border=red|background=red}}

produces:

LOL WUT

400px
{{frame|'''8-Bit Rick Roll'''<br><youtube>b1WWpKEPdT4</youtube>|border=blue|background=blue}}

produces:

8-Bit Rick Roll
<youtube>b1WWpKEPdT4</youtube>
{{frame|[[Image:Lolwutpear.jpg|300px]]|border=red|background=red|margin=auto}}

produces:

300px

See also