Module:List: Difference between revisions
From Vintage Story Wiki
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
function p.list( f ) | function p.list( f ) | ||
local args = f.args | local args = f.args | ||
local | local list = {} | ||
for str in string.gmatch(args[1], ';') do | |||
table.insert(list, str) | |||
end | |||
local html = { | local html = { | ||
'<ol style="list-style-type: none; margin: 0; padding: 0;">', | '<ol style="list-style-type: none; margin: 0; padding: 0;">', |
Revision as of 22:43, 17 August 2022
Documentation for this module may be created at Module:List/doc