Module:Navbox: Difference between revisions

Ganaram inukshuk (talk | contribs)
m function name correction
Ganaram inukshuk (talk | contribs)
m remove bg-color from headerless row cells
Line 29: Line 29:
-- Row data is a child navbox
-- Row data is a child navbox
row = row
row = row
.. '<td style="width:5%; text-align:center; background-color:#eaecf0; white-space:nowrap; padding:0em; border:1px solid white" colspan="2">\n'
.. '<td style="width:5%; text-align:center; white-space:nowrap; padding:0em; border:1px solid white" colspan="2">\n'
        .. row_data
        .. row_data
    .. '</td>\n'
    .. '</td>\n'
Line 35: Line 35:
-- Row data is normal data
-- Row data is normal data
row = row
row = row
.. '<td style="width:5%; text-align:center; background-color:#eaecf0; white-space:nowrap; padding:0em; border:1px solid white" colspan="2">\n'
.. '<td style="width:5%; text-align:center; white-space:nowrap; padding:0em; border:1px solid white" colspan="2">\n'
        .. '<div style="padding:0.25em 0.5em">' .. row_data .. '</div>\n'
        .. '<div style="padding:0.25em 0.5em">' .. row_data .. '</div>\n'
    .. '</td>\n'
    .. '</td>\n'