Difference between revisions of "Template:2016 OFC Nations Cup Group A table/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Qed237
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...')
 
blackwiki>Qed237
Line 19: Line 19:
 
!What you type
 
!What you type
 
|<pre><nowiki>{{#invoke:Sports table|main|style=WDL
 
|<pre><nowiki>{{#invoke:Sports table|main|style=WDL
|template_name=2018 FIFA World Cup qualification – CONCACAF Fourth Round Group A table
+
|template_name=2016 OFC Nations Cup Group A table
 
|class_rules=Qualification tiebreakers
 
|class_rules=Qualification tiebreakers
 
|source=FIFA
 
|source=FIFA
Line 42: Line 42:
 
!What you see
 
!What you see
 
|{{#invoke:Sports table|main|style=WDL
 
|{{#invoke:Sports table|main|style=WDL
|template_name=2018 FIFA World Cup qualification – CONCACAF Fourth Round Group A table
+
|template_name=2016 OFC Nations Cup Group A table
 
|class_rules=Qualification tiebreakers
 
|class_rules=Qualification tiebreakers
 
|source=FIFA
 
|source=FIFA

Revision as of 20:02, 20 October 2015

Full table

Pos Team Pld W D L GF GA GD Pts Qualification 23x15px 23px 23x15px 23x15px
1 23x15px Papua New Guinea (H) 3 1 2 0 11 3 +8 5 Qualification to Nations Cup knockout stage
and World Cup qualifying third round
1–1 2–2 8–0
2 23x15px New Caledonia 3 1 2 0 9 2 +7 5 7–0
3 23x15px Tahiti 3 1 2 0 7 3 +4 5 Qualification to World Cup qualifying third round 1–1 4–0
4 23x15px Samoa 3 0 0 3 0 19 −19 0
Source: FIFA
Rules for classification: Qualification tiebreakers
(H) Host.

Usage

This template is designed to collect information, which is used in several articles, in one location. The 2018 FIFA World Cup qualification group tables are shown on the overall qualifying page, as well as the confederation qualifying page (2018 FIFA World Cup qualification (OFC)) and the page for this particular round (2016 OFC Nations Cup), if not other pages as well. This template should replace the need to update the same information on several pages.

In article

To add this table to an article, type {{2016 OFC Nations Cup Group A table}}.

Editing

Until the first match starts, 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

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=WDL
|template_name=2016 OFC Nations Cup Group A table
|class_rules=Qualification tiebreakers
|source=FIFA

|team1=BBB |team2=AAA |team3=DDD |team4=CCC

|update=2 September 2016
|win_AAA=2 |draw_AAA=1 |loss_AAA=2 |gf_AAA=10 |ga_AAA=6  |status_AAA=X
|win_BBB=5 |draw_BBB=0 |loss_BBB=0 |gf_BBB=12 |ga_BBB=2  |status_BBB=Q
|win_CCC=0 |draw_CCC=1 |loss_CCC=4 |gf_CCC=2  |ga_CCC=15 |status_CCC=E
|win_DDD=1 |draw_DDD=2 |loss_DDD=2 |gf_DDD=6  |ga_DDD=7  |status_DDD=X

|status_text_X=Assured of at least [[2018 FIFA World Cup qualification – OFC Third Round|World Cup qualifying third round]]
|status_text_Y=Eliminated from [[2016 OFC Nations Cup#Knockout stage|Nations Cup knockout stage]]<br />, but may advance to [[2018 FIFA World Cup qualification – OFC Third Round|World Cup qualifying third round]]

|res_col_header=Q
|result1=KO |result2=KO |result3=R3
|col_KO=green1 |text_KO=Qualification to [[2016 OFC Nations Cup#Knockout stage|Nations Cup knockout stage]]<br />and [[2018 FIFA World Cup qualification – OFC Third Round|World Cup qualifying third round]]
|col_R3=blue1  |text_R3=Qualification to [[2018 FIFA World Cup qualification – OFC Third Round|World Cup qualifying third round]]
}}
What you see
Pos Team Pld W D L GF GA GD Pts Qualification
1 BBB (Q) 5 5 0 0 12 2 +10 15 Qualification to Nations Cup knockout stage
and World Cup qualifying third round
2 AAA (X) 5 2 1 2 10 6 +4 7
3 DDD (X) 5 1 2 2 6 7 −1 5 Qualification to World Cup qualifying third round
4 CCC (E) 5 0 1 4 2 15 −13 1
Updated to match(es) played on 2 September 2016. Source: FIFA
Rules for classification: Qualification tiebreakers
(E) Eliminated; (Q) Qualified to the phase indicated; (X) Assured of at least World Cup qualifying third round.

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 qualify to the tournament of the row they are on (either OFC knockout stage or WC third round), set |status_TTT=Q
  • If a team will definitely be eliminated, set |status_TTT=E
  • If a team is assured of at least third place and World Cup qualifying third round, set |status_TTT=X
  • If a team is eliminated from Nations Cup knockout stage, but may advance to World Cup qualifying third round, set |status_TTT=Y
Matches

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

When the group is complete, set |update=complete and remove the temporary |status_text_X= and |status_text_Y=. After all groups are finished, the parameters |status_TTT=Q, |status_TTT=X, |status_TTT=Y 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

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

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