Quote:
Originally Posted by travger
I peeked into other example and have now:
{#awards:switch(Hugo win,orange,Nebula win,orange,Hugo nom,teal,Nebula nom,teal,Hugo win,goldenrod,Nebula win,goldenrod,Hugo nom,goldenrod,Nebula nom,goldenrod,win,blue,nom,green,black)}
It does mostly what I want - Hugo & Nebula rule over others if present.
But condition 3, if book has won one of them and nominated to other, won't behave. I just have no idea how to express
if has 'Hugo', 'win' & 'nom', then goldenrod
H N win rules and it stays orange.
TIA
|
Switches tend to fire off on the first found in the list.
Your Both tests need to be done first.
That is your priority Bias