Module:Properties-UMVC3: Difference between revisions

From SuperCombo Wiki
No edit summary
Tag: Manual revert
No edit summary
Line 3: Line 3:
function p.drawDataProperties(frame)
function p.drawDataProperties(frame)
   
   
   local wikitext = "" .. frame.args[1]
   local wikitext = ""  


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


     wikitext = wikitext .. "*" .. property .. "\n"
     wikitext = wikitext .. "*" .. property .. "\n"


   end]]--
   end


   return wikitext
   return wikitext

Revision as of 09:55, 3 April 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