Module:Properties-UMVC3: Difference between revisions

From SuperCombo Wiki
No edit summary
(Undo revision 328270 by Kaladin (talk))
Tag: Undo
 
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:


function p.drawDataProperties(frame)
function p.drawDataProperties(frame)
   local name = frame.args[1]
   local wikitext = ""


  local wikitext = ""
   for token in string.gmatch(frame.args[1], '([^\\]+)') do
 
   for token in string.gmatch(frame.args[2], '([^;\\]+)') do
     property = token
     property = token


     wikitext = wikitext .. "*" .. property .. "\n"
     wikitext = wikitext .. property .. "<br/>"


   end
   end

Latest revision as of 13:56, 12 May 2025

Documentation for this module may be created at Module:Properties-UMVC3/doc

local p = {}

function p.drawDataProperties(frame)
 
  local wikitext = "" 

  for token in string.gmatch(frame.args[1], '([^\\]+)') do
    property = token

    wikitext = wikitext .. property .. "<br/>"

  end

  return wikitext
end

return p