Fixed NewExperiment command. Added template parameter substitution function, simulating mediawiki template substitution.