FANDOM


local HatsModule = {}
local HatsData = require("module:Hats/data")
 
function HatsModule.hatsTable(frame)
    local showDescription = exists(frame["show_description"])
    local showHeaders = exists(frame["show_headers"])
 
    if(showDescription) then
        return buildTableWithFields(showHeaders, { "acquisition", "effect" })
    else
        return buildTableWithFields(showHeaders, {})
    end
end
 
function buildTableWithFields(showHeaders, fields)
 
end
 
function exists(param)
    return param ~= nil and param ~= ''    
end
 
return HatsModule

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.