Difference between revisions of "Template:Frame"
From Peter
m (Unprotected "Template:Frame": temp) |
(Removing images. We shouldn't care about browsers that can't do this.) |
||
Line 1: | Line 1: | ||
− | < | + | <ncludeonly><table style="border-radius:{{{radius|1em}}}; -o-border-radius:{{{radius|1em}}}; -icab-border-radius:{{{radius|1em}}}; -khtml-border-radius:{{{radius|1em}}}; -moz-border-radius:{{{radius|1em}}}; -webkit-border-radius:{{{radius|1em}}}; background-color:{{{color|#E5E5E5}}}; width:auto; padding:.4em;"><tr><td>{{{1|}}}</td></tr></table> |
− | + | </includeonly><noinclude> | |
− | < | ||
− | |||
− | </tr> | ||
− | |||
− | |||
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 18:41, 15 May 2011
<ncludeonly></includeonly> 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:
400px |
{{frame|'''George Bush hates black people'''<br><youtube>9pVTrnxCZaQ</youtube>|color=blue}}
produces:
George Bush hates black people <youtube>9pVTrnxCZaQ</youtube> |