(Created page with "local p = {} function p.drawDataProperties(frame) local name = frame.args[1] local wikitext = "" if (name ~= "") then wikitext = "'''" .. name .. ":'''\n" end for token in string.gmatch(frame.args[2], '([^;\\]+)') do property = token wikitext = wikitext .. "*" .. property .. "\n" end return wikitext end return p") |
No edit summary |
||
Line 6: | Line 6: | ||
local wikitext = "" | local wikitext = "" | ||
for token in string.gmatch(frame.args[2], '([^;\\]+)') do | for token in string.gmatch(frame.args[2], '([^;\\]+)') do | ||
property = token | property = token |
Revision as of 16:39, 27 March 2024
Documentation for this module may be created at Module:Properties-UMVC3/doc
local p = {} function p.drawDataProperties(frame) local name = frame.args[1] local wikitext = "" for token in string.gmatch(frame.args[2], '([^;\\]+)') do property = token wikitext = wikitext .. "*" .. property .. "\n" end return wikitext end return p