Template

A cleaned-up template, courtesy of heartandsleeves!