{{If first display both|1|2}}

If 1 is set, then 12 will be returned.

change