dynamic td template directive base