Template:Trn
Type {{Trn|Name}}
to link to a page in the Tournament namespace. For example, {{Trn|Apex 2015}}
results in Apex 2015.
A second parameter can be given for (parentheses disambiguation). For example, {{Trn|Revival of Melee|series}}
results in Revival of Melee.
To get formatting based on whether a tournament is a "major" or similar, add |g=SSBM
or similar. For example, {{Trn|Apex 2013|g=SSBB}}
results in Apex 2013.
The actual code is at Module:Trn. If you're looking to change which tournaments are majors and whatnot, see Module:Trn/data.