AGM minutes: what to record at a general meeting, with a template

How to write AGM and general meeting minutes: the usual business, elections, proxies and resolutions, UK and California law, and our own template and example.