Forum:How to get wikiname/subdomain?

Can anyone shed some light on how I can get the current sitename/wikiname/subdomain (not quite sure what to call it) for use in a conditional statement, such as:

Now obviously the above does not work... So what am I missing here?

Thanks —RyaNayR (talk) 08:11, December 3, 2013 (UTC)