Difference between revisions of "Template:Frame"
From Peter
Line 12: | Line 12: | ||
{{frame|<center><big>'''LOL WUT'''</big></center><br/>[[Image:Lolwutpear.jpg|400px]]|border=red|background=red}} | {{frame|<center><big>'''LOL WUT'''</big></center><br/>[[Image:Lolwutpear.jpg|400px]]|border=red|background=red}} | ||
− | <nowiki>{{frame|''' | + | <nowiki>{{frame|'''George Bush hates black people'''<br><youtube>9pVTrnxCZaQ</youtube>|border=blue|background=blue}}</nowiki> |
produces: | produces: | ||
− | {{frame|<big>''' | + | {{frame|<big>'''George Bush hates black people'''</big><br><youtube>9pVTrnxCZaQ</youtube>|border=blue|background=blue}} |
[[Category:Formatting Templates|{{PAGENAME}}]] | [[Category:Formatting Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 21:02, 25 June 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> | 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:
400px |
{{frame|'''George Bush hates black people'''<br><youtube>9pVTrnxCZaQ</youtube>|border=blue|background=blue}}
produces:
George Bush hates black people <youtube>9pVTrnxCZaQ</youtube> |