Module:Video game reviews/sandbox: Difference between revisions

Content deleted Content added
ditch the done?
make it happy?
Line 194:
 
local caption = data.i18n[reviewerCount == 1 and 'reviewScore' or 'reviewScores']
local stacked =
builder:tag('caption')
:wikitext(caption)
if :addClass(priorReviewCount > 0 thenand builder:addClass(data.i18n.class.stacked) endor nil)
:done()
if priorReviewCount > 0 then builder:addClass(data.i18n.class.stacked) end
if #activeSystems ~= 0 then
Line 234 ⟶ 235:
builder:tag('caption')
:wikitext(data.i18n[#awardKeys == 1 and 'award' or 'awards'])
if :addClass(priorReviewCount > 0 thenand builder:addClass(data.i18n.class.stacked) endor nil)
:done()
if priorReviewCount > 0 then builder:addClass(data.i18n.class.stacked) end
builder:tag('tr')