Module:SoulUnlock: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m write_table data centered
Sur (talk | contribs)
m translate Individual and Accumulative in write_table
Line 1: Line 1:
local p = {}
local p = {}
local util_module = require('Module:Utilities')
local util_module = require('Module:Utilities')
local dictionary_module = require('Module:Dictionary')
local soul_unlocks_data = mw.loadJsonData("Data:SoulUnlockData.json")
local soul_unlocks_data = mw.loadJsonData("Data:SoulUnlockData.json")
local localization_map = {
local localization_map = {
Line 117: Line 118:
local tr = ''
local tr = ''
tr = tr .. '<th>' .. '' .. '</th>'
tr = tr .. '<th>' .. '' .. '</th>'
tr = tr .. '<th colspan="3">' .. 'Individual' .. '</th>'
tr = tr .. '<th colspan="3">' .. dictionary_module.translate('Individual') .. '</th>'
tr = tr .. '<th colspan="3">' .. 'Accumulative' .. '</th>'
tr = tr .. '<th colspan="3">' .. dictionary_module.translate('Accumulative') .. '</th>'
ret = ret .. '<tr>' .. tr .. '</tr>'
ret = ret .. '<tr>' .. tr .. '</tr>'