Module:List: Difference between revisions

From CAPipedia
en>Raylton P. Sousa
mNo edit summary
en>Raylton P. Sousa
mNo edit summary
Line 1: Line 1:
function p.pages(frame)
function p.pages(frame)
   list = frame.args
   list = frame.args
   return list['position']
   return list[frame.args['position']]
end
end
return p;
return p;

Revision as of 12:05, 15 November 2012

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

function p.pages(frame)
   list = frame.args
   return list[frame.args['position']]
end
return p;