Template:2016 Major League Soccer Eastern Conference table/doc

From blackwiki
< Template:2016 Major League Soccer Eastern Conference table
Revision as of 11:22, 31 July 2019 by blackwiki>Andynganhk19962007 (Move to subcategory)
Jump to navigation Jump to search

Usage

This template is designed to collect information, which is used in several articles, in one location. The 2016 Major League Soccer season tables are shown on the overall season article, as well as the articles for each conference, if not other pages as well. This template should replace the need to update the same information on several articles.

In article

To add this table to an article, type {{2016 Major League Soccer Eastern Conference table}}.

Editing

Until the season starts, the order of teams and the |update = and |start_date= parameters should not be changed. Once the season starts, remove the |start_date= parameter and set |update= to the appropriate date.

During season

After each match, update the table and ensure the order of teams and the |update= parameter are also updated. For example:

What you type
{{#invoke:Sports table|main|style=football
|update=30 October 2014 |source=EM EL ESS
|teamwidth=200 

|team1=BBB |team2=CCC |team3=DDD |team4=AAA
|result1=1st |result2=CSF |result3=PO

|win_AAA=0 |draw_AAA=0 |loss_AAA=2 |gf_AAA=4 |ga_AAA=7 |status_AAA=
|win_BBB=2 |draw_BBB=0 |loss_BBB=0 |gf_BBB=9 |ga_BBB=1 |status_BBB=
|win_CCC=1 |draw_CCC=1 |loss_CCC=0 |gf_CCC=4 |ga_CCC=3 |status_CCC=
|win_DDD=0 |draw_DDD=1 |loss_DDD=1 |gf_DDD=2 |ga_DDD=8 |status_DDD=

|res_col_header=Q
|col_1st=green1 |text_1st=[[2016 MLS Cup Playoffs|Conference Semi-finals]] & [[2017–18 CONCACAF Champions League]]
|note_res_1st=If the conference champion is from Canada, then the best American team qualifies directly to the CONCACAF Champions League
|col_CSF=green2 |text_CSF=[[2016 MLS Cup Playoffs|Conference Semi-finals]]
|col_PO=green3 |text_PO=[[2016 MLS Cup Playoffs|Knockout round]]
}}
What you see
Pos Team Pld W D L GF GA GD Pts Qualification
1 BBB 2 2 0 0 9 1 +8 6 Conference Semi-finals & 2017–18 CONCACAF Champions League[lower-alpha 1]
2 CCC 2 1 1 0 4 3 +1 4 Conference Semi-finals
3 DDD 2 0 1 1 2 8 −6 1 Knockout round
4 AAA 2 0 0 2 4 7 −3 0
Updated to match(es) played on 30 October 2015. Source: EM EL ESS
Notes:
  1. If the conference champion is from Canada, then the best American team qualifies directly to the CONCACAF Champions League

To change the order of the teams, set |team1= to the team in first place in the conference, |team2= to the team in second place, etc. The order of data entry does not need to be changed. The status of a team can also be set during the season if the outcome is known:

  • If a team will definitely advance to the conference semi-finals, set |status=A
  • If a team will definitely finish sixth or better, set |status=T
  • If a team will definitely finish seventh or lower, set |status=E
  • Otherwise, set |status=

After season complete

When the season is complete, set |update=complete and clear |status= for all teams.

Display options

Smaller table

If a smaller displayed table is desired, the parameter |only_pld_pts= can be defined in the template call to display only the position, team, games played, and points columns. This display may be desired if displaying both conference tables side-by-side. Valid values of |only_pld_pts= to display a truncated table are 1, yes, y, true, and t. For example:

What you type
{{2016 Major League Soccer Eastern Conference table|only_pld_pts=true}}
What you see
Pos Team Pld Pts
1 New York Red Bulls 34 57
2 New York City FC 34 54
3 Toronto FC 34 53
4 D.C. United 34 46
5 Montreal Impact 34 45
6 Philadelphia Union 34 42
7 New England Revolution 34 42
8 Orlando City SC 34 41
9 Columbus Crew SC 34 36
10 Chicago Fire 34 31
Source: MLS

Display on team articles

Smaller sections of the table can be placed in team articles |showteam= and |show_limit= parameters. Use the abbreviation for the team that is used in the code, e.g. DCU for D.C. United, and the number of teams you wish to display – note that even numbers will be increased to an odd number to show symmetry in the table. For example:

What you type
{{2016 Major League Soccer Eastern Conference table|showteam=DCU|show_limit=5}}
What you see
Pos Team Pld W L T GF GA GD Pts Qualification
2 New York City FC 34 15 10 9 62 57 +5 54 Conference Semi-finals
3 Toronto FC 34 14 9 11 51 39 +12 53 Knockout round
4 D.C. United 34 11 10 13 53 47 +6 46
5 Montreal Impact 34 11 11 12 49 53 −4 45
6 Philadelphia Union 34 11 14 9 52 55 −3 42
Source: MLS
Rules for classification: 1) points; 2) total wins; 3) total goal differential; 4) total goals scored; 5) disciplinary points; 6) away goals scored; 7) away goal differential; 8) home goals scored; 9) home goal differential; 10) coin toss or drawing of lots.

Additional information

Additional information regarding how this module works is available in the documentation of Module:Sports table.