contributors, delete_pages, Interface administrators
4,701
edits
FaeriMagic (talk | contribs) mNo edit summary |
FaeriMagic (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
local function makeSkillTable(skillName, | local function makeSkillTable(skillName, img, levelData, typeName) | ||
local rows = {} | local rows = {} | ||
for line in mw.text.gsplit(levelData or "", ";", true) do | for line in mw.text.gsplit(levelData or "", ";", true) do | ||
Line 21: | Line 21: | ||
! Level Cap | ! Level Cap | ||
! <abbr title="The Aptitude multiplier granted by this costume.">%s Aptitude</abbr> | ! <abbr title="The Aptitude multiplier granted by this costume.">%s Aptitude</abbr> | ||
]=], | ]=], img or "Placeholder.png", skillName, typeName) | ||
return header .. "\n" .. table.concat(rows, "\n") .. "\n|}" | return header .. "\n" .. table.concat(rows, "\n") .. "\n|}" |