Module:ModuleUniqueStatTable: Difference between revisions

From The First Descendant Wiki
No edit summary
No edit summary
Line 4: Line 4:
     local property1 = frame.args.property1 or ""
     local property1 = frame.args.property1 or ""
     local property2 = frame.args.property2 or ""
     local property2 = frame.args.property2 or ""
     local Name = frame.args.Name or ""
     local name = frame.args.Name or ""
      
      
     -- Process the data
     -- Process the data
     local result = "Name: " .. Name .. ", Property2: " .. property2
     local result = "Name: " .. name .. name .. name .. ", Property2: " .. property2
      
      
     return result
     return result

Revision as of 02:23, 5 June 2024

Documentation for this module may be created at Module:ModuleUniqueStatTable/doc

local p = {}

function p.processData(frame)
    local property1 = frame.args.property1 or ""
    local property2 = frame.args.property2 or ""
    local name = frame.args.Name or ""
    
    -- Process the data
    local result = "Name: " .. name .. name .. name .. ", Property2: " .. property2
    
    return result
end

return p