Module:Experience/table: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Add commas to first column) |
(Show xp per label in captions) |
||
Line 40: | Line 40: | ||
:addClass(collapsed[label.name] and 'mw-collapsed' or nil) |
:addClass(collapsed[label.name] and 'mw-collapsed' or nil) |
||
:tag('caption') |
:tag('caption') |
||
:wikitext((label.min == label.max and '%s (%s)' or '%s (%s-%s)'):format(label.name, label.min, label.max)) |
:wikitext((label.min == label.max and '%s (%s)' or '%s (%s-%s; %s XP)'):format(label.name, label.min, label.max, lang:formatNum((data.level[label.max + 1] or 0) - data.level[label.min]))) |
||
:done() |
:done() |
||
:tag('tr') |
:tag('tr') |