#Count 1,2,3

1 messages · Page 1 of 1 (latest)

haughty rampart
#

Is there an easier way to cycle through the digits 1, 2 and 3 every time this template is evaluated than this?

{% set n = 0 if n is not defined else n %}
{% set n = n + 1 %} 
{% set n = 1 if n == 4 else n %} 
{{ n }} 
sick geyser
#

... The fuck are you up to? :p

#

But no, I don't think so

jade bay
haughty rampart
#

Never mind.

#

They have no idea how to explain what they want.