Difference between revisions of "Template:LeagueTableSlotEQLSPL"

From QWiki
m
m (Updated style of bonus)
 
Line 7: Line 7:
 
|style="width:35px; white-space: pre; text-align:center;"|{{{ml|0}}}
 
|style="width:35px; white-space: pre; text-align:center;"|{{{ml|0}}}
 
|style="width:35px; white-space: pre;text-align:center;"|'''{{{p|0}}}'''
 
|style="width:35px; white-space: pre;text-align:center;"|'''{{{p|0}}}'''
|style="width:35px; white-space: pre;text-align:center;"|'''{{{p2|0}}}'''
+
|style="width:35px; white-space: pre;text-align:center;"|{{{p2|0}}}
 
</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
 
</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 09:57, 31 May 2023

Documentation (view - edit)

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. Finland 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 TBD (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.