Template:Four digit

Usage

 * gives 0001
 * gives 0012
 * gives 0123
 * gives 1234