Following on the discussion with Oliver. This still uses the ${|var|...} alternate syntax, I haven't yet looked closely enough at ${{var}...} as an alternative so that will have to follow separately.