| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung |
| typo3:about:functions:optionsplit [2014/01/19 17:38] – [Beispiele] admin | typo3:about:functions:optionsplit [2017/12/05 21:37] (aktuell) – [Beispiele] admin |
|---|
| |
| === Nur ein Hauptteil mit Subparts === | === Nur ein Hauptteil mit Subparts === |
| | |
| | Hier ist es wichtig, dass zwischen ''|*||*|'' kein Leerzeichen steht – sonst gilt dieser Teil der Anweisung als gesetzt (aber leer) und die Farben werden nicht auf alle Werte angewendet (siehe "Leerer Mittelteil"). |
| |
| <code typoscript> | <code typoscript> |
| |
| <html><span style="color:red;">eins,</span><span style="color:orange;">zwei,</span><span style="color:blue;">drei,</span><span style="color:blue;">vier,</span><span style="color:blue;">fünf</span></html> | <html><span style="color:red;">eins,</span><span style="color:orange;">zwei,</span><span style="color:blue;">drei,</span><span style="color:blue;">vier,</span><span style="color:blue;">fünf</span></html> |
| | |
| | ---- |
| |
| === Nur zwei Hauptteile === | === Nur zwei Hauptteile === |
| |
| <html><span style="color:red;">eins,</span><span style="color:orange;">zwei,</span><span style="color:blue;">drei,</span><span style="color:green;">vier,</span><span style="color:blue;">fünf,</span><span style="color:green;">sechs,</span><span style="color:blue;">sieben</span></html> | <html><span style="color:red;">eins,</span><span style="color:orange;">zwei,</span><span style="color:blue;">drei,</span><span style="color:green;">vier,</span><span style="color:blue;">fünf,</span><span style="color:green;">sechs,</span><span style="color:blue;">sieben</span></html> |
| | |
| | ---- |
| ==== optionSplit mit stdWrap.split ==== | ==== optionSplit mit stdWrap.split ==== |
| | |