Module:Video game reviews/sandbox: Difference between revisions

Content deleted Content added
heh
per fitz's
Line 264:
:addClass(data.i18n.class.wikidata)
:addClass(state and 'mw-collapsible-content' or nil)
:wikitext(data.i18n.display.editOnWikidata .. vgwd.getUpdateLink('nosub'))
-- TODO: I think getUpdateLink can be made const in the other module.
:wikitext(data.i18n.display.editOnWikidata .. vgwd.getUpdateLink('nosub'))
:done()
end
Line 303 ⟶ 302:
)
local div = mw.html.create('div')
:attr('role', 'complementary')
:addClass(data.i18n.class.container)
:addClass(#activeSystems == 0 and data.i18n.class.containersingle or nil)
Line 348:
local wikidata = false
 
vgwd.setDateFormat(args['"df'"])
vgwd.setGame(args['"qid'"])
vgwd.setSystem(nil)
vgwd.setGenerateReferences(true)
vgwd.setShowUpdateLink(false)
vgwd.setUpdateLinkStyle("text and pen")
vgwd.setSystemFormat(args['"systemFormat'"])
 
-- Loop through aggregators if we have any.