Module:Sandbox/User:Alsang/PassivePotionList: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(cell centering) |
(thousand sepatating commas) |
||
Line 2: | Line 2: | ||
local param = require( 'Module:Paramtest' ) |
local param = require( 'Module:Paramtest' ) |
||
local currency = require('Module:Currency') |
local currency = require('Module:Currency') |
||
local lang = mw.getContentLanguage() |
|||
require("Module:Mw.html extension") |
|||
Line 263: | Line 265: | ||
:tag('td') |
:tag('td') |
||
:IF(item.hasXP and item.hasDuration) |
:IF(item.hasXP and item.hasDuration) |
||
:wikitext(item.XPPerHour) |
:wikitext(lang:formatNum(tonumber(item.XPPerHour))) |
||
:ELSE() |
:ELSE() |
||
:addClass('table-bg-grey') |
:addClass('table-bg-grey') |