Difference between revisions of "Template:GroupTableColHeader"
From QWiki
m (Extreme lab) |
m (Added abbr for diff) |
||
Line 5: | Line 5: | ||
-->{{!}}{{!}}<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align:center;"{{!}}{{{win_g|<small>Maps</small>}}}<!-- | -->{{!}}{{!}}<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align:center;"{{!}}{{{win_g|<small>Maps</small>}}}<!-- | ||
-->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well | -->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well | ||
− | -->| {{!}}{{!}}<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align: center;"{{!}}<small>Diff</small> | + | -->| {{!}}{{!}}<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align: center;"{{!}}<small>{{abbr|Diff|Map difference}}</small> |
}}{{#ifeq:{{lc:{{#var:show_points|}}}}|true<!-- if show_p present, show points | }}{{#ifeq:{{lc:{{#var:show_points|}}}}|true<!-- if show_p present, show points | ||
-->| {{!}}{{!}}<!--class="grouptable-points"-->style="width: 32px; white-space: pre; text-align:center;"{{!}}<!-- | -->| {{!}}{{!}}<!--class="grouptable-points"-->style="width: 32px; white-space: pre; text-align:center;"{{!}}<!-- |
Revision as of 07:44, 9 November 2020
Documentation (view - edit)
Related templates:
- {{LeagueTableSlot2on2}}
- {{LeagueTableSlotNQR}}
- {{LeagueTableSlotNQR2}}
- {{GroupTableSlot}}
Example #1
{{GroupTableStart|GroupTableStart|width=100%}} {{GroupTableColHeader|Nation|games=1|maps=1|diff=1}} {{GroupTableEnd}}
Gives us:
GroupTableStart | |||||
---|---|---|---|---|---|
# | Nation | Games | Maps | Diff |
Example #1
{{GroupTableStart|GroupTableStart|width=100%}} {{GroupTableColHeader|Nation|games=1|maps=1|diff=}} {{GroupTableEnd}}
Gives us:
GroupTableStart | |||||
---|---|---|---|---|---|
# | Nation | Games | Maps |
Parameters
The following parameters can be used for this template
- first unnamed argument
- The first unnamed argument of the parameter list is used as the name of player column. Examples could be
Player
,Team
orNation
. - |games=
- (Optional) If not empty, it will display "Games" header
- |maps=
- (Optional) If not empty, it will display "Maps" header
- |diff=
- (Optional) If not empty, it will display "Diff" header