Slider variable can be passed directly to the template
Added XHTML template and deleted TPL