Board Thread:Support Requests - Getting Technical/@comment-27704998-20160607002600

I know I've been posting a lot of threads recently, but you all have been very helpful, and for that I would like to thank you.

Now that I think I've got my template basics worked out, I want to make sure I'm not missing anything critical before I start making templates for other types of pages and adding all sorts of visual improvements. So, I'd appreciate if you could look over my whole template and make sure I've got it sorted. It's heavily commented, so hopefully it should be easy to parse. Sorry if the comments are very basic-seeming to a lot of you; they'll seem more complicated to the other users on my wiki (or to myself in a year when I've forgotten how it works).

This is a bit long, so if you only help me on a single point, that's hunky-dory.

I do have a few specific areas I'd like to make certain I'm doing right. These are:

1. Error handling. I've got else statements for everything, and some of them work in different ways. For values that must be filled in, I have red text and the article gets added to the "Clean Up" category. For others, I just have default text (eg. "N/A"). Are there any other types of errors or mistakes that I can and should account for? And, are both of these approaches acceptable?

2. Server load. I'd like to include a picture of a gold coin next to the cost of things, and currently I'm doing that with a regular link. Is this the best method for the server and load times? Also, is there a way to have the image size scale with the text? Currently it's set to "10px", which won't look good at different zoom levels. I tried "1em" and that didn't work.

3. Tables and portability. I know that tables aren't recommended for mobile, but I frankly could not figure out how to make the new infobox markup do what I wanted (ie a full-page template, with a mix of tables, text, and images in varying places), so I went with what I could realistically make on my own. What can I do to improve the portability of my tables (eg. 30% width instead of 275px) that will look good on both platforms? Are there some serious mobile considerations that I have missed? I don't use mobile, so I have no idea.

4. Best practices. I've named all my variables the same way (fairly descriptive, no caps, no spaces), and have tried to have as many different pieces of syntax with identical functionality as possible. I made a documentation page. I've also done a lot of commenting. Are there practices I should be doing, or am doing wrong?

5. Anything I don't know enough about to know I'm doing wrong.  