Template:CQ-GetSum-CompetitorScores/doc

Description
This is a Cargo template used to get the SUM of values in a column from relevant Cargo tables for Competitors. This is meant to be used as a shorthand method as opposed to writing it all out with specific syntax every time. In addition, the template also checks for any aliases the competitor may have used in the past.

Dependencies
This template uses following Cargo tables:
 * Special:CargoTables/TournamentCompetitorScores
 * Special:CargoTables/CompetitorInfo

Syntax
{	"params": { "Competitor": { "type": "string", "required": true, "description": "Competitor name to look up. Older aliases will of the competitor will also be searched for automatically if they exist.", "example": "CrystalFissure, Yogamoanyo, liam tbh, Meteora Girl, etc.", "autovalue": "" },		"TournamentFilter": { "label": "Tournament Filter", "type": "string", "required": true, "description": "Regex matching to filter results for specific tournaments. Note that if only part of a value is matched, it will return it as part of the result.", "example": "ISGP, Spyro Speedruns Cup, World Tag League, etc.", "autovalue": "" },		"field": { "label": "Field", "type": "string", "required": true, "description": "Field to search for the competitor.", "example": "Played, Wins, Draws, Losses", "autovalue": "Played" }	},	"description": "This is a Cargo template used to get the SUM of values in a column from relevant Cargo tables for Competitors. In addition, the template also checks for any aliases the competitor may have used in the past.", "format": "inline", "paramOrder": [ "Competitor", "field", "TournamentFilter" ] }