Module:Properties-UMVC3: Difference between revisions

From SuperCombo Wiki
No edit summary
No edit summary
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[1], '([^\\]+)') do
     property = token
     property = token



Revision as of 12:12, 28 March 2024

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 .. "\n"

  end

  return wikitext
end

return p