Module:PastWikithons
From BASAbaliWiki
Documentation for this module may be created at Module:PastWikithons/doc
local p = {} function p.display( frame ) html = '' -- https://github.com/SemanticMediaWiki/SemanticScribunto/blob/master/docs/README.md local result = mw.smw.ask { '[[Category:Article]]', '[[Competition::+]]', '?Competition', limit = 10, mainlabel = '-' } if result and #result then for num, entityData in pairs( result ) do html = html .. entityData['Competition'] end end return html end return p