DPL talk:Gallery
From FollowTheScore
- Actually I have a problem with the german version of this DPL-Table (http://de.wiki-products.org/Treibstoffverbrauch_von_PKWs_im_Vergleich). In the first column there is an automatical line breake in the name of the models. This doesn't look very good and I would prefer that the width of the column is adjusted (like in the english version...http://en.wiki-products.org/Fuel_economy). I have no clue why they are different at all. Can somebody help? --Gollum2 13:49, 14 October 2007 (CEST)
- I resolved the problem by entering white underscores "_" between the words. This however seems not the best solution to the problem... However, it works... --Gollum2 13:59, 14 October 2007 (CEST)
- There is a html parameter called "nobr" for that purpose. Maybe you can use that.
- Another specific question: Is it possible to tell dpl to sort the table according to the paramaters in the second column when the page is first loaded? This would really make sense for this example. --Gollum2 14:01, 14 October 2007 (CEST)
- you could add a hidden first column, see http://en.wikipedia.org/wiki/Help:Sorting#Sorting_with_hidden_sortkey
- Gero 21:56, 14 October 2007 (CEST)
- Great! Thanks that is exactly what I needed. Next weekend I will try to put it in use.--Gollum2 22:49, 14 October 2007 (CEST)