Module:PHL sports team/testtable: Difference between revisions

Content deleted Content added
m +wrap
No edit summary
 
(One intermediate revision by one other user not shown)
Line 161:
table.sort(temp)
table.insert(temp, '{{{team1}}}')
-- table.insert(temp, 'XYZ')
 
for k, team in pairs(temp) do
Line 178:
local root = mw.html.create('table')
local args = (frame.args[1] ~= nil) and frame.args or frame:getParent().args
local tname = args['tname'] or 'PBA team' or 'MPBL team'
local league = args['league'] or 'PBA' or 'MPBL'
local temp, alias = {}, {}
Line 201:
table.sort(temp)
table.insert(temp, '{{{team1}}}')
-- table.insert(temp, 'XYZ')
 
row:tag('th'):wikitext('Code or<br>Alias/es')