A word about Minetest Formspecs

     So I'm working on a fire mod for Minetest, and I've been wresting with formspecs for a while. I'm still no expert but something did just click in my mind, and 'cause I didn't notice it being documented very well any place, I thought I'd write about it.

     Every formspec is just a layout, which is called and used by a function for the node/item. The best way to visualize a formspec is with a grid, like this.
 
x x x x x x x x x
x x x x x x x x x
x x x x x x x x x
x x x x x x x x x
x x x x x x x x x
x x x x x x x x x

The first line of your formspec is the size in this case 9,6
'size[9,6]'..

You can add images, inventory lists, text boxes and a few other things, find them all here.

After describing the size of the form you're going to want to add some elements, for example an image.
'image[2,2;1,1;image.png]'..

Maybe I'm just dense, but this is what was tripping me up, I had no idea what all those numbers meant, it clicked eventually though, and I'm here to share what they mean. The above line will put an image, in this case image.png, in the second column and second row, the image will only be repeated once in each direction. The image would be in the box shown with the green x.