% if (not $wr->has_bad_wagons) {
% for my $section ($wr->sections) {
%= $section->{name}
% }
% }
% my $gi;
% for my $wagon ($wr->wagons) {
%= include '_wagon', wr => $wr, wagon => $wagon, prev_gi => $gi, multi => $has_multi_desc + $has_multi_dest, wref => $wref, exit_dir => stash('exit_dir');
% $gi = $wagon->group_index;
% }
%= join( ' / ', map { $_->{name} } $wr->origins )
→
%= join( ' / ', map { $_->{name} } $wr->destinations )
% for my $desc ($wr->train_descriptions) {
% if ($desc->{text}) {
%= $desc->{text}
% if ($has_multi_desc and length(join(q{}, sort @{$desc->{sections}}))) {
in Abschnitt <%= join(q{}, sort @{$desc->{sections}}) %>
% }
% }
% }
Quelle: DB Wagenreihungs-API. Angaben ohne Gewähr.
% }