(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") |
Tag: Undo |
||
(15 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
function p.drawDataProperties(frame) | function p.drawDataProperties(frame) | ||
local | |||
local wikitext = "" | |||
for token in string.gmatch(frame.args[1], '([^\\]+)') do | |||
for token in string.gmatch(frame.args[ | |||
property = token | property = token | ||
wikitext = wikitext | wikitext = wikitext .. property .. "<br/>" | ||
end | end |
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