Content deleted Content added
remove fixed table width |
move table descriptions to caption element; add zero-width joiner character around en-dash to prevent line breaks |
||
Line 55:
return
'{| class="wikitable" style="text-align:center;"\
.. '|' .. tableHeaderInfo.division .. ']]\
|- \
! width="45%" | Team \
! width="6%" | [[Win (baseball)|W]]\
! width="6%" | [[Loss (baseball)|L]]\
Line 69 ⟶ 71:
return
'{| class="wikitable" style="text-align:center;"\
|- \
! width="66%" | Team\
! width="10%" | [[Win (baseball)|W]]\
! width="10%" | [[Loss (baseball)|L]]\
Line 79 ⟶ 83:
return
'{| class="wikitable" style="text-align:center;"\
|- \
! width="64%" | Team \
! width="8%" | [[Win (baseball)|W]]\
! width="8%" | [[Loss (baseball)|L]]\
Line 96 ⟶ 102:
return
'{| class="wikitable" style="text-align:center;"\
' for postseason)</small>\
|- \
! width="64%" | Team \
! width="8%" | [[Win (baseball)|W]]\
! width="8%" | [[Loss (baseball)|L]]\
Line 115 ⟶ 123:
|| ' .. teamRowInfo.winningPercentage .. '\
|| ' .. teamRowInfo.gamesBehind .. '\
|| ' .. teamInfo.homeWins .. '‍–‍' .. teamInfo.homeLosses ..'\
|| ' .. teamInfo.roadWins .. '‍–‍' .. teamInfo.roadLosses .. '\n'
end, -- function generateTeamRow.default()
|