Template:If last display both/doc

Usage
If 2 is set, then 12 will be returned.