Template:CombatGrid/doc

From Wiki of Loathing
Jump to navigation Jump to search
Template-info.svg Documentation

Draws a small combat grid, with optional contents.

Parameters

  • cellsize Size of each cell (default 30px)
  • c1 Image to go in cell 1
  • ...
  • c18 Image to go in cell 18
  • c1link Link corresponding to the image in cell 1
  • ...
  • c18link Link corresponding to the image in cell 18
  • c1flip Flag to flip horizontally the image in cell 1
  • ...
  • c18flip Flag to flip horizontally the image in cell 18
  • c1text Fully specify the contents of cell 1 (default is a non-breaking space)
  • ...
  • c18text Fully specify the contents of cell 18 (default is a non-breaking space)

Cell indices refer to the 18 cells, with values 1-9 on the left, and values 10-18 on the right, as shown in the following:

1 2 3   10 11 12
4 5 6   13 14 15
7 8 9   16 17 18