Vorlage:Bahnlinie: Unterschied zwischen den Versionen

Aus Ultos
Zur Navigation springen Zur Suche springen
Zeile 7: Zeile 7:
 
   | {{#if:{{{5|}}}
 
   | {{#if:{{{5|}}}
 
   | border: 1px solid {{{5}}};
 
   | border: 1px solid {{{5}}};
 +
  | {{#switch:{{{1|}}}
 +
    | F  = border: 1px solid #009EDB;
 +
    | DB = border: 1px solid #00560E;
 +
    | AVG = border: 1px solid #00563E;
 +
    | #default = display:inline-block; margin: 1px;
 
   }}
 
   }}
 
   }}
 
   }}
Zeile 12: Zeile 17:
 
}}{{#if: {{{5|}}}
 
}}{{#if: {{{5|}}}
 
  | background-color: {{{5}}};
 
  | background-color: {{{5}}};
 +
| {{#switch:{{{1|}}}
 +
  | IRE | RE = 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|}}}

Version vom 21. Dezember 2024, 02:43 Uhr