View Single Post
Old 08-26-2014, 03:45 AM   #3
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The template for the advanced rule would be something like this
Code:
program:
	s = field('series_index');
	first_non_empty(
		cmp(s, 1.01, '1.png', '', ''),
		cmp(s, 2.01, '2.png', '', ''),
		cmp(s, 3.01, '3.png', '', ''),
		cmp(s, 4.01, '4.png', '', ''),
		cmp(s, 5.01, '5.png', '', ''),
		cmp(s, 6.01, '6.png', '', ''),
		cmp(s, 7.01, '7.png', '', ''),
		cmp(s, 8.01, '8.png', '', ''),
		cmp(s, 9.01, '9.png', '', ''),
		cmp(s, 9.99, '', '', 'bigger.png')
)
chaley is offline   Reply With Quote