Jump to content

Module:Convert

विकिपीडिया से
imported>Uncle G (Started module.) के द्वारा 18:14, 26 अगस्त 2012 के बदलाव
(अंतर) ← पुरान बदलाव | हाल के संसोधन (अंतर) | नया बदलाव → (अंतर)
--require "mw.text"
--require "mw.page"

local p = {}

-- This is the top-level function called by {{convert}}.
function p.main(frame, config, args)
    local pframe = frame:getParent()
    local args = pframe.args -- the arguments passed TO the {{convert}} template, in the wikitext that instantiates the template
    local config = frame.args -- the arguments passed BY the {{convert}} template, in the wikitext of the template itself
    error ("Module:Convert is not implemented")
    return ""    
end

return p