Difference between revisions of "Template:8TeamBracket-Compact/doc"
Jump to navigation
Jump to search
blackwiki>Avicennasis m (Avicennasis moved page Template talk:8TeamBracket-Compact to Template:8TeamBracket-Compact/doc without leaving a redirect: documentation goes on doc subpage) |
blackwiki>Pppery (Document use of Lua) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{lua|Module:TeamBracket}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
== Usage == | == Usage == | ||
Revision as of 22:02, 29 May 2019
| This is a documentation subpage for Template:8TeamBracket-Compact. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Usage
Template description: This template generates a generic 8-team tournament bracket. It is designed to minimize the use of vertical space.
Infobox code
{{8TeamBracket-Compact | RD1=
| RD2=
| RD3=
| 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=
| RD1-seed05=
| RD1-team05=
| RD1-score05=
| RD1-seed06=
| RD1-team06=
| RD1-score06=
| RD1-seed07=
| RD1-team07=
| RD1-score07=
| RD1-seed08=
| RD1-team08=
| RD1-score08=
| RD2-seed01=
| RD2-team01=
| RD2-score01=
| RD2-seed02=
| RD2-team02=
| RD2-score02=
| RD2-seed03=
| RD2-team03=
| RD2-score03=
| RD2-seed04=
| RD2-team04=
| RD2-score04=
| RD3-seed01=
| RD3-team01=
| RD3-score01=
| RD3-seed02=
| RD3-team02=
| RD3-score02=
}}
Template parameters
- RD1, RD2, RD3 — [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
- Template:4TeamBracket-Compact
- Template:8TeamBracket-Compact
- Template:8TeamBracket
- Template:16TeamBracket-Compact
- Template:32TeamBracket-Compact