I work on a fictional war wiki and want to add campaginboxes and military navigation but whenever I try I just get script errors and broken templates. I was wondering if anyone can help?

The underlying problem is that Wikia's version of LUA does not have all the features that the Wikipedia version has. This affects the handling of arguments. I see two different solutions:
  1. You can look through the edit history of the template you are interested in, and copy the last version before the conversion to LUA. This will work for old templates. You could also check Familypedia, and see if we are still using on old version.
  2. You could copy the template and associated module(s) from Wikipedia, and fix the argument handling code. I think I have got that to work sometimes.
Thurstan (talk) 20:26, February 27, 2021 (UTC)