Module:number list/show: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:


local m_number_list = require("Module:number list")
local m_number_list = require("Module:number list")
local match = mw.ustring.match


local function link_forms(forms, m_data, lang)
local function link_forms(forms, m_data, lang)
Line 127: Line 128:
end
end
if numeral then
if numeral then
check_string(numeral)
if numeral:match("¹") or numeral:match("²") then
numeral = tag(numeral)
cell(numeral)
cell(numeral or "")
else
check_string(numeral)
numeral = tag(numeral)
cell(numeral or "")
end
end
end


Navigation menu