Template:PointStandings/doc

From Liquipedia Stormgate Wiki

Parameters

[edit]

Parameters per event

[edit]
|eventX=
Set the link to the Xth event for which data shall be queried here.
|eventXname=
Sets the name that shall be displayed for eventX.
|eventXdisplay= (Optional)
If set to "false" the column for this event is not displayed.
|eventXpointmode= (Optional)
Set this to "2" if the points you want to retrieve from |eventX= were stored in points2 instead of points.

Global parameters

[edit]
|offset= (Optional)
Defines how many rows/players shall be skipped before starting the display. (Default: 0)
|limit= (Optional)
Defines a maximum number of rows/players shown.
|points_name= (Optional)
Defines the column name for the Total Points column. (Default: Total Points)
|fullstandings= (Optional)
Defines the link to be used to link to the full standings in case a limit is set.
|storage_object= (Optional; Only effective in main space)
Enables storage of the rank and the total points along with player link and region in LPDB data points. It also defines the name of these LPDB data points.
|cut= (Optional)
Defines until which row the rank is to be highlighted with bg-up background-color.
|cut2= (Optional)
Defines until which row the rank is to be highlighted with bg-stayup background-color.
|cut3= (Optional)
Defines until which row the rank is to be highlighted with bg-stay background-color.
|region= (Optional; only works if |regionmodule= is set too.)
Defines the region for which results should be shown.
|regionmodule= (Optional; only works if |region= is set too.)
Defines the module in which the region of players are stored.

Opponent parameters

[edit]
|dqX= (Optional)
Define a player for whom (if the players row is displayed) the background-color of the row shall be bg-down.
|qualifiedX= (Optional)
Define a player for whom (if the players row is displayed) the background-color of the row shall be bg-up.
|stayupX= (Optional)
Define a player for whom (if the players row is displayed) the background-color of the row shall be bg-stayup.
|stayX= (Optional)
Define a player for whom (if the players row is displayed) the background-color of the row shall be bg-stay.
|noteXpY= (Optional)
Use this to add a X to the player you specify here. (The Y is a natural number. This is so that the same X can be added to several players)

Manually adding points

[edit]

To an event

[edit]
|eventXadditionalY=
Define to which opponent you want to manually add points in eventX.
|eventXadditionalYopponent=
Set the opponentData for opponent Y in eventX.
Use the OpponentTemplates here, e.g. |event1additional1opponent={{TeamOpponent|template=....}}
|eventXadditionalYpoints=
Define the amount of points that you want to add manually to player Y in eventX.
|eventXadditionalYplacement= (Optional, will default to active)
Define the placement (background color) for player Y in eventX.
|eventXadditionalYid= (Optional, gets ignored if |eventXadditionalYopponent= is set)
Define the display name for the player that you want to add points to manually.
|eventXadditionalYflag= (Optional, gets ignored if |eventXadditionalYopponent= is set)
Define the flag code for the player that you want to add points to manually.
|eventXadditionalYfaction= (Optional, gets ignored if |eventXadditionalYopponent= is set)
Define the faction for the player that you want to add points to manually.

In an additional column

[edit]
|additionalname= (Optional)
Define the name of the column in which the manually added points are displayed.
|additionalshow= (Optional)
If set to "false" this will hide the column for the manually set additional points
|additionalX=
Define to which player you want to manually add points.
|additionalXpoints=
Define the amount of points that you want to add manually.
|additionalXid= (Optional if the player already has point results in the queried events)
Define the display name for the player that you want to add points to manually.
|additionalXflag= (Optional if the player already has point results in the queried events)
Define the flag code for the player that you want to add points to manually.
|additionalXfaction= (Optional if the player already has point results in the queried events)
Define the faction for the player that you want to add points to manually.

Tie-breakers

[edit]
|tiedX=
Define to which player you want to manually add hidden tie breaker points.
|tiedXpoints= (Optional)
Define the amount of hidden tie breaker points you want to add manually.

Example

[edit]
{{Point standings lpdb
|fullstandings=ESL_Pro_Tour/2020/21/Korea/Standings
|cut=2
|cut2=4
|cut3=6
|limit=10

|event1=Global_StarCraft_II_League/2020/Season_1|event1name=GSL S1
|event2=Global_StarCraft_II_League/2020/Season_2|event2name=GSL S3
|event3=Global_StarCraft_II_League/2020/Season_3|event3name=GSL S3

|event3additional1=ByuN
|event3additional1faction=t
|event3additional1flag=kr
|event3additional1points=9999
|event3additional1place=active

|dq1=Trap
|note1p1=Trap
|note1p2=Stats
|note5p1=Stats
|qualified1=TY
|stayup1=Cure
|stay1=INnoVation
}}