Difference between revisions of "Template:Frame"
From Peter
m (Protected "Template:Frame" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{| cellpadding="0" border="0" style="border-collapse:collapse; background-color:{{{color|#E5E5E5}}};" |
− | + | |[[File:Lt-grey.png]] | |
− | + | | | |
− | + | |[[File:Rt-grey.png]] | |
− | + | |- | |
− | + | | | |
− | </ | + | |{{{1|}}} |
+ | | | ||
+ | |- | ||
+ | |[[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. | ||
− | + | ==Syntax== | |
+ | <nowiki>{{</nowiki> '''frame | text <nowiki><br> [[File:something.jpg|200px]]</nowiki>''' or '''<nowiki><youtube>WV_aWXeT</youtube></nowiki>''' | '''color=purple''' <nowiki>}}</nowiki> | ||
+ | Be sure to remove whitespaces before saving the article. | ||
+ | ==Examples== | ||
+ | <nowiki>{{frame|'''LOL WUT'''<br>[[File:Lolwutpear.jpg|400px]]|color=red}}</nowiki> | ||
+ | produces: | ||
+ | {{frame|<center><big>'''LOL WUT'''</big></center><br/>[[Image:Lolwutpear.jpg|400px]]|color=red}} | ||
− | ''' | + | <nowiki>{{frame|'''George Bush hates black people'''<br><youtube>9pVTrnxCZaQ</youtube>|color=blue}}</nowiki> |
− | <nowiki>{{frame| | + | produces: |
+ | {{frame|<big>'''George Bush hates black people'''</big><br><youtube>9pVTrnxCZaQ</youtube>|color=blue}} | ||
− | + | [[Category:Templates]] | |
− | + | </noinclude> | |
− | [[ | ||
− | |||
− | |||
− |
Revision as of 16:59, 5 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:
400px |
{{frame|'''George Bush hates black people'''<br><youtube>9pVTrnxCZaQ</youtube>|color=blue}}
produces:
George Bush hates black people <youtube>9pVTrnxCZaQ</youtube> |