Template:Football squad on pitch/doc

This template is used to generate an image map, showing the members of an association football squad on a football pitch. The position names and locations are specified per association football positions. The template does not check to make sure there are the correct number of players on the field.

Usage










Flags
The  parameters may be used to add national flags for the players. The ISO country code must be supported by flagicon.

Alignment and width
By default, the diagram will float to the center of the page or column. To float the diagram to the left, use left. To float the diagram to the right, use right.

By default, the diagram width is set to 200px. To change the width, use NUM, where  is a raw number, without the px units.

Long labels
If the label is too long, and is being clipped on the left or right edge of the diagram, try shifting it using num, where  is the position and   is a raw number in em units. This feature is currently only enabled for positions near the left and right edge of the diagram.

Caption
To add a caption, use caption.

Background image
To use a striped image, instead of the default checked image, use striped.