URI Parameter in Template Variable

Is this not possible given the URI parameter of var-building=xxxxx ?

I’m trying to stay away from scripted dashboards as it looks to be deprecated.