User:Taxman1913/16TeamBracket-NoSeeds/doc

Usage
This template can be used to present a 16-team bracket for tournaments in which participants are not assigned seeds. A variety of options allows for a third-place game to be presented, the brackets to not display when matchups have not yet been set and for the winner, runner-up and third place team to be displayed with gold, silver and bronze backgrounds.

Explanation of fields
|RD1=                            Text to display in title box for the first column. Default=Round of 16 |RD2=                            Text to display in title box for the second column. Default=Quarter-finals |RD3=                            Text to display in title box for the third column. Default=Semi-finals |RD4=                            Text to display in title box for the fourth column. Default=Final |ot=                             Allows suppression of explanatory overtime message at the bottom of the bracket by setting ot=no. Alternatively, message can be                                     overridden by entering it here. E.g. ot= * – Denotes number of extra innings. Default value: ot=yes when parameter is not present. Entering the parameter and giving no                                     value (i.e. ot=) is treated the same as ot=no. |3rdplace=                       Suppression of third place game. If there is no third place game, set to 3rdplace=no |consol=                         Name of consolation game. Default=Third place |color=                          Activates background color display for winner, runner-up and third-place finisher by setting color=yes |semifinalloser1=                Identification of first semifinal loser to color that team bronze if the semifinal losers are jointly recognized as co-third-place finishers. Use either semifinalloser1=top or                                     semifinalloser1=bottom. Entries must include color=yes and 3rdplace=no for this to work. |semifinalloser2=                Identification of second semifinal loser to color that team bronze if the semifinal losers are jointly recognized as co-third-place finishers. Use either semifinalloser2=top or                                     semifinalloser2=bottom. Entries must include color=yes and 3rdplace=no for this to work. |consolwinner=                   Identification of consolation game winner to color that team bronze. Use either consolwinner=top or consolwinner=bottom. Entries must include color=yes for this to work. |finalwinner=                    Identification of final winner to color the team identified. Use either finalwinner=top or finalwinner=bottom. Entries must include color=yes for this to work. If color=yes, and this parameter has a                                     value other than top or bottom, both teams will be colored silver. |r2notyet=                       Suppression of display of brackets connecting second and third rounds where the second round is not yet complete, and the third round matchups are not yet set. |r1notyet=                       Suppression of display of brackets connecting first and second rounds where the first round is not yet complete, and the second round matchups are not yet set. |round # game # text             Text to display above the game box for a particular game. |round # game # top team         Name of team to display in the top box for a particular game. May be Wikilinked. |round # game # top team score   Score of team in the top box for a particular game. |round # game # bottom team      Name of team to display in the bottom box for a particular game. May be Wikilinked. |round # game # bottom team score Score of team in the bottom box for a particular game.

Entry of game data
Enter game data sequentially with unnamed parameters. Each game has five available parameters:
 * 1) Text at the top of the game box
 * 2) Name of the team to display in the top portion of the game box. May be Wikilinked.
 * 3) Score of the team in the top portion of the game box.
 * 4) Name of the team to display in the bottom portion of the game box. May be Wikilinked.
 * 5) Score of the team in the bottom portion of the game box.

Games are entered first for the first round, next for the second round, next for the third round, next for the fourth round, next for the final and then for the consolation game.

Data checking
There is absolutely no data verification. If a parameter is not included, it is given a default value. If you enter a team's name in the wrong game field in a later round after it won and advanced, it will display in the wrong place. Ensure that all values input show up as expected when template is used.

Comprehensive example
Entries to display first round games of a tournament with reseeding and no consolation game are illustrated as follows:

The above entries result in the following bracket being displayed:

Note that the text entries made above two of the games appear as hatnotes above the game boxes. All the teams have been Wikilinked, and the winners have been displayed in bold, because the Wikitext was entered that way. The brackets connecting later rounds have been suppressed, since the teams are reseeded after each round, and future matchups are unknown. Once the second round matchups are confirmed, the r1notyet parameter can be removed to display the bracket. The entries would appear as follows: The above entries result in the following bracket being displayed:

Note that instead of removing the r1notyet parameter, tags have been placed around it, so other Wikipedia editors will not wonder what it does. This also preserves the tag for later use if the template is copied and pasted for display for a future tournament. Also, having noticed that there were no overtime games in the first round, the overtime message at the bottom of the bracket is suppressed by entering ot=no. The parameter was left out in the first data set and defaulted to the value of yes. Beware that including the parameter with no value such as ot= will be treated by the template the same as ot=no. In this example, all the teams were in the right spot in the first round. With actual data, the game boxes will probably need to be moved after each round. Note also that more comments have been entered for two of the quarterfinal games. These comments are somewhat silly and do not add anything substantive to the bracket. It is not suggested that brackets be littered with comments like this in Wikipedia articles. They are made here only for illustration. Usually, it will not be necessary to use the comment fields. In some cases, they may be used to indicate regions (e.g. North, South, East, West) where teams are grouped even if not seeded or truly bracketed.

After the results of the quarterfinal games are all known, and the semifinal matchups are set, the following entries can be made: The above entries result in the following bracket being displayed:

With all the games of the tournament complete, the results can be entered. In this particular tournament, both semifinal losers are recognized as third-place finishers or bronze medal winners. We can color them bronze, and we can also color the winner gold and the runner-up silver. Entries will appear as follows: The above entries produce the following bracket:

Suppose we learn that the tournament has added a third place game. This game happens to go to seven overtime periods, and it is the only game in the tournament that went beyond regulation. So we can override the overtime footer at the bottom of the bracket to describe this. Results for all games are now entered, and the winner, runner-up and third-place team are colored. Entries will appear as follows: The above entries result in the following bracket being displayed: