Board Thread:Support Requests - Getting Technical/@comment-366087-20131025004158/@comment-1158325-20131025224427

Well, as a general algorithm for doing that sort of thing, you'd factor out the common elements, and then anything that depends on which template you want to use (border color, image, pieces of text) would use another switch on the specified type to determine what to do. Then you would just onlyinclude the whole thing (and that's only so that the template page doesn't look messy - you don't really need to worry about that kind of thing until you're done). Does that help?