code: function(_tpl,_map){
              _map = _map||_o;
              return _tpl.replace(_reg1,function($1,$2){
                  var _arr = $2.split('|');
                  return _map[_arr[0]]||_arr[1]||'0';
              });
          }
docs: merge template and data