Support and General Use > Theming and Appearance Customization

[solved] Alternating inside conditionals breaks WPS

(1/1)

madsic:
The following breaks my WPS:

--- Code: ---%?It<%t3next up is... ;%t9"%It">
--- End code ---
whereas the alternating and the conditional by themselves work fine:

--- Code: ---%t3next up is... ;%t9"%It"
--- End code ---

--- Code: ---%?It<"%It">
--- End code ---
Is this a bug or am I doing it wrong?

Llorean:
Alternating sublines alternates whole lines. That means you can't place them inside a conditional. After each %t you need to have a whole "line", so you'll need multiple copies of the conditional, one for each alternating line.

madsic:
Thanks, Llorean.

For future reference, the wrking version looks like this:

--- Code: ---%t3%ac%?Fm<next up is...|end of playlist>;%t9%ac%?Fm<%?It<"%It"|"%Fm">|end of playlist>
--- End code ---

Navigation

[0] Message Index

Go to full version