FANDOM


-- This module is used by the lolwikibot to read and store info about current state of data on this wiki.
 
local function contains(table, val)
   for i=1,#table do
      if table[i] == val then 
         return true
      end
   end
   return false
end
 
local lolwikibot = {}
 
function lolwikibot.get(frame)
    local key = mw.text.trim(frame.args[1] or '')
    s, res = pcall(function()
        return mw.loadData('Module:lolwikibot/' .. key)[1]
    end)
    if s then
        return res
    end
    return ''
end
 
return lolwikibot

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.

Więcej z Fandomu

Losowa wiki