tpl::set($key, $value = null)