Difference between revisions of "Template:4TeamBracket-Compact"
Jump to navigation
Jump to search
blackwiki>WOSlinker (tidy style for better HTML5 compatibility) |
m (13 revisions imported) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | { | + | {{#invoke: TeamBracket | teamBracket | compact=yes | rounds=2 | team-width=125 |
| − | + | | RD1-seed1 = {{{RD1-seed01|1}}} | |
| − | | | + | | RD1-team1 = {{{RD1-team01| }}} |
| − | + | | RD1-score1 = {{{RD1-score01| }}} | |
| − | + | | RD1-seed2 = {{{RD1-seed02|4}}} | |
| − | + | | RD1-team2 = {{{RD1-team02| }}} | |
| − | + | | RD1-score2 = {{{RD1-score02| }}} | |
| − | + | | RD1-seed3 = {{{RD1-seed03|2}}} | |
| − | + | | RD1-team3 = {{{RD1-team03| }}} | |
| − | + | | RD1-score3 = {{{RD1-score03| }}} | |
| − | + | | RD1-seed4 = {{{RD1-seed04|3}}} | |
| − | + | | RD1-team4 = {{{RD1-team04| }}} | |
| − | | | + | | RD1-score4 = {{{RD1-score04| }}} |
| − | + | | RD2-seed1 = {{{RD2-seed01| }}} | |
| − | + | | RD2-team1 = {{{RD2-team01| }}} | |
| − | | | + | | RD2-score1 = {{{RD2-score01| }}} |
| − | | | + | | RD2-seed2 = {{{RD2-seed02| }}} |
| − | | | + | | RD2-team2 = {{{RD2-team02| }}} |
| − | + | | RD2-score2 = {{{RD2-score02| }}} | |
| − | + | }}<noinclude> | |
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | |- | ||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | | | ||
| − | | | ||
| − | |- | ||
| − | |||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | <!-- Add categories to the /doc subpage; interwikis go to Wikidata. --> | |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 14:54, 14 October 2020
| Semifinals | Finals | ||||||||
| 1 | |||||||||
| 4 | |||||||||
| 2 | |||||||||
| 3 | |||||||||
| This template uses Lua: |
Usage
Template description: This template generates a generic 4-team tournament bracket. It is designed to minimize the use of vertical space.
Infobox code
{{4TeamBracket-Compact | RD1=
| RD2=
| score-width=
| RD1-seed01=
| RD1-team01=
| RD1-score01=
| RD1-seed02=
| RD1-team02=
| RD1-score02=
| RD1-seed03=
| RD1-team03=
| RD1-score03=
| RD1-seed04=
| RD1-team04=
| RD1-score04=
| RD2-seed01=
| RD2-team01=
| RD2-score01=
| RD2-seed02=
| RD2-team02=
| RD2-score02=
}}
Template parameters
- RD1, RD2 — [OPTIONAL] The names of each respective round. Defaults to "Quarterfinals", "Semifinals", and "Final", respectively.
- score-width — [OPTIONAL] The width (in pixels) of the score field for each game/match. This is useful if you need room for complex scores (e.g. Tennis). Defaults to 25 pixels.
- 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
| The above documentation is transcluded from Template:4TeamBracket-Compact/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |