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/College/doc
(section)
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!
===Customization=== Several things can be customized in these tables ====Hiding played column==== Setting {{para|hide_played|yes}} hides the played column. ====Points, wins or percentage==== By default teams are ranked by points, which can be adjusted as follows: {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=College |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0 |adjust_points_FDT=1.5 |win_BBB=3 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2 |win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3 |win_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4 |win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6 |adjust_points_EEE=-1.5 |name_FDT=[[Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{bk|GIB}} |winpoints=2 |losspoints=-0.1 }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=College |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0 |adjust_points_FDT=1.5 |win_BBB=3 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2 |win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3 |win_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4 |win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6 |adjust_points_EEE=-1.5 |name_FDT=[[Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{bk|GIB}} |winpoints=2 |losspoints=-0.1 }} |} As a default a win is worth 2 points and a loss 1 point, these values can be overwritten to what you need by {{para|winpoints}} and {{para|losspoints}}. Teams can also start the season with bonus or penalty points, this can be included by using {{para|adjust_points_TTT}} for that specific team. Alternatively teams can also be ranked by wins (set {{para|ranking_style|wins}} or {{para|ranking_style|percentage}} respectively) ====Games behind==== {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=College |ranking_style=percentage |show_GB=yes |GB_team=2 |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0 |win_BBB=3 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2 |win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3 |win_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4 |win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6 |name_FDT=[[Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{bk|GIB}} }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=College |ranking_style=percentage |show_GB=yes |GB_team=2 |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0 |win_BBB=3 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2 |win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3 |win_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4 |win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6 |name_FDT=[[Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{bk|GIB}} }} |} [[Games behind]] can be added to the table as well by setting {{para|show_GB|yes}}, per default this will be with respect to the first-placed team. To have the GB with respect to a the team ranked N, set {{para|GB_team|N}}. ====Header options (goals/points for/against and custom other headers)==== {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=College |for_against_style=points }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=College |for_against_style=points }} |} For sports with points for and against rather than goals, setting {{para|for_against_style|points}} switches the for, against and difference columns to using points instead. {{para|for_against_style|none}} removes these columns completely. For sports with frames for and against rather than goals or points, setting {{para|for_against_style|frames}} switches the for, against and difference columns to using points instead. {{para|for_against_style|none}} removes these columns completely. The wording of the Grp (group) column can be adjusted using {{para|group_header}}, for example {{para|group_header|<nowiki><abbr title="League">Lge</abbr></nowiki>}}. ====Goal ratio/goal average==== {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=College |use_goal_ratio=yes |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0 |win_BBB=3 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2 |win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3 |win_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4 |win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6 |name_FDT=[[Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{bk|GIB}} }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=College |use_goal_ratio=yes |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |gf_FDT=10 |ga_FDT=0 |win_BBB=3 |loss_BBB=1 |gf_BBB= 3 |ga_BBB=2 |win_CCC=3 |loss_CCC=2 |gf_CCC= 3 |ga_CCC=3 |win_DDD=1 |loss_DDD=3 |gf_DDD= 1 |ga_DDD=4 |win_EEE=0 |loss_EEE=5 |gf_EEE= 0 |ga_EEE=6 |name_FDT=[[Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{bk|GIB}} }} |} Using {{para|use_goal_ratio|yes}} use goal ratio (goal average) instead of goal differential. {{Module:Sports table/styledoc|style_option=WL}}
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)