Parent education courses/Parent Education Course Writer's Guide/DecoratedTextBox: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with '<div style="clear:both; width:90%; margin:5px auto; padding:0px;">{{#if:{{{image|}}}| <div style="float:left; padding-right:1em; vertical-align:top;">[[File:{{PAGENAME:{{{image}}…')
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="clear:both; width:90%; margin:5px auto; padding:0px;">{{#if:{{{image|}}}|
<div style="clear:both; background-color: {{{bg|Azure}}}; ; border: 2px solid {{{border|CornflowerBlue}}}; -moz-border-radius:10px; width:90%; margin:5px auto; padding:0px;">{{#if:{{{image|}}}|
<div style="float:left; padding-right:1em; vertical-align:top;">[[File:{{PAGENAME:{{{image}}}}}|25x25px]]</div>}}
<div style="float:left; padding-top:5px; padding-left:5px; padding-right:1em; vertical-align:top;">[[File:{{PAGENAME:{{{image}}}}}|25x25px]]</div>}}
<div class="PrettyTextBox" style="vertical-align:bottom; margin:0px 25px; padding:5px 20px;">
<div style="vertical-align:bottom; margin:0px 25px; padding:5px 20px;">
{{{1}}}
{{{1}}}
</div>
</div>

Latest revision as of 12:21, 6 July 2010

{{{1}}}

Parameters:

  • The first parameter is the text inside the box.
  • image (optional) : the image to be used.