Template:Border box: Difference between revisions

From Kawaguchi O'Connor Initiative Wiki
Jump to navigation Jump to search
initial stub
 
m add shift parameter to allow moving boxes to one side or another
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="tmpl-border-box">{{{1}}}</div>
<div style="
  border: {{{borderSize|1px}}} {{{borderStyle|solid}}} {{{borderColor|black}}};
  margin: {{{margin|0.25em}}};
  padding: {{{padding|0.25em}}};
  text-align: {{{align|left}}};
  width: {{{width|auto}}};
  {{#if: {{{backgroundColor|}}} | background-color: {{{backgroundColor}}}; }}
  {{#if: {{{shift|}}} | float: {{{shift}}}; clear: {{{shift}}}; }}
">{{{1}}}</div>

Latest revision as of 19:36, 24 July 2026

{{{1}}}