Module:Enemy List: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Fix typo in table generation)
m (add purge link)
Line 4: Line 4:
local Array = require('Module:Array')
local Array = require('Module:Array')
local lang = mw.language.getContentLanguage()
local lang = mw.language.getContentLanguage()
local purge = require('Module:Purge')._purge


local function formatNum(n)
local function formatNum(n)
Line 37: Line 38:
local out = mw.html.create('table')
local out = mw.html.create('table')
:addClass('wikitable sortable align-center-3 align-center-4')
:addClass('wikitable sortable align-center-3 align-center-4')
:tag('caption')
:wikitext('This list is updated dynamically. '..purge())
:done()
:tag('tr')
:tag('tr')
:tag('th')
:tag('th')