Difference between revisions of "Template:LeagueTableSlotNQR"
From QWiki
m (Added |link=true/false/url/abbr functionality) |
m (Added flag support) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{Color|{{{bg}}}}};"|}} | <includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{Color|{{{bg}}}}};"|}} | ||
!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}}}}};|}}"| {{ | + | |style="width:185px;text-align:left;{{#if:{{{bg|}}}|background-color:{{Color|{{{bg}}}}};|}}"|{{team|{{{1}}}|flag={{{flag}}}|link={{{link}}}}} |
|style="width:35px; text-align:center;"|{{{2}}} | |style="width:35px; text-align:center;"|{{{2}}} | ||
|style="width:35px; white-space: pre; text-align:center;"|{{{w|0}}} | |style="width:35px; white-space: pre; text-align:center;"|{{{w|0}}} |
Latest revision as of 10:27, 16 March 2021
Documentation (view - edit)
Related templates:
- {{LeagueTableSlot2on2}}
- {{LeagueTableSlotNQR}}
- {{LeagueTableSlotNQR2}}
- {{GroupTableSlot}}
Table row showing #, team, prefix, M, L, MW, ML, P. All is crude, no math behind.
Supports coloring of either # cell with |pbg= and/or entire row with |bg=. Refer to {{Color}} for available colors.
The code:
{{LeagueTableSlotNQR|Unforbidden|flag=se|link=|UF|place=1|w=11|l=13|mw=32|ml=33|p=37|bg=up}}
Gives us:
# | Team | Prefix | W | L | MW | ML | Points |
---|---|---|---|---|---|---|---|
1. | Unforbidden | UF | 11 | 13 | 32 | 33 | 0 |