Bản mẫu:Bảng xếp hạng Bảng A UEFA Champions League 2017-18/doc

Bách khoa toàn thư mở Wikipedia

Full table[sửa mã nguồn]

VT Đội ST T H B BT BB HS Đ Giành quyền tham dự MU BAS CSM BEN
1 Anh Manchester United 6 5 0 1 12 3 +9 15 Đi tiếp vào vòng loại trực tiếp 3–0 2–1 2–0
2 Thụy Sĩ Basel 6 4 0 2 11 5 +6 12 1–0 1–2 5–0
3 Nga CSKA Moscow 6 3 0 3 8 10 −2 9 Chuyển qua Europa League 1–4 0–2 2–0
4 Bồ Đào Nha Benfica 6 0 0 6 1 8 −7 0 0–1 0–2 1–2
Nguồn: UEFA
Quy tắc xếp hạng: Quy tắc xếp hạng

This template is designed to collect information, which is used in several articles, in one location. The 2017–18 UEFA Champions League group tables are shown on the overall qualifying page, as well as the pages for each Group, if not other pages as well. This template should replace the need to update the same information on several pages.

In article[sửa mã nguồn]

To add this table to an article, type {{2017–18 UEFA Champions League Group A table}}.

Editing[sửa mã nguồn]

Until the first match starts, the order of teams and the |update= and |start_date= should indicate the date of the first match. Once the qualifying campaign starts, remove the |start_date= parameter and set |update= to the appropriate date of the last date for which the matches are included.

During tournament[sửa mã nguồn]

After each group round 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
|template_name=2017–18 UEFA Champions League Group A table |teamwidth=180 |class_rules=[[2017–18 UEFA Champions League group stage#Tiebreakers|Group stage tiebreakers]]

|team1=BBB |team2=CCC |team3=DDD |team4=AAA
|result1=KO |result2=KO |result3=EL

|update=30 October 2014 |source=FEEFUH
|win_AAA=0 |draw_AAA=0 |loss_AAA=2 |gf_AAA=4 |ga_AAA=7 |status_AAA=E
|win_BBB=2 |draw_BBB=0 |loss_BBB=0 |gf_BBB=9 |ga_BBB=1 |status_BBB=A
|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_KO=green1 |text_KO=Advance to [[2017–18 UEFA Champions League knockout phase|knockout phase]]
|col_EL=blue1  |text_EL=Qualification to [[2017–18 UEFA Europa League knockout phase|Europa League]]
}}
What you see
VT Đội ST T H B BT BB HS Đ Giành quyền tham dự
1 BBB (A) 2 2 0 0 9 1 +8 6 Advance to knockout phase
2 CCC 2 1 1 0 4 3 +1 4
3 DDD 2 0 1 1 2 8 −6 1 Qualification to Europa League
4 AAA (E) 2 0 0 2 4 7 −3 0
Cập nhật đến (các) trận đấu được diễn ra vào 30 October 2014. Nguồn: FEEFUH
Quy tắc xếp hạng: Group stage tiebreakers
(A) Đi tiếp vào vòng sau; (E) Bị loại

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

  • If a team will definitely advance to the knockout phase (first or second), set |status_TTT=A
  • If a team will definitely qualify for the Europa League (third), set |status_TTT=Q
  • If a team will definitely finish third or better (but is not sure yet of CL or EL), set |status_TTT=T
  • If a team will definitely be eliminated, set |status_TTT=E
Trận đấu

Also update the match results with the |match_AAA_BBB= inputs, the first team is the home team, the second team the away team.

After qualifying stage is complete[sửa mã nguồn]

When the group is complete, set |update=complete. After all groups are finished, the parameters |status_TTT=A, |status_TTT=Q, |status_TTT=T and |status_TTT=E may be removed across all groups, as the outcome of the group stage is evidenced by the row color and the last column.

Display options[sửa mã nguồn]

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 when multiple groups must be displayed, but the full details are not required. Valid values of |only_pld_pts= to display a truncated table are 1, yes, y, true, and t (|only_pld_pts=no_hide_class_rules hides the classification rules). The matches table can be included by the same valid entries for |show_matches=. A team can be highlighted by setting |showteam=TTT, with TTT the team code for that team.

Additional information[sửa mã nguồn]

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