Difference between revisions of "Module:HoVoTeamLookup"

From Furry Basketball Association
Jump to: navigation, search
m
m
Line 1: Line 1:
 
local p = {} --p stands for package
 
local p = {} --p stands for package
 +
 +
local Page = require('Module:Page')
  
 
function p.hello( frame )
 
function p.hello( frame )
Line 6: Line 8:
  
 
function p.teamposition( frame )
 
function p.teamposition( frame )
local roster = mw.text.nowiki("[[Template:Roster/team]]");
+
local roster = Page('getContent', 'Template:Roster/team')
 
return roster
 
return roster
 
end
 
end
  
 
return p
 
return p

Revision as of 13:26, 4 December 2019

local p = {} --p stands for package local Page = require('Module:Page') function p.hello( frame ) return "Hello, world!" end function p.teamposition( frame ) local roster = Page('getContent', 'Template:Roster/team') return roster end return p