Yesterday I was asked to figure out what was wrong with the Season template, as it seemed to break Wikia's editor. After several hours, I managed to improve it in a way that should fix the problem. You can see the result on my user page. I propose that the current template be replaced with this one.
I can't explain the bold text, nor do I know exactly how to remove it, but I think that's a minor issue, given the ease with which this template can be used. I'll try to remove the bold text, of course, but I make no promises.
Orion (T-B-C) 23:58, February 8, 2018 (UTC)
- Wait, besides the fact that everything's in bold, what's the difference? Touchinos (talk) 00:03, February 9, 2018 (UTC)
the old one is having a few issues with visual editor. the code for it does not seem to be working with wikia any more. Orion is working on a few things for though. --ThomasNealy (talk) 00:06, February 9, 2018 (UTC)
- Mine is easier to use. The way the current template is set up requires you to copy a line of, let's call it "raw code", as opposed to the usual way templates are used. Here are some examples for comparison:
- Current version:
- {|cellspacing="0" cellpadding="3" border="1" width="95%" style="margin: 0 0 1em 1em; background: #A7A7A7; border: 1px #A7A7A7 solid; border-collapse: collapse;"
- |-
- !bgcolor="#111111"|Image
- !bgcolor="#A7A7A7"|Title
- !bgcolor="#A7A7A7"|Writer(s)
- !bgcolor="#A7A7A7"|Director(s)
- !bgcolor="#A7A7A7"|Airdate
- !bgcolor="#A7A7A7"|#
- {{Season
- |image=
- |title=
- |writer=
- |director=
- |airdate=
- |#=
- }}
- |}
- With the {{Season(...)}} bit being repeated for every episode.
- My version:
- {{Season
- |image=
- |title=
- |writer=
- |director=
- |airdate=
- |#=
- }}
- For every episode of each season. Much more intuitive, given how other templates work.
- Orion (T-B-C) 00:14, February 9, 2018 (UTC)
Support--You have my support and my thanks for your work on this. Zane T 69 (talk) 00:16, February 9, 2018 (UTC)
Comment - Oh, and for the record, I'm 99% certain I now know what's going on with the bold text, but I can't work on it until tomorrow. Today has been a tiring day, and my headache won't let me focus on much. (I have ADD, so focusing is hard enough as it is)
Orion (T-B-C) 00:18, February 9, 2018 (UTC)
support/comment - perhaps split the code in to two templates. one for the header and one for the episodes. That way the header does not repeat on each one. that is the only issue I have if it can't be done then I will live with it. I don't even mind the bold to much. getting the wiki working correctly again is more important.--ThomasNealy (talk) 00:36, February 9, 2018 (UTC)
- I think that what you want can be done, but not in the way you say. However, I don't know if I can do it. -- Orion (T-B-C) 00:41, February 9, 2018 (UTC)
- I can indeed do it in the way you say, but I'll look for a better solution. This would increase load times by a lot. -- Orion (T-B-C) 10:06, February 9, 2018 (UTC)
- Attempting to do it the way you say was a bust. I'm fairly certain the best (and only) way to do this is:
- Expanding the template so it covers 23 episodes (seasons have never been longer than 23 episodes, so that would likely cover all the possibilities), but that would also require each parameter to have a different name, depending on which episode of the season it is. It might make for more difficult editing.
- The alternative is keeping things the way they are. I'll work on the option, and we'll see how that goes.
- Orion (T-B-C) 10:24, February 9, 2018 (UTC)
- Scratch that. It'd be way too much trouble to fix all the little problems with it, and definitely not worth my time. I think just using it the way it is now is better. -- Orion (T-B-C) 10:39, February 9, 2018 (UTC)
Comment - Okay, I see it now and it's a lot cleaner. But, I just looked at your sandbox and... can you remove the "Writer:" and "Director:"? It's kind of pointless when it's already on top of the table. Also, is this gonna be the final format? Because I don't think I like it... Touchinos (talk) 00:48, February 9, 2018 (UTC)
- Done. I also centered those bits, so it looks better. -- Orion (T-B-C) 10:06, February 9, 2018 (UTC)
why does the last one look like that, where the text overlaps the pic? I like it better then before as long as the overlap is not something that can't be fixed...--ThomasNealy (talk) 19:50, February 9, 2018 (UTC)
- I can't explain it, and while I know it can be fixed, I don't know how. It'd likely require me to experiment for several hours, if not days, and possibly even study the intricacies of creating tables and templates. However, I'm simply too busy enjoying my time off college to do so. I may give it a few more shots regarding the way you proposed to have a single header, but I make no guarantees (including the guarantee that I'll try it). -- Orion (T-B-C) 19:56, February 9, 2018 (UTC)
That's my bad I did not see that you had a second template going I thought they were all the same. I like number one as it is. Can we implement it? and if you figure out the other thing then great but at least this way we have one we know works and wont glitch out on us. --ThomasNealy (talk) 20:22, February 9, 2018 (UTC)
Can I go ahead and replace the template? I will save the old one just to be safe as Template:Season/old--ThomasNealy (talk) 18:20, February 11, 2018 (UTC)