Template:Frame: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
</div><div style="text-align:Center; padding:1em; ">|}}<div>{{{content}}}</div>{{#if:{{{title|}}}|</div>|}}</div></includeonly><noinclude> | </div><div style="text-align:Center; padding:1em; ">|}}<div>{{{content}}}</div>{{#if:{{{title|}}}|</div>|}}</div></includeonly><noinclude> | ||
== | == Parameters == | ||
* color : | * color : optional; define border color default is transparent | ||
* title : title | * title : make the frame a title one (optional) | ||
* image1 : | * image1 : left icon (optional) | ||
* image2 : | * image2 : right icon (optional) | ||
* size : | * size : size for both icons (optional) 70px by default | ||
* content : ( | * content : (mandatory) | ||
== Exemples == | == Exemples == | ||
| Line 14: | Line 14: | ||
{{Frame | {{Frame | ||
|color = green | |color = green | ||
|title = | |title = The shmilblick is an egg | ||
|image1 = Crystal Clear app starthere.png | |image1 = Crystal Clear app starthere.png | ||
|content = | |content = It is yellow and can be added to child's baby bottle | ||
}}</nowiki> | }}</nowiki> gives : <br> | ||
{{Frame | {{Frame | ||
|color = green | |color = green | ||
|title = | |title = The shmilblick is an egg | ||
|image1 = Crystal Clear app starthere.png | |image1 = Crystal Clear app starthere.png | ||
|content = | |content = It is yellow and can be added to child's baby bottle | ||
}} | }} | ||
<nowiki> | <nowiki> | ||
| Line 29: | Line 29: | ||
|size = 20px | |size = 20px | ||
|color = yellow | |color = yellow | ||
|content = | |content = I though of french fries | ||
}} | }} | ||
</nowiki> | </nowiki> gives : <br> | ||
{{Cadre | {{Cadre | ||
|image2 = HSutvald2.svg | |image2 = HSutvald2.svg | ||
|size = 20px | |size = 20px | ||
|color = yellow | |color = yellow | ||
|content = | |content = I though of french fries | ||
}} | }} | ||
Revision as of 09:45, 11 May 2011
Parameters
- color : optional; define border color default is transparent
- title : make the frame a title one (optional)
- image1 : left icon (optional)
- image2 : right icon (optional)
- size : size for both icons (optional) 70px by default
- content : (mandatory)
Exemples
{{Frame
|color = green
|title = The shmilblick is an egg
|image1 = Crystal Clear app starthere.png
|content = It is yellow and can be added to child's baby bottle
}} gives :
{{Frame
|image2 = HSutvald2.svg
|size = 20px
|color = yellow
|content = I though of french fries
}}
gives :
Template:Cadre
