Benutzer:Final.countdown/Kamelbau/Test: Unterschied zwischen den Versionen

aus Kamelopedia, der wüsten Enzyklopädie
Zur Navigation springen Zur Suche springen
K (→‎#var: mit Parameter)
K (→‎#var: mir schwant da was)
Zeile 10: Zeile 10:
 
</source>
 
</source>
  
== #var ==
+
== #switch ==
 
<onlyinclude>
 
<onlyinclude>
{{#vardefine:X|{{{1|S5}}}}}{{#vardefine:Y|{{{2|S51}}}}}
+
{{#switch:{{{1}}}{{{2|}}}{{{3|}}}
 
+
|S1=[[Linie S1|<span style="color:white; background-color:#008e50; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S1&nbsp;</span>]]
{{#switch:{{#var:X}}{{#var:Y}}
+
|S11=[[Linie S11|<span style="color:white; background-color:#008e50; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S11&nbsp;</span>]]
|S5S51=S5, S51
+
|S2=[[Linie S2|<span style="color:white; background-color:#804387; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S2&nbsp;</span>]]
|S5S52=S5, S52
+
|S3=[[Linie S3|<span style="color:white; background-color:#00907a; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S3&nbsp;</span>]]
|S51S52=S51, S52
+
|S31=[[Linie S31|<span style="color:white; background-color:#00907a; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S31&nbsp;</span>]]
|S5S51S52=S5, S51, S52
+
|S32=[[Linie S32|<span style="color:white; background-color:#00907a; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S32&nbsp;</span>]]
|#default='''Fehler!''' Bitte geben Sie einen gültigen Parameter an!
+
|RNS4=[[Linie S3#Rhein-Neckar S-Bahn-Linie S4|<span title="Linie S4 (S-Bahn RheinNeckar)" style="color:White; background-color:#22B24C; font-weight:bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S4&nbsp;</span>]]
}}
+
|S4=[[Linie S4|<span style="color:white; background-color:#760d37; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S4&nbsp;</span>]]
</onlyinclude>
+
|S41=[[Linie S41|<span style="color:white; background-color:#760d37; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S41&nbsp;</span>]]
 +
|S5=[[Linie S5|<span style="color:#141414; background-color:#e17b7c; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S5&nbsp;</span>]]
 +
|S51=[[Linie S51|<span style="color:#141414; background-color:#e17b7c; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S51&nbsp;</span>]]
 +
|S52=[[Linie S52|<span style="color:#141414; background-color:#e17b7c; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S52&nbsp;</span>]]
 +
|S6=[[Linie S6|<span style="color:white; background-color:#3d2d7c; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S6&nbsp;</span>]]
 +
|S7=[[Linie S7|<span style="color:black; background-color:#fff90a; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S7&nbsp;</span>]]
 +
|S8=[[Linie S8|<span style="color: white; background-color:#4d4f23; font-weight: bold; white-space:nowrap; border-radius: 0.4em;">&nbsp;S8&nbsp;</span>]]
 +
|S9=[[Linie S9|<span style="color:#141414; background-color:#e9a085; font-weight: bold; border-radius: 0.4em;">&nbsp;S9&nbsp;</span>]]
 +
|1=[[Linie 1|<span style="color:white; background-color:#cb0b27;font-weight: bold; white-space:nowrap;">&nbsp;1&nbsp;</span>]]
 +
|2=[[Linie 2|<span style="color:white; background-color:#004d95; font-weight: bold; white-space:nowrap;">&nbsp;2&nbsp;</span>]]
 +
|2E=[[Linie 2E|<span style="color:white; background-color:#004d95; font-weight: bold; white-space:nowrap;">&nbsp;2E&nbsp;</span>]]
 +
|3=[[Linie 3|<span style="color:white; background-color:#70582c; font-weight: bold; white-space:nowrap;">&nbsp;3&nbsp;</span>]]
 +
|4=[[Linie 4|<span style="color:white; background-color:#f1c21f; font-weight: bold; white-space:nowrap;">&nbsp;4&nbsp;</span>]]
 +
|5=[[Linie 5|<span style="color:white; background-color:#18a6d9; font-weight: bold; white-space:nowrap;">&nbsp;5&nbsp;</span>]]
 +
|6=[[Linie 6|<span style="color:white; background-color:#63b631; font-weight: bold; white-space:nowrap;">&nbsp;6&nbsp;</span>]]
 +
|6E=[[Linie 6E|<span style="color:white; background-color:#63b631; font-weight: bold; white-space:nowrap;">&nbsp;6E&nbsp;</span>]]
 +
|7=[[Linie 7|<span style="color:white; background-color:#626564; font-weight: bold; white-space:nowrap;">&nbsp;7&nbsp;</span>]]
 +
|8=[[Linie 8|<span style="color:white; background-color:#dc6727; font-weight: bold; white-space:nowrap;">&nbsp;8&nbsp;</span>]]
 +
|9=[[Linie 9|<span style="color:white; background-color:#626564; font-weight: bold; white-space:nowrap;">&nbsp;9&nbsp;</span>]]
 +
|16=<span style="color:white; background-color:#FF1493; font-weight: bold; white-space:nowrap;">&nbsp;16&nbsp;</span>
 +
|17=<span style="color:white; background-color:#A52A2A; font-weight: bold; white-space:nowrap;">&nbsp;17&nbsp;</span>
 +
|18=<span style="color:white; background-color:#006400; font-weight: bold; white-space:nowrap;">&nbsp;18&nbsp;</span>
 +
|#default=<span style="white-space:nowrap; color:#cb0b27;">'''Fehler!''' Bitte geben Sie einen gültigen Parameter an!</span>
 +
}}</onlyinclude> ← nicht wundern, das ist nur der #default-Wert, der bei leerem Parameter angezeigt wird…

Version vom 5. April 2011, 20:16 Uhr

altes Zeugs bis 15. Dezember 201024. Dezember 2010

vector.css

.buschtrommel-list-time { color:#abdcefg !important } /* die Zeit */
.buschtrommel-kamelname { color:#abdcefg !important } /* die Namen */
.buschtrommel-list-message { color:#abdcefg !important } /* der Text */

#switch

Fehler! Bitte geben Sie einen gültigen Parameter an! ← nicht wundern, das ist nur der #default-Wert, der bei leerem Parameter angezeigt wird…