Template:CQ-GetPercentageDifference-CompetitorTeamScores/doc

Description
This is a Cargo template used to get the PERCENTAGE difference between two values from relevant Cargo tables for Competitor Teams. 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 team may have used in the past.

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

Syntax
{	"params": { "Competitor Team": { "description": "Competitor Team 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.", "type": "string", "autovalue": "", "required": true },		"TournamentFilter": { "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.", "type": "string", "autovalue": "", "suggested": true },		"comparevalue": { "type": "string", "required": true },		"compareagainst": { "type": "string", "required": true }	},	"format": "inline" }