displaying position in templates