Discussion utilisateur:Poke

De Guild Wars 2 Wiki
Aller à la navigation Aller à la recherche

Page Bijoutier[modifier]

Thank you very much Poke for the correction of the template! --IruleManik 9 mai 2013 à 20:28 (CEST)

You’re welcome :) You might want to avoid manual HTML table tags in the future though ;) poke | talk 9 mai 2013 à 20:30 (CEST)
Oke, thanks for the tip! If you have time, could you help us with something else? Since the update, we're having a little problem with wikitable using the sortable class and any class from the STDT template. It looks like the "!" is no more understand as header text in this case, as showed by the table below :
{|{{STDT|mech1 sortable}}
! test  
! test
|-
|test
|test
|}
test test
test test
But it works well if there's no sortable, do you have any idea of where it can come from? Thanks very much if you can!! --IruleManik 9 mai 2013 à 20:50 (CEST)
Yeah, that’s basically the same problem we had. It’s because the new sortable script included in MediaWiki puts the headers where the sort icon is added to inside of thead-tags. Our style, and I guess yours as well, was using rules like .table > tbody > tr > :first-child to get the first row and color that. Now when the actual header row moves to the thead tag, then the CSS rule will pick up the first row in the table body, i.e. not the table header.
To fix this, you can change the tbody part of the selector to * to accept either a tbody or a thead element. If it helps, you can also take a look at the changes we made to our CSS to fix this. poke | talk 9 mai 2013 à 21:07 (CEST)
Ok! I'll tell our sysops to make the changes. Thank you very much Poke, you have been a great help for us! :) --IruleManik 9 mai 2013 à 22:37 (CEST)