You can't just put in a variable - you would need to define it first which means you would need to run a query to get that information. So, you will need to add a PHP module and in the module run the query and then output the results to your module. (Or, if you don't want to write a query, then do an HTML module for each of those channels that have moderators.)