Template:Participant/doc: Difference between revisions

Template page
(Created page with "===Parameters:=== {|class="wikitable" !Parameter !Description |- |'''team''' |Full name or shorthand. '''Team Liquid''' or '''liquid''' for example. |- |'''qualifier''' |Usually name of how or from where they qualified. |- |'''notes''' |List of comma separated notes. Show up to the top right of the team name. |- |'''logoAll''' |Logo to be shown in both light and darkmode. If team page exists and has a logo added, then system will take it automatically. |- |'''logoLight''...")
 
mNo edit summary
Line 1: Line 1:
This template should be exclusively used as unnamed parameter in the [[Template:Participants list team]] template.
===Parameters:===
===Parameters:===
{|class="wikitable"
{|class="wikitable"

Revision as of 13:00, 15 February 2024

This template should be exclusively used as unnamed parameter in the Template:Participants list team template.

Parameters:

Parameter Description
team Full name or shorthand. Team Liquid or liquid for example.
qualifier Usually name of how or from where they qualified.
notes List of comma separated notes. Show up to the top right of the team name.
logoAll Logo to be shown in both light and darkmode. If team page exists and has a logo added, then system will take it automatically.
logoLight Logo to be shown in lightmode. If team page exists and has a logo added, then system will take it automatically.
logoAll Logo to be shown in darkmode. If team page exists and has a logo added, then system will take it automatically.
p+number p1, p2, p3 etc for each player separately
p+number+link If you want the link to show one name, but link to another page (usually in case of duplicate player ID's). |p1=Shown name|p1link=Custom name for hyperlink destination
p+number+flag If no player page exists or players infobox doesn't have a country entered. |p1=Shown name|p1flag=Germany
m+number m1, m2, m3 etc for each manager
m+number+link Same as with players, just for managers
m+number+flag Same as with players, just for managers
c+number c1, c2, c3 etc for each coach
c+number+link Same as with players, just for coaches
c+number+flag Same as with players, just for coaches
a+number a1, a2, a3 etc for each analyst
a+number+link Same as with players, just for analysts
a+number+flag Same as with players, just for analysts

Example

{{Participants list team
  |teamsize=5
  |showToggle=y
  |{{JSON|title=Direct Invites}}
  |{{Participant
    |notes=Notes show here,Another one?
    |team=liquid
    |p1=m1CKe
    |p2=Nisha
    |p3=zai
    |p4=Boxi
    |p5=Insania
    |c1=Blitz
    |c2=Jabbz
    |m1=Elya
    |qualifier=Dota Pro Circuit #1
  }}
  |{{Participant
    |team=No logo team
    |logoAll=Tundra_Esports_Logo_Light.png
    |qualifier=Dota Pro Circuit #2
  }}
  |{{JSON|title=Teams qualified from Regionals}}
  |{{Participant
    |team=9Pandas
    |p1=RAMZES666
    |p2=kiyotaka
    |p3=MieRo`
    |p4=Antares
    |p5=Solo
    |m1=Jamba
    |qualifier=Dota Pro Circuit #4
  }}
}}

Will look like this:

Participants list team example.png