Module:Advancement: Difference between revisions

Created page with "local advancement_page = 'Advancement' local p = {} local namespace = mw.title.getCurrentTitle().nsText local page_title = mw.title.getCurrentTitle().text local full_title = mw.title.getCurrentTitle().fullText local html local frame local function sanitize(str) -- remove anything between < and > (simple way to remove span tag) -- return lower case alpha numeric characters and spaces return mw.text.trim(str:gsub('<.->',''):gsub('[^%w%s]*', ''):lower()) end -- Adds o..."
 
No edit summary
Line 27: Line 27:
local title_extra = ''
local title_extra = ''
if line.upcoming_ver then
title_extra = title_extra .. frame:expandTemplate{title = 'Upcoming', args = {ver = line.upcoming_ver}}
end
if line.until_ver then
if line.until_ver then