Difference between revisions of "Template:GroupTableColHeader/doc"
From QWiki
m (Updated doc: removed |points= functionality) |
m (Minor spelling correction) |
||
Line 18: | Line 18: | ||
<nowiki>{{GroupTableStart|GroupTableStart}}</nowiki> | <nowiki>{{GroupTableStart|GroupTableStart}}</nowiki> | ||
<nowiki>{{GroupTableColHeader|Nation|games=1|maps=1|diff=1}}</nowiki> | <nowiki>{{GroupTableColHeader|Nation|games=1|maps=1|diff=1}}</nowiki> | ||
− | <nowiki>{{ | + | <nowiki>{{GroupTableEnd}}</nowiki> |
This will result in the following table | This will result in the following table | ||
Line 24: | Line 24: | ||
{{GroupTableStart|GroupTableStart}} | {{GroupTableStart|GroupTableStart}} | ||
{{GroupTableColHeader|Nation|games=1|maps=1|diff=1}} | {{GroupTableColHeader|Nation|games=1|maps=1|diff=1}} | ||
− | {{ | + | {{GroupTableEnd}} |
=== #2 === | === #2 === | ||
<nowiki>{{GroupTableStart|GroupTableStart}}</nowiki> | <nowiki>{{GroupTableStart|GroupTableStart}}</nowiki> | ||
<nowiki>{{GroupTableColHeader|Nation|games=1|maps=1|diff=}}</nowiki> | <nowiki>{{GroupTableColHeader|Nation|games=1|maps=1|diff=}}</nowiki> | ||
− | <nowiki>{{ | + | <nowiki>{{GroupTableEnd}}</nowiki> |
This will result in the following table | This will result in the following table | ||
Line 35: | Line 35: | ||
{{GroupTableStart|GroupTableStart}} | {{GroupTableStart|GroupTableStart}} | ||
{{GroupTableColHeader|Nation|games=1|maps=1|diff=}} | {{GroupTableColHeader|Nation|games=1|maps=1|diff=}} | ||
− | {{ | + | {{GroupTableEnd}} |
Revision as of 10:13, 15 March 2021
Adds a column header row to a group table. This template is used inbetween the templates {{GroupTableStart}} and {{GroupTableSlot}}, which have to end with with {{GroupTableEnd}}).
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
Examples
#1
{{GroupTableStart|GroupTableStart}} {{GroupTableColHeader|Nation|games=1|maps=1|diff=1}} {{GroupTableEnd}}
This will result in the following table
GroupTableStart | |||||
---|---|---|---|---|---|
# | Nation | Games | Maps | Diff |
#2
{{GroupTableStart|GroupTableStart}} {{GroupTableColHeader|Nation|games=1|maps=1|diff=}} {{GroupTableEnd}}
This will result in the following table
GroupTableStart | |||||
---|---|---|---|---|---|
# | Nation | Games | Maps |