Template:2017 USL Eastern Conference table/doc

From blackwiki
< Template:2017 USL Eastern Conference table
Revision as of 18:24, 31 March 2017 by blackwiki>GrouchoPython (Original Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template is designed to collect information, which is used in several articles, in one location. The 2017 USL 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 {{2017 USL 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=March 30, 2017 |source=EM EL ESS
|teamwidth=200 

|team1=BBB |team2=CCC |team3=AAA
|result1=PO |result2=PO |result3=

|win_AAA=0 |draw_AAA=1 |loss_AAA=1 |gf_AAA=1 |ga_AAA=3 |status_AAA=
|win_BBB=1 |draw_BBB=1 |loss_BBB=0 |gf_BBB=3 |ga_BBB=1 |status_BBB=
|win_CCC=1 |draw_CCC=0 |loss_CCC=1 |gf_CCC=1 |ga_CCC=1 |status_CCC=

|res_col_header=Q
|col_PO=green1 |text_PO=[[2017 USL season#Playoffs|Conference Playoffs]]
}}
What you see
Pos Team Pld W D L GF GA GD Pts Qualification
1 BBB 2 1 1 0 3 1 +2 4 Conference Playoffs
2 CCC 2 1 0 1 1 1 0 3
3 AAA 2 0 1 1 1 3 −2 1
Updated to match(es) played on March 30, 2017. Source: EM EL ESS

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 win the Regular Season League Championship, set |status=X
  • If a team will definitely advance to the conference playoffs, set |status=A
  • If a team will definitely finish ninth 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
{{2017 USL Eastern Conference table|only_pld_pts=true}}
What you see
Pos Team Pld Pts
1 Louisville City FC (C) 32 62
2 Charleston Battery 32 54
3 Tampa Bay Rowdies 32 53
4 Rochester Rhinos 32 53
5 Charlotte Independence 32 48
6 FC Cincinnati 32 46
7 New York Red Bulls II 32 44
8 Bethlehem Steel FC 32 44
9 Orlando City B 32 42
10 Ottawa Fury 32 38
11 Harrisburg City Islanders 32 37
12 Saint Louis FC 32 36
13 Pittsburgh Riverhounds 32 36
14 Richmond Kickers 32 32
15 Toronto FC II 32 25
Source: 2017 USL standings
(C) Champion.

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. CHB

for Charleston Battery, 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
{{2017 USL Eastern Conference table|showteam=CHB|show_limit=6}}
What you see
Pos Team Pld W D L GF GA GD Pts Qualification
1 Louisville City FC (C) 32 18 8 6 58 31 +27 62 Conference Playoffs
2 Charleston Battery 32 15 9 8 53 33 +20 54
3 Tampa Bay Rowdies 32 14 11 7 50 35 +15 53
4 Rochester Rhinos 32 14 11 7 36 28 +8 53
5 Charlotte Independence 32 13 9 10 52 40 +12 48
6 FC Cincinnati 32 12 10 10 46 48 −2 46
7 New York Red Bulls II 32 13 5 14 57 60 −3 44
8 Bethlehem Steel FC 32 12 8 12 46 45 +1 44
9 Orlando City B 32 10 12 10 37 36 +1 42
10 Ottawa Fury 32 8 14 10 42 41 +1 38
11 Harrisburg City Islanders 32 10 7 15 28 47 −19 37
12 Saint Louis FC 32 9 9 14 35 48 −13 36
13 Pittsburgh Riverhounds 32 8 12 12 33 42 −9 36
14 Richmond Kickers 32 8 8 16 24 36 −12 32
15 Toronto FC II 32 6 7 19 27 54 −27 25
Source: 2017 USL standings
Rules for classification: 1) total wins; 2) total goal differential; 3) total goals scored; 4) points earned against top four Conference finishers; 5) disciplinary points; 6) coin toss or drawing of lots
(C) Champion.

Additional information

Additional information regarding how this module works is available in the documentation of Module:Sports table (and Module:Sports table/WDL for additional details that apply to the Win-Draw-Loss type tables).