Module:inline: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Created page with "local export = {} function export.parse(term, template) local args = {} local i, key, value = i while i < #term do key, value, i = mw.ustring.match(term, "<([a-zA-Z]+):([^>]+)>()") if key and value then args[key] = value end end return mw.ustring.gsub(term, "<[a-zA-Z]+:[^>]+>", ""), args end return export")
 
No edit summary
Line 1: Line 1:
local export = {}
local export = {}


function export.parse(term, template)
function export.parse(term)
     local args = {}
     local args = {}
     local i, key, value = i
     local i, key, value = i