Difference between revisions of "Template:SpacerBlock"

From Horde3D Wiki
Jump to: navigation, search
(Adding SpacerBlock to create pixel perfect layout of ContentBlocks. This allows to bypass the default mediwiki spacing, and layout ContentBlocks in a much more simpler maner.)
 
m
Line 12: Line 12:
 
{{SpacerBlock|1|1|red}} - results in a 1x1 pixel box in red color.
 
{{SpacerBlock|1|1|red}} - results in a 1x1 pixel box in red color.
 
</pre>
 
</pre>
<noinclude>
+
</noinclude>

Revision as of 00:41, 17 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.