View source for Module:Sports table/WDL
MyWikiBiz, Author Your Legacy — Thursday June 05, 2025
Jump to navigationJump to searchYou do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- Style for football tables
local pp = {}
function pp.header(t,Args,p_sub,pos_label,group_col,VTE_text,full_table,results_header_txt)
-- Load relevant modules
local yesno = require('Module:Yesno')
-- Create table header
-- Pre stuff
local team_width = Args['teamwidth'] or '190'
local sort_text = yesno(Args['sortable_table'] or 'no') and ' sortable' or ''
local show_played = not yesno(Args['hide_played'] or 'no')
local rounds_won = yesno(Args['show_rw'] or Args['rounds_won'] or 'no')
table.insert(t,'{| class="wikitable'..sort_text..'" style="text-align:center;"\n') -- Open table
-- Table title
if Args['title'] or Args['table_header'] then
table.insert(t,'|+ ' .. (Args['title'] or Args['table_header']) .. '\n')
end
-- Custom header options
local played_head_text = Args['pld_header'] or '<abbr title="Played">Pld</abbr>'
local draw_head_text = Args['draw_header']
000
1:0
Templates used on this page:
- Template:Abbr (view source)
- Template:Citation needed (view source)
- Template:Efn (view source)
- Template:Fb (view source)
- Template:Module rating (view source)
- Template:Para (view source)
- Template:When pagename is (view source)
- Module:Arguments (view source)
- Module:Math (view source)
- Module:Navbar (view source)
- Module:Navbar/configuration (view source)
- Module:No globals (view source)
- Module:Sports results (view source)
- Module:Sports table (view source)
- Module:Sports table/WDL (view source)
- Module:Sports table/WDL/doc (view source)
- Module:Sports table/argcheck (view source)
- Module:Sports table/styledoc (view source)
- Module:Sports table/sub (view source)
- Module:Sports table/totalscheck (view source)
- Module:Yesno (view source)
Return to Module:Sports table/WDL.