Thread:User talk:CodeCat/Template:sw-noun/new/reply (6)

This is all getting very complicated. I think converting it into a module would help a lot, both for clarity and to reduce the duplication. In Lua you have variables which can store information so that you don't have to recreate the same forms over and over again. And Lua can also piece apart strings.