Difference between revisions of "Module:List"

From Game Detectives Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
function p.pages()
+
function p.pages(frame)
    cap = {
+
  list = frame.args
        'page 1',
+
  return list['position']
    'page 2',
 
    'page 3',
 
        'MediaWiki/pt-br',
 
        'page 5',
 
        'page 6',
 
        'page 7',
 
        'page 8',
 
        'page 9',
 
    'page 10'
 
    };
 
    return cap
 
 
end
 
end
 
return p;
 
return p;

Revision as of 16:03, 15 November 2012

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

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