Template:TeamMatchListHeader

From QWiki
Revision as of 11:36, 3 May 2017 by Bps (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation (view - edit)

Just like {{GroupTableStart}}, this template generates a header to place above {{MatchList}}. This template's main feature is to display two team names and a score. It is not mandatory to use {{MatchList}} below this template. It can reference teams that have an entry in {{Team}} or a regular formatted text. The team with the higher score is automatically bolded.

Example

The code:

{{TeamMatchListHeader
|team1literal={{flag/de}} Templars of Twilight
|team2literal={{flag/kr}} Korea
|team1score=3
|team2score=2
}}

Gives us:

Germany Templars of Twilight 3 2 Template:Flag/kr Korea

Parameters

TeamMatchListHeader

|teamX=
refers to a team entry in {{Team}}, X is 1 or 2.
|teamXliteral=
set a team name, and any formatting, including other templates such as {{Flag}} can be included, as in the example above. Useful when the team to set is not defined in {{Team}}. X is 1 or 2.
|teamXscore=
set the team's score, X is 1 or 2.

MatchList

Refer to Template:MatchList/doc


Snippet code

With teams in {{Team}}

{{TeamMatchListHeader
|team1=
|team2=
|team1score=
|team2score=
}}

With formatted text teams

{{TeamMatchListHeader
|team1literal=
|team2literal=
|team1score=
|team2score=
}}

Associated Templates


Adapted from Liquipedia