View source for Module:Sports table/Fencing
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 fencing 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 '170'
local sort_text = yesno(Args['sortable_table'] or 'no') and 'sortable' or ''
local show_played = yesno(Args['show_played'] or 'no') and true or false
local show_touches = yesno(Args['show_touches'] or 'yes')
local show_bouts = yesno(Args['show_bouts'] or 'no')
local show_points = yesno(Args['show_points'] or 'no')
-- Custom header
local group_head_text = Args['group_header'] or '<abbr title="Group">Grp</abbr>'
table.insert(t,'{|class="wikitable '..sort_text..'" style="text-align:center;"\n') -- Open table
-- Initialize
000
1:0
Template used on this page:
Return to Module:Sports table/Fencing.