Difference between revisions of "Template:3TeamBracket"
Jump to navigation
Jump to search
blackwiki>Armbrust (add 1 new parameter) |
m (28 revisions imported) |
||
| (6 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{| border=0 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em; {{{style|}}}" | {| border=0 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em; {{{style|}}}" | ||
| | | | ||
| − | | | + | | colspan="3" style="text-align:center;border:1px solid #aaa;background-color:#f2f2f2;" |{{{RD1|Semifinal}}} |
| | | | ||
| | | | ||
| − | | | + | | colspan="3" style="text-align:center;border:1px solid #aaa;background-color:#f2f2f2;" |{{{RD2|Final}}} |
|- | |- | ||
| width=1| | | width=1| | ||
| width={{#if: {{{seed-width|}}}|{{{seed-width}}}|25px}}| | | width={{#if: {{{seed-width|}}}|{{{seed-width}}}|25px}}| | ||
| − | | width={{#if: {{{team-width|}}}|{{{team-width}}}| | + | | width={{#if: {{{team-width|}}}|{{{team-width}}}|180px}}| |
| width={{#if: {{{score-width|}}}|{{{score-width}}}|25px}}| | | width={{#if: {{{score-width|}}}|{{{score-width}}}|25px}}| | ||
| width=5| | | width=5| | ||
| width=5| | | width=5| | ||
| width={{#if: {{{seed-width|}}}|{{{seed-width}}}|25px}}| | | width={{#if: {{{seed-width|}}}|{{{seed-width}}}|25px}}| | ||
| − | | width={{#if: {{{team-width|}}}|{{{team-width}}}| | + | | width={{#if: {{{team-width|}}}|{{{team-width}}}|180px}}| |
| width={{#if: {{{score-width|}}}|{{{score-width}}}|25px}}| | | width={{#if: {{{score-width|}}}|{{{score-width}}}|25px}}| | ||
| Line 22: | Line 22: | ||
{{#if:{{{RD2-seed1|}}} | {{#if:{{{RD2-seed1|}}} | ||
| | | | ||
| − | <td align | + | <td style="text-align:center;background-color:#f2f2f2;border:1px solid #aaa;"> {{{RD2-seed1}}}</td> |
| − | <td style="border:1px solid #aaa; | + | <td style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD2-team1| }}}</td> |
| | | | ||
| − | <td colspan="2" style="border:1px solid #aaa; | + | <td colspan="2" style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD2-team1| }}}</td> |
}} | }} | ||
| − | | | + | | style="text-align:center;border:1px solid #aaa;background-color:#f9f9f9;" | {{{RD2-score1| }}} |
|- | |- | ||
| Line 33: | Line 33: | ||
{{#if:{{{RD1-seed1|}}} | {{#if:{{{RD1-seed1|}}} | ||
| | | | ||
| − | <td align | + | <td style="text-align:center;background-color:#f2f2f2;border:1px solid #aaa;"> {{{RD1-seed1}}}</td> |
| − | <td style="border:1px solid #aaa; | + | <td style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD1-team1| }}}</td> |
| | | | ||
| − | <td colspan="2" style="border:1px solid #aaa; | + | <td colspan="2" style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD1-team1| }}}</td> |
}} | }} | ||
| − | | | + | | style="text-align:center;border:1px solid #aaa;background-color:#f9f9f9;" | {{{RD1-score1| }}} |
| style="border-width:0 1px 2px 0; border-style:solid;border-color:black;"| | | style="border-width:0 1px 2px 0; border-style:solid;border-color:black;"| | ||
| style="border-width:2px 0 0 1px; border-style:solid;border-color:black;"| | | style="border-width:2px 0 0 1px; border-style:solid;border-color:black;"| | ||
{{#if:{{{RD2-seed2|}}} | {{#if:{{{RD2-seed2|}}} | ||
| | | | ||
| − | <td align | + | <td style="text-align:center;background-color:#f2f2f2;border:1px solid #aaa;"> {{{RD2-seed2}}}</td> |
| − | <td style="border:1px solid #aaa; | + | <td style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD2-team2| }}}</td> |
| | | | ||
| − | <td colspan="2" style="border:1px solid #aaa; | + | <td colspan="2" style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD2-team2| }}}</td> |
}} | }} | ||
| − | | | + | | style="text-align:center;border:1px solid #aaa;background-color:#f9f9f9;" | {{{RD2-score2| }}} |
|- | |- | ||
| | | | ||
{{#if:{{{RD1-seed2|}}} | {{#if:{{{RD1-seed2|}}} | ||
| | | | ||
| − | <td align | + | <td style="text-align:center;background-color:#f2f2f2;border:1px solid #aaa;"> {{{RD1-seed2}}}</td> |
| − | <td style="border:1px solid #aaa; | + | <td style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD1-team2| }}}</td> |
| | | | ||
| − | <td colspan="2" style="border:1px solid #aaa; | + | <td colspan="2" style="border:1px solid #aaa;background-color:#f9f9f9;padding-left:0.3em;" > {{{RD1-team2| }}}</td> |
}} | }} | ||
| − | | | + | | style="text-align:center;border:1px solid #aaa;background-color:#f9f9f9;" | {{{RD1-score2| }}} |
| style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | | style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | ||
| − | |} | + | |}{{#invoke:Team bracket tracking|tracking}}<noinclude> |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 14:38, 14 October 2020
| Semifinal | Final | |||||||
Template description: This template generates a generic 3-team tournament bracket. It is useful for tournament structures where a first place team receives a bye into the finals.
Infobox code
{{3TeamBracket|
|RD2-seed1 = E
|RD2-team1 = Cleveland Browns
|RD2-score1 = 12
|RD1-seed1 = W
|RD1-team1 = Baltimore Colts
|RD1-score1 = 10
|RD2-seed2 = W
|RD2-team2 = '''Green Bay Packers'''
|RD2-score2 = 23
|RD1-seed2 = W
|RD1-team2 = '''Green Bay Packers'''
|RD1-score2 = 13}}
Empty infobox code
{{3TeamBracket|
|RD2-seed1 =
|RD2-team1 =
|RD2-score1 =
|RD1-seed1 =
|RD1-team1 =
|RD1-score1 =
|RD2-seed2 =
|RD2-team2 =
|RD2-score2 =
|RD1-seed2 =
|RD1-team2 =
|RD1-score2 = }}
Example
| Semifinal | Final | |||||||
| E | Cleveland Browns | 12 | ||||||
| W | Baltimore Colts | 10 | W | Green Bay Packers | 23 | |||
| W | Green Bay Packers | 13 | ||||||
Template parameters
- RD1, RD2 — [OPTIONAL] The names of each respective round. Defaults to "Semifinals" and "Finals", respectively.
- The rest of the parameters fill in the bracket and consists of the form X-YZ where
- X is the specific round
- Y is either the team's seed, name, or score
- Z is the specific placement on the bracket, counting from top to bottom.
See also
- {{2TeamBracket}}, {{4TeamBracket}}, {{5TeamBracket}}, {{6TeamBracket}}, {{7TeamBracket}}, {{8TeamBracket}}, {{9TeamBracket}}, {{10TeamBracket}}, {{11TeamBracket}}, {{12TeamBracket}}, {{14TeamBracket}}, {{15TeamBracket}}, {{16TeamBracket}}, {{18TeamBracket}}, {{19TeamBracket}}, {{20TeamBracket}}, {{24TeamBracket}}, {{32TeamBracket}}, {{48TeamBracket}}, {{64TeamBracket}}
| The above documentation is transcluded from Template:3TeamBracket/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |