Module:Video game reviews/sandbox: Difference between revisions

Content deleted Content added
Undid revision 993331255 by Izno (talk) I'm not crazy
ok, move this into renderedit
Line 262:
end
 
local function renderEditOnWikidata(wikidata, updateText, state)
if not wikidata then return end
Line 268:
:addClass(data.i18n.class.wikidata)
-- TODO: I think getUpdateLink can be made const in the other module.
:wikitext(data.i18n.editOnWikidata .. vgwd.getUpdateLink('nosub'),)
:wikitext(updateText)
if state then div:addClass('mw-collapsible-content') end
Line 356:
reviewerCount + aggregatorCount
)
renderEditOnWikidata(wikidata, args.state)
wikidata,
data.i18n.editOnWikidata .. vgwd.getUpdateLink('nosub'),
args.state
)
categorizePlatformCount(activeSystems)