Jump to content

Module:Shortcut box: Difference between revisions

From escforumwiki
Santos (talk | contribs)
m 1 revision imported
 
(No difference)

Latest revision as of 20:46, 14 March 2018

local export = {}

function export.show(frame) local output = {} local args = frame:getParent().args local demo = false

local FULLPAGENAME = mw.title.getCurrentTitle().fullText local BASEPAGENAME, SUBPAGENAME = FULLPAGENAME:match("^(.-)/([^/]-)$") -- BASEPAGENAME = BASEPAGENAME or FULLPAGENAME

if FULLPAGENAME == frame:getParent():getTitle() then demo = true end

output[#output + 1] = '

'

return table.concat(output) end

return export

MediaWiki spam blocked by CleanTalk.