Planetary Industry Templates

I am getting strange errors after testing the new template function. Cannot submit changes.