Template:Border box: Difference between revisions

a bit more versatile as a primitive
m add shift parameter to allow moving boxes to one side or another
 
Line 6: Line 6:
   width: {{{width|auto}}};
   width: {{{width|auto}}};
   {{#if: {{{backgroundColor|}}} | background-color: {{{backgroundColor}}}; }}
   {{#if: {{{backgroundColor|}}} | background-color: {{{backgroundColor}}}; }}
  {{#if: {{{shift|}}} | float: {{{shift}}}; clear: {{{shift}}}; }}
">{{{1}}}</div>
">{{{1}}}</div>