Module:Table demo: Difference between revisions

From Guild of Archivists
m (Patrick1 moved page Module:Table example to Module:Table demo)
 
m (1 revision imported)
 

Latest revision as of 07:26, 30 October 2015

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

local p = {}
 
function p.table(frame)
    r='{|class="wikitable"\n!i!!1/i\n'
    for i = 1 , 10  do r=r..'|-\n|'..i..'||'..1/i..'\n' end
    r=r..'|}'
    return r
end
 
return p