Not sure if this would be of any use to people who do this day in and day out, but for me it saves a few minutes when setting up a new domain on a server.
Two files, one the script and one the blank template that is used to create the entry to sites-available.
Stick 'template' in...