User talk:Werdnae/Archive 4: Difference between revisions

Line 650: Line 650:
:Sorry for the delay, I made [[Template:Learnlist/breedh/6|the template]]. There's a list of parameters on the talk page of it, but it works in much the same way the headers for the other sections do. The code is reasonably straightforward, especially compared to the existing/generic ones. I've been trying to improve the 'readability' of our templates anyway, not only removing redundant code but also simplifying the code to make it easier to see what is going on. A lot of the older templates are excessively complex. I'm working my way through them, it's generally quicker and easier to build a new one from scratch than fix the existing ones. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 08:10, 7 November 2013 (UTC)
:Sorry for the delay, I made [[Template:Learnlist/breedh/6|the template]]. There's a list of parameters on the talk page of it, but it works in much the same way the headers for the other sections do. The code is reasonably straightforward, especially compared to the existing/generic ones. I've been trying to improve the 'readability' of our templates anyway, not only removing redundant code but also simplifying the code to make it easier to see what is going on. A lot of the older templates are excessively complex. I'm working my way through them, it's generally quicker and easier to build a new one from scratch than fix the existing ones. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 08:10, 7 November 2013 (UTC)
:Thanks for create the new template of Generation VI breeding, but it seem the [[Template:Learnlist/breedf]] seems need to edit (or just create a breedf design for Gen VI, as i not good at create template......), otherwise it will have some display problem. example---->[http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_(Pok%C3%A9mon)&oldid=2009756] -- [[User:chungkingpun]] 13:10, 9 November 2013 (UTC)
:Thanks for create the new template of Generation VI breeding, but it seem the [[Template:Learnlist/breedf]] seems need to edit (or just create a breedf design for Gen VI, as i not good at create template......), otherwise it will have some display problem. example---->[http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_(Pok%C3%A9mon)&oldid=2009756] -- [[User:chungkingpun]] 13:10, 9 November 2013 (UTC)
::This is actually a problem for all of the Gen VI learn tables except level.  It's because, previously, the non-level tables weren't sortable, so they didn't actually have an extra table within them.  (See [http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_%28Pok%C3%A9mon%29&oldid=1950603#By_TM.2FHM old and nonsortable] vs [http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_%28Pok%C3%A9mon%29&oldid=2009764#By_TM.2FHM new and sortable].)  Since level has always (or for at least some of Gen V) been sortable, its footer deals with that extra table just fine, but the other footers don't and you have to add an extra |} (before or after the footer) to complete the tables properly.
::There's a couple ways it could be solved outside of always adding the |}.  One would be to make ''all'' the Gen 5 headers sortable and then make all the footers close that properly.  Another way would be to just create a Gen VI footer template for the non-level tables (and maybe a redirect to the Gen V one for the level footer) that closes the tables properly.  (I'm honestly for making all the Gen V tables sortable, for consistency.)
::But either way, the question arises: what ''is'' the "proper" way to close the sortable tables?  If you look closely at where the footer meets the main part of the learn tables, you'll see that, [http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_%28Pok%C3%A9mon%29&oldid=2009764#By_leveling_up for level], there's actually a tiny space (a line of green) before the footer, while [http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_%28Pok%C3%A9mon%29&oldid=2009764#By_tutoring for tutoring] or any other non-level table, there's no space.  The difference is, the level footer closes  the sortable table before making the footer (and then closing the whole table), whereas the closing |}'s jury-rigged for Gen VI tables have all (at least on Bulbasaur's page) been placed at the very end, rather than before the footer, so that the footer becomes part of the sortable table.  Which is "proper"?  Because they should really be consistent; either the level footer should remove the space or the non-level tables should prefer having the space.  (If you look back again at the [http://bulbapedia.bulbagarden.net/w/index.php?title=Bulbasaur_%28Pok%C3%A9mon%29&oldid=1950603#By_tutoring old, nonsortable] tables, you'll also see that, the way they were done, they always had that little line of green before the footer.)
::Overall, I think I'm for just creating properly-closing Gen VI footers and for the footers being separate from the sortable tables. Sometime today, I'll mock that up in my userspace and see if you approve, Werdnae.  (Feel free to refer it directly to another staff member if necessary, or tell me who I should take it to.)  If they're good, then we can move them to the mainspace and start using them in articles. [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 15:35, 9 November 2013 (UTC)


== Name Change Request ==
== Name Change Request ==