Difference between revisions of "Template:Frame"

From PlantUse English
Jump to: navigation, search
Line 11: Line 11:
  
 
== Exemples ==
 
== Exemples ==
<nowiki>
+
<pre><nowiki>
 
{{Frame
 
{{Frame
 
|color = green
 
|color = green
Line 17: Line 17:
 
|image1 = Crystal Clear app starthere.png
 
|image1 = Crystal Clear app starthere.png
 
|content = It is yellow and can be added to child's baby bottle
 
|content = It is yellow and can be added to child's baby bottle
}}</nowiki> gives : <br>
+
}}</nowiki></pre> gives : <br>
 
{{Frame
 
{{Frame
 
|color = green
 
|color = green

Revision as of 10:45, 29 June 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 :
Crystal Clear app starthere.png

The shmilblick is an egg

It is yellow and can be added to child's baby bottle

{{Frame |image2 = HSutvald2.svg |size = 20px |color = yellow |content = I though of french fries }} gives :

HSutvald2.svg
I though of french fries