Vorlage:Bahnlinie: Unterschied zwischen den Versionen

Aus Ultos
Zur Navigation springen Zur Suche springen
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 8: Zeile 8:
 
   | border: 1px solid {{{5}}};
 
   | border: 1px solid {{{5}}};
 
   | {{#switch:{{{1|}}}
 
   | {{#switch:{{{1|}}}
    | F  = border: 1px solid #009EDB;
 
    | DB = border: 1px solid #00560E;
 
    | AVG = border: 1px solid #00563E;
 
 
     | #default = display:inline-block; margin: 1px;
 
     | #default = display:inline-block; margin: 1px;
 
   }}
 
   }}
Zeile 18: Zeile 15:
 
  | background-color: {{{5}}};
 
  | background-color: {{{5}}};
 
  | {{#switch:{{{1|}}}
 
  | {{#switch:{{{1|}}}
   | IRE | RE = background-color: #E2001A;
+
   | #default = background-color: #E2001A;
  | R | RB | MEX | U = background-color: #00519E;
 
  | S  = background-color: #358F3E;
 
  | X  = background-color: #A3238E;
 
  | F  = background-color: #007EDB;
 
 
  }}
 
  }}
 
}} -webkit-border-radius: {{{8|{{#ifeq:{{{1|}}}|U|0|1}}}}}ex; -moz-border-radius: {{{8|{{#ifeq:{{{1|}}}|U|0|1}}}}}ex; border-radius: {{{8|{{#ifeq:{{{1|}}}|U|0|1}}}}}ex; color:{{#switch:{{{1|}}}
 
}} -webkit-border-radius: {{{8|{{#ifeq:{{{1|}}}|U|0|1}}}}}ex; -moz-border-radius: {{{8|{{#ifeq:{{{1|}}}|U|0|1}}}}}ex; border-radius: {{{8|{{#ifeq:{{{1|}}}|U|0|1}}}}}ex; color:{{#switch:{{{1|}}}
  | IC = {{{4|#BB007C}}}
+
  | #default = {{{4|white}}}
| ICE = {{{4|red}}}
 
| S | U | IRE | R | RE | RB | MEX | X | F = {{{4|white}}}
 
| NZ  = {{{4|black}}}
 
| DB  = {{{4|forestgreen}}}
 
| AVG = {{{6|orange}}}
 
 
}};">{{#switch:{{{1|}}}
 
}};">{{#switch:{{{1|}}}
| IC | ICE = {{{3|}}} {{{2|{{{1}}}}}}
 
 
  | #default = {{#if:{{{3|}}} | {{{3}}} | {{{1}}} {{{2|}}} }}
 
  | #default = {{#if:{{{3|}}} | {{{3}}} | {{{1}}} {{{2|}}} }}
 
}}</span>{{#if:{{{1|}}}||<span class="error">Kein Parameter in der [[Vorlage:Bahnlinie]] angegeben!</span>}}</includeonly></onlyinclude>
 
}}</span>{{#if:{{{1|}}}||<span class="error">Kein Parameter in der [[Vorlage:Bahnlinie]] angegeben!</span>}}</includeonly></onlyinclude>
  
 
{{Dokumentation}}
 
{{Dokumentation}}

Version vom 21. Dezember 2024, 02:49 Uhr