Template:Final results table

From Wiki - Scioly.org
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

The Final results template is a template for generating large final results scoresheets for tournaments.

Parameters

Tournament-related parameters

|name= the name of the tournament
|div= the division of the tournament
|medals= the number of medals given (defaults to 6)
|drop= the number of events to drop - aka, this number of events with the most amount of points will not be counted in the final score

Event-related parameters

|event_n= the nth event in the tournament
|event_n_trial= whether the nth event in the tournament a trial event

Team-related parameters

|team_n= the nth team in the tournament
|team_n_scores= the scores for the nth team at the tournament
|team_n_state= the state of the nth team
|team_n_number= the team number of the nth team
|team_n_tie= the level of tie to break the team to

Examples

Code Result
{{Final results table
|name = Example Invitational
|div = B

|event_1 = Event A
|event_2 = Event B
|event_3 = Event C
|event_3_trial = yes
|event_4 = Event D

|team_1_name = Team 1
|team_1_scores = 4,10,6,19
|team_2_name = Team 2
|team_2_scores = 3,3,5,2
|team_3_name = Team 3
|team_3_scores = 8,1,17,1
|team_4_name = Team 4
|team_4_scores = 1,9,10,3
|team_5_name = Team 5
|team_5_scores = 7,2,12,1
|team_5_tie = 1
}}
Example Invitational
Division B
5 teams

Print

Final Place
Points
Event A
Event B
Event C (Trial)
Event D
Team 2 1 8 3 3 5 2
Team 3 2 10 8 1 17 1
Team 5 3 10 7 2 12 1
Team 4 4 13 1 9 10 3
Team 1 5 33 4 10 6 19
{{Final results table
|name = Example Invitational
|div = B

|drop = 1

|event_1 = Event A
|event_2 = Event B
|event_3 = Event C
|event_4 = Event D

|team_1_name = Team 1
|team_1_state = {{flag|CA}} [[California (North)]]
|team_1_number = B-01
|team_1_scores = 4,10,6,19
|team_2_name = Team 2
|team_2_state = {{flag|VA}} [[Virginia]]
|team_2_number = B-02
|team_2_scores = 3,3,5,2
|team_3_name = Team 3
|team_3_state = {{flag|VA}} [[Virginia]]
|team_3_number = B-03
|team_3_scores = 8,1,17,1
|team_4_name = Team 4
|team_4_state = {{flag|WI}} [[Wisconsin]]
|team_4_number = B-04
|team_4_scores = 1,9,10,3
}}
Example Invitational
Division B
4 teams

Print

Team Number
State
Final Place
Points
Event A
Event B
Event C
Event D
Dropped Points
Team 2 B-02 Flag of Virginia.svg Virginia 1 8 3 3 5 2 5
Team 3 B-03 Flag of Virginia.svg Virginia 2 10 8 1 17 1 17
Team 4 B-04 Flag of Wisconsin.svg Wisconsin 3 13 1 9 10 3 10
Team 1 B-01 Flag of California.svg California (North) 4 20 4 10 6 19 19