Template:MatchList/doc

Template page
< Template:MatchList
Revision as of 07:02, 23 April 2024 by Couchor (talk | contribs) (Created page with "If you want the tables to wrap themselves onto multiple rows on smaller screensizes, then call <nowiki>{{Wrap}}</nowiki> before calling the first MatchList template and a <nowiki>{{Wrap|end}}</nowiki> after the last MatchList ===Parameters:=== {|class="wikitable" !Parameter !Description |- |'''title''' |Name of the group, displayed at the very top. |- |'''stage''' |If multiple groups on same page, then add a stage name here that would correlate to the '''stage=''' of t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you want the tables to wrap themselves onto multiple rows on smaller screensizes, then call {{Wrap}} before calling the first MatchList template and a {{Wrap|end}} after the last MatchList

Parameters:

Parameter Description
title Name of the group, displayed at the very top.
stage If multiple groups on same page, then add a stage name here that would correlate to the stage= of the same name in a Template:RoundRobin call so the matches would be linked to that particular group table.
bestof Sets the default bestof number for all the matches in this matchlist.
Unnamed Two options - add them in the order you want them to show up in the table:
  • Use it as a separator to add a new sub-header like |Day 1 to create a table row with that text
  • Use Template:Match to add a match row
twitch The twitch channel to be set by default to all matches in the list
youtube The youtube channel name of the live stream to be set by default to all matches

Example

{{MatchList|title=Group A|stage=Group A|bestof=2|twitch=dota2_ti|youtube=test
  |Day 1
  |{{Match
    |date=2023-10-12 17:00
    |p1=eg
    |p2=liquid
  }}
  |Day 2
  |{{Match
    |date=2023-10-12 19:00
    |p1=tsm
    |p2=gaimin
  }}
}}

Will look like this:

MatchList example.png