Editing
Module:Sports table/styledoc
(section)
From Thetacola Wiki
Jump to navigation
Jump to search
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!
====Appearance==== {| class="wikitable" style="background:white;" |- |'''What you type''' |{{#tag:pre|<nowiki>{{#invoke:Sports table|main|</nowiki>style={{{style_option|WDL}}} <nowiki>|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE</nowiki> <nowiki>|name_AAA=Team A</nowiki> <nowiki>|name_BBB=Team B</nowiki> <nowiki>|name_CCC=Team C</nowiki> <nowiki>|name_DDD=Team D</nowiki> <nowiki>|name_EEE=Team E</nowiki> <nowiki>|only_pld_pts=yes</nowiki> <nowiki>}}</nowiki>}} |- |'''What it looks like''' |{{#invoke:Sports table|main|style={{{style_option|WDL}}} |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE |name_AAA=Team A |name_BBB=Team B |name_CCC=Team C |name_DDD=Team D |name_EEE=Team E |only_pld_pts=yes }} |} {| class="wikitable" style="background:white;" |- |'''What you type''' |{{#tag:pre|<nowiki>{{#invoke:Sports table|main|</nowiki>style={{{style_option|WDL}}} <nowiki>|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE</nowiki> <nowiki>|name_AAA=Team A</nowiki> <nowiki>|name_BBB=Team B</nowiki> <nowiki>|name_CCC=Team C</nowiki> <nowiki>|name_DDD=Team D</nowiki> <nowiki>|name_EEE=Team E</nowiki> <nowiki>|split2=yes</nowiki> <nowiki>|split3=</nowiki> <nowiki>|split5=1</nowiki> <nowiki>|teamwidth=250</nowiki> <nowiki>|postitle={{abbr|Exam.|Example}}</nowiki> <nowiki>}}</nowiki>}} |- |'''What it looks like''' |{{#invoke:Sports table|main|style={{{style_option|WDL}}} |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE |name_AAA=Team A |name_BBB=Team B |name_CCC=Team C |name_DDD=Team D |name_EEE=Team E |split2=yes |split3= |split5=1 |teamwidth=250 |postitle={{abbr|Exam.|Example}} }} |} {| class="wikitable" style="background:white;" |- |'''What you type''' |{{#tag:pre|<nowiki>{{#invoke:Sports table|main|</nowiki>style={{{style_option|WDL}}} <nowiki>|team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE</nowiki> <nowiki>|name_AAA=Team A</nowiki> <nowiki>|name_BBB=Team B</nowiki> <nowiki>|name_CCC=Team C</nowiki> <nowiki>|name_DDD=Team D</nowiki> <nowiki>|name_EEE=Team E</nowiki> <nowiki>|show_groups=yes</nowiki> <nowiki>|group_AAA=A</nowiki> <nowiki>|group_BBB=A</nowiki> <nowiki>|group_CCC=B</nowiki> <nowiki>|group_DDD=B</nowiki> <nowiki>|group_EEE=C</nowiki> <nowiki>}}</nowiki>}} |- |'''What it looks like''' |{{#invoke:Sports table|main|style={{{style_option|WDL}}} |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=EEE |name_AAA=Team A |name_BBB=Team B |name_CCC=Team C |name_DDD=Team D |name_EEE=Team E |show_groups=yes |group_AAA=A |group_BBB=A |group_CCC=B |group_DDD=B |group_EEE=C }} |} Only the position, team, matches and points columns can be displayed by defining {{para|only_pld_pts|yes}} (or y, t, true or 1 or upper case variant of those); {{para|only_pld_pts|no_hide_class_rules}} suppresses the classification rules only (this should only be used in template calls when multiple groups are summarized on a page and the rules are listed elsewhere on that page). A line can be added between section of the table (if desired) by adding {{para|splitN}} with N the position below which the bar should be shown. (Note that this bar will not be shown for the bottom position in the table). A custom width of the team column can be set by {{para|teamwidth}}, for example when multiple groups exist within one tournament and you want to force the same width on all groups. The position column header can be customized by {{para|postitle}} and the position labels by {{para|pos_TTT}} for each team. When multiple a table compares teams from multiple groups, the group can also be listed by setting {{para|show_groups|yes}} (or y, t, true or 1 or upper case variant of those) and using {{para|group_TTT}} to indicate what teams comes from what group. The group column header can be customized by {{para|group_header}}, for example {{para|group_header|<nowiki><abbr title="League">Lge</abbr></nowiki>}}.
Summary:
Please note that all contributions to Thetacola Wiki 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
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Module
Discussion
Read
Edit source
History
Page actions
Module
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information