• Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template talk:EpisodePrevNext"

Wikisimpsons - The Simpsons Wiki
(Rewritement: why to break long line)
(Rewritement)
Line 41: Line 41:
  
 
Well. Check these diffs: [https://simpsonswiki.com/w/index.php?title=Template:EpisodePrevNext&diff=786311&oldid=782330] [https://simpsonswiki.com/w/index.php?title=Template:EpisodePrevNext&diff=790528&oldid=790497] Which one is more readable? :-) --[[User:2F13|2F13]] ([[User talk:2F13|talk]]) 15:23, July 10, 2017 (EDT)
 
Well. Check these diffs: [https://simpsonswiki.com/w/index.php?title=Template:EpisodePrevNext&diff=786311&oldid=782330] [https://simpsonswiki.com/w/index.php?title=Template:EpisodePrevNext&diff=790528&oldid=790497] Which one is more readable? :-) --[[User:2F13|2F13]] ([[User talk:2F13|talk]]) 15:23, July 10, 2017 (EDT)
 +
:Yeah. I guess I see your point know. Ok. Tomorrow I'll start improving the templates. / [[User:Loco87|'''<font color=chocolate><font face="Agency FB"><font size="4">Loco</font></font></font><font color=00C87B><font face="Agency FB"><font size="4">87</font></font></font>''']] <sup>([[User talk:Loco87|<font color=grey><font face="Courier New">'''TALK'''</font></font>]] / [[Special:Contributions/Loco87|<font color=navyblue><font face="Century Gothic">Contribs</font></font>]])</sup> 15:55, July 10, 2017 (EDT)

Revision as of 14:55, July 10, 2017

This is a talk page, where you can leave messages and comments about the EpisodePrevNext template.

Please sign and date your posts using four tildes (~~~~).
New discussion topics go at the bottom of the page.
New to Wikisimpsons? Welcome!
This is not a forum for general discussion about the article's subject. Only talk about edits to the article. If you want to ask questions about the content, ask on Wikisimpsons Answers.

Some talk page guidelines:

Be polite
Assume good faith
No personal attacks
Don't bite the newcomers!

Done

Done. And it looks good. Feel free to make any changes to it. Code for moz bit is in the border template thingies. ☆The Solar Dragon (Talk)☆ 05:26, April 5, 2010 (UTC)

Wouldnt it look better without 'moz-border-readius'?--Smiley12 was here at 05:30, April 5, 2010 (UTC)
I don't know. You can change it if you think so. Template:Border-radius, Template:Border-radius2. Change it there. Also, what about episodes like Kamp Krusty (Episode)? I would like to remove the (Episode) bit from the template too. ☆The Solar Dragon (Talk)☆ 05:32, April 5, 2010 (UTC)
How bout now, I just thought it would fit better with the tab border--Smiley12 was here at 05:36, April 5, 2010 (UTC)
Looks all right. We still have to think of a way around the episodes with something at the end (Episode) for example. And, do them for all the other tabs too... I just remembered that. ☆The Solar Dragon (Talk)☆ 05:38, April 5, 2010 (UTC)
Maybe move 'Kamp Krusty' to 'Kamp Krusty Location' and move 'Kamp Krust (episode)' to 'Kamp Krusty' --Smiley12 was here at 05:40, April 5, 2010 (UTC)
New Kid on the Block Same here. ☆The Solar Dragon (Talk)☆ 05:48, April 5, 2010 (UTC)
What about for Good Night?--Smiley12 was here at 05:49, April 5, 2010 (UTC)
Got our source for the problem. Too long page names. Only need to correct it now. Need a way to stretch the middle box as well as shrink the other two as well. ☆The Solar Dragon (Talk)☆ 06:00, April 5, 2010 (UTC)

Trying to get a solution. Here. Hopefully someone will help out. ☆The Solar Dragon (Talk)☆ 06:05, April 5, 2010 (UTC)

All sorted now, thanks to Joey. For the pages with brackets at the end, just add in the episode name at the end. Same goes for all the other tabs too. They all work now. ☆The Solar Dragon (Talk)☆ 11:19, April 5, 2010 (UTC)

Awesome --Smiley12 was here at 20:07, April 5, 2010 (UTC)

Larger and smaller boxes

This template looks like this in many pages. One box is larger than the other, making the center box be unaligned. How can that be sorted out? — TheHomer 21:51, June 21, 2010 (UTC)

Here is another example. — TheHomer 22:20, June 21, 2010 (UTC)
I know. You could try asking on Community Central forums. The Solar Dragon (Talk - Contribs.) 05:11, June 22, 2010 (UTC)
I asked at the forum and a wikia stuff emeber fixed it. — TheHomer 00:12, June 23, 2010 (UTC)

Rewritement

This template is looong and hard to maintain. I added line breaks and now it is easier to edit and any changes can be see well. In the second step the three identical "episode title=episode number" lists will be replaced by three template call. --2F13 (talk) 12:29, July 9, 2017 (EDT)

First of all, it's true the template is long. But it's not that hard to maintain. I (and LPNintendoITA) have been the main users who have updated it regularly during the last months and, in my case, I think it's easy to maintain it (I don't know if it was hard for LPN 'cause I'm not him and I can't know it). I've also often used my bot to update the template. That being said, I don't see any problem in keeping the template the way it is now (after your latest edits). I think in fact nothing changed, it's the same. / Loco87 (TALK / Contribs) 10:14, July 10, 2017 (EDT)
Okay, it is not hard to find something in a 20 kB long line for some of us. :-) However I spent half an hour while I found every location where "HOMЯ" had to be fixed. I got nervous a bit.
It is quite lucky however that you don't see any change therefore you have no reason to disagree my last edit. The matter of my change will be clear as soon as a new title will be added.
Step two. Currently the template contains 3 times the same title list. Any book about programming discourages this. I'll create some new – much shorter but compatible – templates then I'll ask your opinion. --2F13 (talk) 10:47, July 10, 2017 (EDT)
1)When I've said I see no changes, I meant that you only made changes on the presentation/style of the code, in other words, that the template was just the same code (a bit) clearer. 2) "Currently the template contains 3 times the same title list. Any book about programming discourages this. I'll create some new – much shorter but compatible – templates" It's a good idea. I'd like to help with that. That would be a great improvement. There's a problem though with some aspects: 1)in the gags prevnext template, not every episode appears because not every episode has gags tabs and 2) There's a problem with "The Great Phatsby"(I think this problem just affects this episode), as some tabs are shared by pt1 and pt2 and other tabs are different for pt1 and pt2. Other than that, it will be great to have these three template. / Loco87 (TALK / Contribs) 12:45, July 10, 2017 (EDT)
I've made my versions of the templates and they work. Look at them and, if you think something could be done to improve them, just say it. I will keep them under my userspace until I think they can be used officially. I have to check they work with every tab. I only have checked the general tab. / Loco87 (TALK / Contribs) 13:32, July 10, 2017 (EDT)
I planned the very same with two differences.
1. Its name should be more expressive like TitleToEpisodeNumber or so.
2. I'd break the long line. :-)
An other template called EpisodeNumberToSeason is also needed. (It will consist some log2(28) if-then-else constructs.) Then the season will be retrieved from title in two steps.
I'll have some spare time to do this at the weekend only. Please be patient. :-) --2F13 (talk) 13:51, July 10, 2017 (EDT)
I've created the "PrevNextListSeason" template (name will get changed once it's official). I like your idea of making it more efficient by using the episode number. I'll try to work on that during this week. / Loco87 (TALK / Contribs) 15:18, July 10, 2017 (EDT)

Well. Check these diffs: [1] [2] Which one is more readable? :-) --2F13 (talk) 15:23, July 10, 2017 (EDT)

Yeah. I guess I see your point know. Ok. Tomorrow I'll start improving the templates. / Loco87 (TALK / Contribs) 15:55, July 10, 2017 (EDT)