% if ($attr->{series}) { BR <%= $attr->{series} %> % } % if ($attr->{length}) { ⇤ <%= $attr->{length} %>m ⇥ % } % if ($attr->{vmax}) { <%= $attr->{vmax} %> km/h % } % if ($attr->{brakingPercentage}) { λ=<%= $attr->{brakingPercentage} %> % } % if ($attr->{station} and $with_station) { ab <%= $attr->{station} %> % }