Difference between revisions of "Template:SpacerBlock"

From Horde3D Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
{| width="{{{1}}}"
 
{| width="{{{1}}}"
 
| height="{{{2}}}" bgcolor="{{{color|white}}}" |
 
| height="{{{2}}}" bgcolor="{{{color|white}}}" |
|}
+
|}<noinclude>
<noinclude>
 
 
SpacerBlock is a spacer to create pixel perfect layout of ContentBlocks. it takes 3 parameters.
 
SpacerBlock is a spacer to create pixel perfect layout of ContentBlocks. it takes 3 parameters.
 
#width
 
#width
 
#height
 
#height
 
#color (default = white)
 
#color (default = white)
 
 
== Usage ==
 
== Usage ==
 
<pre>
 
<pre>

Latest revision as of 23:41, 16 April 2008

SpacerBlock is a spacer to create pixel perfect layout of ContentBlocks. it takes 3 parameters.

  1. width
  2. height
  3. color (default = white)

Usage

{{SpacerBlock|1|1|red}} - results in a 1x1 pixel box in red color.