Vorlage:Bahnlinie: Unterschied zwischen den Versionen

Aus Ultos
Zur Navigation springen Zur Suche springen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 7: Zeile 7:
 
   | {{#if:{{{5|}}}
 
   | {{#if:{{{5|}}}
 
   | border: 1px solid {{{5}}};
 
   | border: 1px solid {{{5}}};
 +
  | {{#switch:{{{1|}}}
 +
    | #default = display:inline-block; margin: 1px;
 
   }}
 
   }}
 
   }}
 
   }}
Zeile 12: Zeile 14:
 
}}{{#if: {{{5|}}}
 
}}{{#if: {{{5|}}}
 
  | background-color: {{{5}}};
 
  | background-color: {{{5}}};
 +
| {{#switch:{{{1|}}}
 +
  | #default = background-color: #E2001A;
 
  }}
 
  }}
 
}} -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