Module:Properties-UMVC3: Difference between revisions

From SuperCombo Wiki
No edit summary
(Undo revision 328270 by Kaladin (talk))
Tag: Undo
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
function p.drawDataProperties(frame)
function p.drawDataProperties(frame)
   
   
   local wikitext = "TEST" .. 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 .. "<br/>"


   end]]--
   end


   return wikitext
   return wikitext

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