Okay, I'm working with Notepad++ right now, and the templates and groups don't go well together. Do I create another player with the name "RandomMilitia" or some other name in the file when the players are being declared? Other than "IsNormalPlayer" and the player names, what parameters should I adjust?
No, you just put "RandomMilitia" into the owner line, and set the parameter to "Always". The name RandomMilitia is already known to the game, you don't need to make a new player. That's already defined for you else where.
Here's one of my maps with a ton of customized militia if you want a reference with groups (assuming you have Rebellion). I don't remember if I used templates or not, but you should get a group working before you try templates.