% if ($attr->{series}) { BR <%= $attr->{series} %> % } % if ($attr->{vmax}) { <%= $attr->{vmax} %> km/h % } % if ($attr->{length}) { ⇤ <%= $attr->{length} %>m ⇥ % } % if ($attr->{weight}) { <%= $attr->{weight} %>t % } % if ($attr->{brakingPercentage}) { λ=<%= $attr->{brakingPercentage} %> % } % if ($with_station and $attr->{range}[0]) { ab <%= $attr->{range}[0] %> % }