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/Custom/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 ====Bolded columns==== Normally, only the ranking column has bolded entries. This may be customized. {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=Custom |default_style=WDLbasic |num_cols=6 |bold_col2=yes |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |col6_FDT=10 |win_BBB=3 |draw_BBB=1 |loss_BBB=1 |col6_BBB= 3 |win_CCC=3 |loss_CCC=2 |col6_CCC= 3 |win_DDD=1 |draw_DDD=1 |loss_DDD=3 |col6_DDD= 1 |win_EEE=0 |loss_EEE=5 |name_FDT=[[FIFA World Cup Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{fb|GIB}} }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=Custom |default_style=WDLbasic |num_cols=6 |bold_col2=yes |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |col6_FDT=10 |win_BBB=3 |draw_BBB=1 |loss_BBB=1 |col6_BBB= 3 |win_CCC=3 |loss_CCC=2 |col6_CCC= 3 |win_DDD=1 |draw_DDD=1 |loss_DDD=3 |col6_DDD= 1 |win_EEE=0 |loss_EEE=5 |name_FDT=[[FIFA World Cup Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{fb|GIB}} }} |} You can set all entries of column number N to be bolded by using {{para|bold_colN|yes}}. Note that if a column style sets a column to be bolded, then there is no way to set that column to a normal font weight. ====Column alignment==== Normally the data in any column (other than the team name column) is placed in the center of the column. This may be customized. {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=Custom |default_style=WDLbasic |num_cols=6 |aligncol6=r |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |col6_FDT=10 |win_BBB=3 |draw_BBB=1 |loss_BBB=1 |col6_BBB= 3 |win_CCC=3 |loss_CCC=2 |col6_CCC= 3 |win_DDD=1 |draw_DDD=1 |loss_DDD=3 |col6_DDD= 1 |win_EEE=0 |loss_EEE=5 |name_FDT=[[FIFA World Cup Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{fb|GIB}} }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=Custom |default_style=WDLbasic |num_cols=6 |aligncol6=r |team1=FDT |team2=BBB |team3=CCC |team4=DDD |team5=EEE |win_FDT=5 |loss_FDT=0 |col6_FDT=10 |win_BBB=3 |draw_BBB=1 |loss_BBB=1 |col6_BBB= 3 |win_CCC=3 |loss_CCC=2 |col6_CCC= 3 |win_DDD=1 |draw_DDD=1 |loss_DDD=3 |col6_DDD= 1 |win_EEE=0 |loss_EEE=5 |name_FDT=[[FIFA World Cup Dream Team]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_EEE={{fb|GIB}} }} |} You can choose the text alignment of column number N by using {{para|aligncolN}}. Note that the column header is always centered. ====Header options==== {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=Custom |num_cols=2 |colstyle1=w |col_header2=<abbr title="Won after extra time or penalties">W+</abbr> |team_header=Player }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=Custom |num_cols=2 |colstyle1=w |col_header2=<abbr title="Won after extra time or penalties">W+</abbr> |team_header=Player }} |} The wording of the Team column can be adjusted using {{para|team_header}}. Similarly, the wording of any given custom column number N can be adjusted by {{para|col_headerN}} and this wording is used instead of any wording set by a column style. {{Module:Sports table/styledoc|style_option=Custom}} <includeonly>{{Sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> [[Category:Sports modules]] }}</includeonly>
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)