Added the template(n) man page.

Copied the template(n) man page from glue(n), translated it into the
new format, and extended it a bit.