Module:TeamBracket-Compact-Tennis/doc
Hetta er kunningarsíðan viðvíkjandi Module:TeamBracket-Compact-Tennis
Henda Lua module verður nýtt á nógvum síðum, so broytingar á síðuni verða lagdar til merkis víða. Vinarliga royn broytingarnar á tíni egnu sandkassa-síðu ella á /sandbox ella /testcases undirsíðum hjá fyrimyndini, ella í einari brúkaraundirsíðu, og umhugsa at kjakast um broytingar á Wikipedia talk:High-risk templates áðrenn tú goymir broytingarnar á sjálvari fyrimyndini. |
This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
This template implements a variant of Module:TeamBracket for tennis tournaments. It is a generic visual representation of the tournament bracket. For common usage, use the templates in Category:Tennis tournament bracket templates.
Usage
rætta{{#invoke: TeamBracket-Compact-Tennis | teamBracket | rounds = | sets = | seed-width = | team-width = | score-width = | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1-1 = | RD1-score1-2 = | RD1-score1-3 = }}
Parameter list
rættaThe parameters are as follows:
seed-width –
the width of the cells for seeds.team-width –
the width of the cells for team names.score-width –
the width of the cells for scores.
RDn –
The name of round n.RDn-seedm –
The seed of team m in round n.RDn-teamm –
The name of team m in round n.RDn-scorem-s –
The score of set s for team m in round n.
Examples
rætta{{#invoke: TeamBracket-Compact-Tennis | teamBracket | rounds = 2 | sets = 3 | RD1-seed1 = '''1''' | RD1-seed2 = 4 | RD1-team1 = '''John''' | RD1-team2 = Declan | RD1-score1-1 = '''6''' | RD1-score2-1 = 0 | RD1-score1-2 = 3 | RD1-score2-2 = '''6''' | RD1-score1-3 = '''7''' | RD1-score2-3 = 6 | RD1-seed3 = 2 | RD1-seed4 = 3 | RD1-team3 = Barry | RD1-team4 = Steve | RD2-seed1 = 1 | RD2-team1 = John }}
Semifinals | Finals | ||||||||||||
1 | John | 6 | 3 | 7 | |||||||||
4 | Declan | 0 | 6 | 6 | 1 | John | |||||||
2 | Barry | ||||||||||||
3 | Steve |