Template:Advert column style/doc

This template creates the style tag needed to easily create uniform columns of adverts of the kind often found in magazine letter pages.

Usage
To be used in tables, to set the style. For example:

Parameters
All parameters are optional.


 * : (1st unnamed parameter) Sets the alignment of the column, can be either  or  . (default:  )
 * : (2nd unnamed parameter) Sets the margin around the column; ie. the gap between the column edge and the text. Measured in em, do not include the units. (default: )
 * : If used, this will use the opposite alignment in the mainspace and use the given alignment in all other namespaces. This may be the only way to get separate columns to fit in the mainspace, although it does slightly undermine the faithfulness of the reproduction. 0=No, don't flip.  1=Yes, flip the alignment. (default:  )
 * : Sets the width of the advert column. Measured in pixels, do not include units. (default: )
 * : Sets the height of the text in the advert column. Measured as a percentage, do not include the percentage sign. (default:  )
 * : Any additional style settings not included as standard can be entered manually in this parameter.

Examples
Standard, right floating column style.

Left floating column style.

This won't change here, producing a standard right floating style, but in the mainspace this would produce the left floating style.

Right floating column style with additional parameters to change its appearance. This column will be wider, with a smaller margin, and a one-pixel border.