Adding platform variable to templates