Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 6: Line 6:
local Infobox = require('Module:Infobox')
local Infobox = require('Module:Infobox')
local currency = require('Module:Currency').parse
local currency = require('Module:Currency').parse
local editbutton = require('Module:Edit button')
local edit = editbutton("'''?''' (edit)")


local parse = {}
local parse = {}
Line 525: Line 527:
return valid_type..'[[Category:'..valid_type..' variant]]'
return valid_type..'[[Category:'..valid_type..' variant]]'
else
else
return '[[Category:Invalid variant type]]'
return edit..'[[Category:Invalid variant type]]'
end
end
return nil
return nil