Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Sports table/WL OTL tiebreak
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
-- Style for football tables local pp = {} local pmod = require('Module:Sports table/WDL OT') function pp.header(t,Args,p_sub,pos_label,group_col,VTE_text,full_table,results_header_txt) Args['show_draw'] = Args['show_draw'] or 'no' Args['showOTwin'] = Args['showOTwin'] or 'no' Args['OTloss_after_loss'] = Args['OTloss_after_loss'] or 'yes' Args['show_tiebr'] = Args['show_tiebr'] or 'yes' return pmod.header(t,Args,p_sub,pos_label,group_col,VTE_text,full_table,results_header_txt) end function pp.row(frame,t,Args,p_sub,notes_exist,hth_id_list,full_table,rand_val,team_list,team_code_ii,ii_start,ii_end,ii_fw,bg_col,N_teams,ii,ii_show) Args['show_draw'] = Args['show_draw'] or 'no' Args['showOTwin'] = Args['showOTwin'] or 'no' Args['OTloss_after_loss'] = Args['OTloss_after_loss'] or 'yes' Args['show_tiebr'] = Args['show_tiebr'] or 'yes' Args['winpoints'] = Args['winpoints'] or 2 return pmod.row(frame,t,Args,p_sub,notes_exist,hth_id_list,full_table,rand_val,team_list,team_code_ii,ii_start,ii_end,ii_fw,bg_col,N_teams,ii,ii_show) end function pp.status(Args) -- Declare status options -- ------------------------------------------------------------ -- NOTE: If you add to status_code, also add to status_called and status_letters!! -- Or functionality will be compromised -- ------------------------------------------------------------ local status_code, status_called = {} status_code = { E='Eliminated from playoff contention', P='Clinched Presidents' Trophy', X='Clinched playoff spot', Y='Clinched division', Z='Clinched conference'} status_called = {E=false, P=false, X=false, Y=false, Z=false} local status_letters = 'EPXYZ' -- Status position (before or after read and default) local stat_pos_val = Args['status_pos'] or '' local status_position = 'before' -- Default location stat_pos_val = string.lower(stat_pos_val) if stat_pos_val=='before' then status_position = 'before' elseif stat_pos_val=='after' then status_position = 'after' end return {code=status_code, called=status_called, letters=status_letters, position=status_position} end return pp
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Abbr
(
edit
)
Template:Citation needed
(
edit
)
Template:Efn
(
edit
)
Template:Ih
(
edit
)
Template:Module other
(
edit
)
Template:Module rating
(
edit
)
Template:Ombox
(
edit
)
Template:Para
(
edit
)
Template:Sandbox other
(
edit
)
Template:When pagename is
(
edit
)
Module:Arguments
(
edit
)
Module:Math
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Sports results
(
edit
)
Module:Sports table
(
edit
)
Module:Sports table/WDL OT
(
edit
)
Module:Sports table/WL OTL tiebreak
(
edit
)
Module:Sports table/WL OTL tiebreak/doc
(
edit
)
Module:Sports table/argcheck
(
edit
)
Module:Sports table/styledoc
(
edit
)
Module:Sports table/styles.css
(
edit
)
Module:Sports table/sub
(
edit
)
Module:Sports table/totalscheck
(
edit
)
Module:String
(
edit
)
Module:Yesno
(
edit
)