Difference between revisions of "Template:Frame"

From Peter
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{| cellpadding="0" border="0" style="border-collapse:collapse; background-color:{{{color|#E5E5E5}}};"
+
<includeonly><table cellpadding="0" border="0" style="border-collapse:collapse; background-color:{{{color|#E5E5E5}}}; margin: 4px;"><tr>
|[[File:Lt-grey.png]]
+
<td>[[Image:Lt-grey.png]]</td><td></td><td>[[Image:Rt-grey.png]]</td>
|
+
</tr><tr>
|[[File:Rt-grey.png]]
+
<td></td><td>{{{1|}}}</td><td></td>
|-
+
</tr><tr>
|
+
<td>[[Image:Lb-grey.png]]</td><td></td><td>[[Image:Rb-grey.png]]</td>
|{{{1|}}}
+
</tr></table></includeonly><noinclude>
|
 
|-
 
|[[File:Lb-grey.png]]
 
|
 
|[[File:Rb-grey.png]]
 
|}</includeonly><noinclude>
 
 
This template will put a rounded frame (like the one used for thumbnails) around whatever you specify.
 
This template will put a rounded frame (like the one used for thumbnails) around whatever you specify.
  

Revision as of 08:44, 6 May 2011

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> | color=purple }}

Be sure to remove whitespaces before saving the article.

Examples

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

produces:

LOL WUT

400px
{{frame|'''George Bush hates black people'''<br><youtube>9pVTrnxCZaQ</youtube>|color=blue}}

produces:

George Bush hates black people
<youtube>9pVTrnxCZaQ</youtube>