Module:SMW/Property

From solab
Revision as of 14:00, 11 January 2016 by imported>Gio
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

-- Module:SMW/Property local p = {}

-- Return type function p.type(frame) if not smw.property then return "smw.property module not found" end

if frame.args[1] == nil then return "no parameter found" else type = smw.property.getPropertyType( frame.args[1] ) end

if type == nil then return "(no values)" end

return type end return p