Module:inline: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 10: Line 10:
     mw.log(#term)
     mw.log(#term)
     while i < #term do
     while i < #term do
    mw.log("im in the matrix")
         key, value, i = mw.ustring.match(term, "<([a-zA-Z]+):([^>]+)>()")
         key, value, i = mw.ustring.match(term, "<([a-zA-Z]+):([^>]+)>()")
         if key and value then args[key] = value end  
         if key and value then args[key] = value end