Module:FellowCostumeUpgradeTable: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
local parts = mw.text.split(mw.text.trim(line), ",")
local parts = mw.text.split(mw.text.trim(line), ",")
local level = parts[1] or ""
local level = parts[1] or ""
local cap = parts[2] or ""
local skillMax = parts[2] or ""
local apt = parts[3] or ""
local apt = parts[3] or ""
table.insert(rows, string.format(
table.insert(rows, string.format(
'|-\n| style="text-align: center;" | %s || %s || %s',
'|-\n| style="text-align: center;" | %s || %s || %s',
level, cap, apt
level, skillMax, apt
))
))
end
end
Line 26: Line 26:
|-
|-
! Lv.
! Lv.
! Level Cap
! <abbr title="Excludes manual skill improvements.">Skill Level/Max</abbr>
! <abbr title="The Aptitude multiplier granted by this costume.">%s Aptitude</abbr>
! <abbr title="The total Aptitude granted by this costume.">%s Aptitude</abbr>
]=], img, skill, typeName)
]=], img, skill, typeName)


contributors, delete_pages, Interface administrators
4,701

edits