Issue:First "column" not top-aligned

From FollowTheScore
Jump to: navigation, search
Description: Using the column= feature, the first column is not top-aligned.
Extension / Version: DPL   /   1.6.3
Type / Status: Bug   /   open

Problem

The column= feature creates output in columns. All of these columns are created as <td valign="top">, but the first one is not. Presumably someone thought that the first column would always be the longest, which is true for simple lists, but it is not true for the custom template output we use that does not have a fixed height per item. (The template creates what appears to be more than one item to the viewer at times.)

In short:

When using the column= feature, the first table column starts with <td>.
It should start with <td valign="top"> like the other columns.

Example:

<dpl>
  category=Daggers
  uses=Template:WeaponInfo
  columns=5
  includepage={WeaponInfo}.gallery
  format=,,,
</dpl>

Template Weaponinfo.gallery creates output of varying height. Depending on the data, the first column is not top-aligned, leaving a space at the top.


Reply