<includeonly>{{#switch:{{{status|}}}|#standaard=[[Categorie:Duitse treinserie|{{{serie}}}]]|voormalig=[[Categorie:Voormalige Duitse treinserie|{{{serie}}}]]}}[[Categorie:{{{treinsoort}}}|{{{serie}}}]]</includeonly>
{| cellpadding='4' cellspacing='0' width='300' align='right' style='border: 1px solid #CADCEB;{{#ifeq:{{{verborgen|}}}|{{{verborgen|-}}}|
display:none;|}}'
! colspan='2' style='background: #{{#switch:{{{status|}}}|#standaard=CADCEB|voormalig=eee}}; color: #115098;' | [[Afbeelding:{{#switch:{{{status|treinsoort}}}|#standaard=Trein blauw.svg|voormaligS-Bahn=Trein grijs-opgehevenS.png}}.svg|30px|left]] {{#switch:{{{status|}}}|#standaard=|voormalig=Voormalige}} Duitse treindienst {{{serie}}}{{#ifeq:{{{lijnlogo|}}}
|-
{{#if:{{{lijnlogo|}}}
| {{ InfoboxRij | Lijnlogo | [[Afbeelding:{{{lijnlogo}}}|30px]] }}
}}