FANDOM


local p = {}
 
function p.test()
local link = mw.html.create('a')
link
:attr('href','/wiki/bananas')
:wikitext('testlink')
return tostring(link)
end
 
function p.vars()
return tostring(mw.uri)
end
 
function p.gen()
local num = {}
for i=0, 5 do
num[i] = i
end
return tostring(num[1].."\n"..num[2].."\n"..num[3].."\n"..num[4].."\n"..num[5])
end
 
function p.users()
return tostring(mw.site.stats.usersInGroup('testadmin'))
end
 
function p.link()
args = {href='/wiki/bananas'}
return mw.text.tag('a',args,'imalink')
end
 
function p.yes()
return '[[bananas]]'
end
 
function p.html()
local item = mw.html.create('marquee')
:wikitext('hello')
return item
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.