I can’t really tell you. I’ve never modded unit/civ templates.
But if I were to do it, I think I’d start by looking at how a civ’s files are structured here:
https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/public/simulation/templates