Er... You must get the value in PHP, it won't work in template files
If you need the value in a template, you should edit the widget class that is linked with the template and declare there a method retrieving the setting. And then use that method name in the template.