Difference between revisions of "Template:LeagueTableSlotEQLSPL"
From QWiki
m (Added p2-param for allowing bonus points) |
m |
||
Line 2: | Line 2: | ||
!style="width: 16px;{{#if: {{{pbg|}}}| background-color:{{Color|{{{pbg}}}}};|}}"|{{{place|X}}}. | !style="width: 16px;{{#if: {{{pbg|}}}| background-color:{{Color|{{{pbg}}}}};|}}"|{{{place|X}}}. | ||
|style="width:185px;text-align:left;{{#if:{{{bg|}}}|background-color:{{Color|{{{bg}}}}};|}}"|{{team|{{{1}}}|flag={{{flag}}}|link={{{link}}}}} | |style="width:185px;text-align:left;{{#if:{{{bg|}}}|background-color:{{Color|{{{bg}}}}};|}}"|{{team|{{{1}}}|flag={{{flag}}}|link={{{link}}}}} | ||
− | |style="width:35px; white-space: pre; text-align:center;"|{{{ | + | |style="width:35px; white-space: pre; text-align:center;"|{{{prax|0}}} |
+ | |style="width:35px; white-space: pre; text-align:center;"|{{{m|0}}} | ||
|style="width:35px; white-space: pre; text-align:center;"|{{{mw|0}}} | |style="width:35px; white-space: pre; text-align:center;"|{{{mw|0}}} | ||
|style="width:35px; white-space: pre; text-align:center;"|{{{ml|0}}} | |style="width:35px; white-space: pre; text-align:center;"|{{{ml|0}}} |
Revision as of 09:17, 31 May 2023
Documentation (view - edit)
Related templates:
- {{LeagueTableSlot2on2}}
- {{LeagueTableSlotNQR}}
- {{LeagueTableSlotNQR2}}
- {{LeagueTableSlotEQLSPL}}
- {{GroupTableSlot}}
Table header row, showing #, team, pracs, maps total, maps won, maps lost, points, bonus (points). All is crude, no math behind.
The code:
{{LeagueTableSlotEQLSPL|Fragunit|flag=fi|link=|place=1|prax=3|m=11|mw=4|ml=7|p=27|p2=?}}
Gives us:
# | Team | Pracs | Maps | MW | ML | Points | + |
---|---|---|---|---|---|---|---|
1. | Fragunit | 3 | 11 | 4 | 7 | 27 | ? |
Parameters
The following parameters can be used in this template
- first parameter
- The first parameter in this template (technically the {{{1}}} field) is used as the team name.
- |flag=
- Set two-letter country flag. If empty, will show (undefined flag)
- |link=
- Specify what the team should link to. If empty, will link to itself. To avoid red links when pages are missing, insert correct link here. If set to 'false', team will not be linked.
- |place=...
- (optional) The place number to shown. If this parameter is not set the value
X
is used. - |prax=
- Number of pracs the team has played.
- |m=
- Number of maps the team has played.
- |mw=
- Number of maps the team has won.
- |ml=
- Number of maps the team has lost.
- |p=
- Number of points.
- |p2=
- Number of bonus points.