string region( name, region_class, block_class, mode, section, width, height, slots, custom )

Description:

Generate a region into which blocks may be placed.

Parameters:

name

Name of region to generate.

region_class

CSS class of the region div.

block_class

CSS class to add to the divs of all assigned blocks.

mode

The default value, 'blocks', declares that the region may have blocks assigned to it. Setting a mode of 'ads' will declare that the region is an ad position for use with the banner ads management app.

section

The region's section name. Only used when mode is 'ads'.

width

The region's width. Only used when mode is 'ads'.

height

The region's height. Only used when mode is 'ads'.

slots

The number of slots to assign. Only used when mode is 'ads'.

custom

Template furnished data that can be used by blocks or other areas to make decisions about the design (such as reacting to viewport)

Return:

The generated region as well as the output of any assigned blocks.