Template:Team achievements table

From Liquipedia Commons Wiki

Documentation (view - edit)

Builds Results/Achievements Table.

Is customizable on a per wiki basis via Module:ResultsTable/Custom

Parameters

Query Conditions

|game=
Limit the query to only fetch results with the given game
|startdate=|sdate=
Limit the query to only fetch results that were achieved >= the start date
|enddate=|edate=
Limit the query to only fetch results that were achieved <= the end date
|placement=
Limit the query to only fetch results with the given placement
|tier=
Limit the query to only fetch results with the given liquipedia tier
You can enter several tiers sep. by ,. Example: |tier=1,2
|order=
Order in which the lpdb query should sort
default: desc
|sort=
Sort column after which the lpdb query should sort
for achievements the default is weight, for results the default is date
|playerResultsOfTeam=
If set to true this will make the query for team opponents also look for non team results of players that were on the team while they achieved the placement
|additionalConditions=
Field with which additional conditions can be added via Module:ResultsTable/Custom
|customConditions=
Field with which conditions can be completely overwritten via Module:ResultsTable/Custom
|playerLimit= |coachLimit=
amount of players the query has to be expect when querying player/coach results
use the according param for the according query type

General Settings

|querytype= MANDATORY!!!
Type of the participant for which to query
Valid entries are: solo, team, coach
|hideresult=
Do not display the lastVs/Score column
|gameIcons=
Displays and additional game icons column
|achievements=
Set to true to query achievements instead of results
limits amount of returned rows (unles limit is overwritten); sorts by weight during the query

Input

|data=
Manually provided data passed in form of a lua table in the format the query would return
Intended to be only used via Module:ResultsTable/Custom
Circumvents the lpdb query of Module:ResultsTable/Base
|manualContent=
Manual Input that gets added at the bottom of the results/achievements table
Intended to be used via Module:ResultsTable/Custom, for an example see starcraft2:Module:ResultsTable/Custom
|coach=|player=|team=
The coach/player/team for which to query data
In main space this defaults to the BASEPAGENAME
In other namespaces if the FULLPAGENAME contains "results" it defaults to TitleParts[#TitleParts - 1]
In other namespaces if the FULLPAGENAME does not contain "results" it defaults to SUBPAGENAME