define a template for stats box (closes #1)