Use cached rank in the template.