Module:Skill table: Difference between revisions

no edit summary
(Created page with "local p = {} local scp = require('Module:SCP')._main local yesNo = require('Module:Yesno') local paramTest = require('Module:Paramtest') local trim = mw.text.trim local split = mw.text.split local ustring = mw.ustring local listToText = mw.text.listToText function plinkify(tbl) if tbl == nil then return nil elseif type(tbl) == 'string' then tbl = {tbl} end for i, v in ipairs(tbl) do local name = ustring.gsub(v, '[^%[]*%[%[:?([^%|]+).*', '%1') local fileNam...")
 
No edit summary
Tag: Reverted
Line 164:
function tableConcat(mainTable, newTable, exclusionList)
for i = 1, #newTable, 1 do
-- Only add mw.pages not using excluded materials
if(not((newTable[i]['Uses infobox'] == 'Pure') or (shouldExclude(newTable[i]['Uses material'], exclusionList)))) then
mainTable[#mainTable+1] = newTable[i]