That syntax is parameter expansion:
${parameter:-word}
If parameter is unset or null, the expansion of word is substituted. Otherwise, the value of parameter is substituted.
So if $1 is unset or null, it evaluates to "/tmp" and to the value of $1 otherwise.