Модуль:Football: различия между версиями
Внешний вид
Andrew (обсуждение | вклад) Нет описания правки |
Andrew (обсуждение | вклад) Нет описания правки |
||
| Строка 687: | Строка 687: | ||
if _ ~= #highlights then | if _ ~= #highlights then | ||
nextCount = highlights[_+1] | nextCount = hl.place - highlights[_+1].place | ||
end | end | ||
if nextCount | if nextCount > 0 then | ||
nextStanding.highlightCount = nextCount | nextStanding.highlightCount = nextCount | ||
nextStanding.highlightText = "" | nextStanding.highlightText = "" | ||
end | end | ||
mw.log("nextStanding", nextStanding); | |||
mw.log("nextCount", nextCount); | |||
mw.log("_", _); | |||
mw.log("hl", hl.text); | |||
end | end | ||
end | end | ||