.htaccess rewrite wildcard subsubdomain and params
===

I'm trying to write a mod_rewrite to work like this

 - `wildcard.subdomain.domain.com` => `subdomain.domain.com/data.php?q=wildcard`
 - `wildcard.subdomain.domain.com/?repeat=1` => `subdomain.domain.com/data.php?q=wildcard&repeat=1`
 - `subdomain.domain.com` => `data.php`
 - `www.subdomain.domain.com` => `data.php`

What I've done so far in my .htaccess

    <IfModule mod_rewrite.c>
      Options +FollowSymlinks
      RewriteEngine On
      RewriteCond %{HTTP_HOST} ^([^.]+)\.videos\.href\.com\.br$ [NC]
      RewriteCond %1 !^(www)$ [NC]
      RewriteRule ^.*$ data.php?q=%1 
    </IfModule>`