Difference between revisions of "Module:List"

From Confrontation.wiki
Jump to navigation Jump to search
en>Raylton P. Sousa
m
en>Raylton P. Sousa
Line 1: Line 1:
local p = {}
    list = {
function p.pages(frame)
        'page 1',
  list = frame.args
        'page 2',
  return list[frame.args['position']]
        'page 3',
end
        'page 4',
return p;
        'page 5',
        'page 6',
        'page 7',
        'page 8',
        'page 9',
        'page 10'
    };

Revision as of 20:33, 28 November 2012

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

    list = {
        'page 1',
        'page 2',
        'page 3',
        'page 4',
        'page 5',
        'page 6',
        'page 7',
        'page 8',
        'page 9',
        'page 10'
    };