Module:Table demo

From Guild of Archivists
Revision as of 09:41, 27 August 2012 by Alahmnat (talk | contribs) (Patrick1 moved page Module:Table example to Module:Table demo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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