require('strict')
local p = {}
local pageTitle = mw.title.getCurrentTitle()
local pageTitleString = pageTitle.fullText
local namespace = pageTitle.nsText
local function tooltip(text, title)
return tostring(mw.html.create('span')
:addClass('explain')
:attr('title', title)
:wikitext(text)
:allDone())
end
local i18n = {
processArgsModule = 'Module:ProcessArgs',
mobColumn = 'Mob',
chanceColumn = tooltip('Spawn weight', 'Weight relative to other spawn entries in the category'),
groupSizeColumn = tooltip('Group size', 'Number of mobs the game tries to spawn per attempt'),
chargeColumn = tooltip('Charge', 'Charge generated by the mob'),
budgetColumn = tooltip('Budget', 'Maximum charge potential allowing spawning'),
spawnCostNote = 'When spawning a mob with a budget, take the sum of the charge of each existing mob divided by the distance to that mob. If the total times the new mob\'s charge is greater than the new mob\'s budget, the spawn fails. See [[Mob spawning#Spawn costs|Mob spawning § Spawn costs]] for details.',