%= $wr->train_type %= $wr->train_no
<%= $wr->station_name %> Gleis <%= $wr->platform %>
Zugtyp: <%= $wr->train_subtype // 'IC?' %>
% for my $section ($wr->sections) {
%= $section->{name}
% } % for my $wagon ($wr->wagons) { % my $bg = ''; % if ($wagon->is_first_class) { % $bg = 'background-color: #ffff99;'; % } % if ($wagon->is_locomotive or $wagon->is_powercar) { % $bg = 'background-color: #cccccc;'; % }
% if ($wr->direction == 100) { ↓ % } % else { ↑ % }
% if ($wagon->is_locomotive or $wagon->is_powercar) { LOK % } % else { %= $wagon->number // '?' % }
% if ($wagon->is_first_class) { 1 % } % if ($wagon->is_second_class) { 2 % } % if ($wagon->has_accessibility) { ♿ % } % if ($wagon->has_bistro) { 🍴 % } % if ($wagon->has_compartments) { 🚪 % } % if ($wagon->has_quiet_area) { 🤫 % } % if ($wagon->has_phone_area) { 📱 % } % if ($wagon->has_family_area) { 👪 % } % if ($wagon->has_bahn_comfort) { bahn.comfort % } % if ($wagon->is_interregio) { Interregio % } %= $wagon->type
% }
% if ($wr->train_type ne 'ICE') { Angaben bitte mit Vorsicht genießen. Eigentlich werden vom Backend nur ICE unterstützt. % } % else { Angaben ohne Gewähr – Echtzeitdaten sind möglicherweise nicht berücksichtigt. % }