Difference between revisions of "Template:Match/doc"

From QWiki
(Updated doc)
 
m (Added info parameter to doc)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Used to put an upcoming match in the spotlight on the startpage.
 
Used to put an upcoming match in the spotlight on the startpage.
  
This particular template displays <mark>only playername/teamname</mark>.<br />
+
This particular template displays <mark>only 1 playername/teamname</mark>.<br />
For a another version with player/teamname + an array of players, see {{Tl|MatchAbbr}}.
+
* For a version with player/teamname + an array of players, see {{Tl|MatchAbbr}}.
 +
* For a version with 2 individual players with a common flag, see {{Tl|Match2on2}}.
  
 
== Example ==
 
== Example ==
 
The code:
 
The code:
<pre>{{match|Unholy Alliance|sefi|AeronautS|se|date=20 February 2021 20:00|event=Money for nothin and gibs for free|stream=suddendeathTV}}</pre>
+
<pre>{{match|Mutilator|se|Rock|fi|date=20 February 2022 20:00|event=Duelmania Worldwide 2|info=Grudge Match|stream=hemostick}}</pre>
  
 
gives us:{{Col}}
 
gives us:{{Col}}
===Games in spotlight===
+
===Game in spotlight===
{{match|Unholy Alliance|sefi|AeronautS|se|date=20 February 2021 20:00|event=Money for nothin and gibs for free|stream=suddendeathTV}}
+
{{match|Mutilator|se|Rock|fi|date=20 February 2022 20:00|event=Duelmania Worldwide 2|info=Grudge Match|stream=hemostick}}
  
 
===Tournaments===
 
===Tournaments===

Latest revision as of 07:19, 6 April 2021

Used to put an upcoming match in the spotlight on the startpage.

This particular template displays only 1 playername/teamname.

  • For a version with player/teamname + an array of players, see {{MatchAbbr}}.
  • For a version with 2 individual players with a common flag, see {{Match2on2}}.

Example

The code:

{{match|Mutilator|se|Rock|fi|date=20 February 2022 20:00|event=Duelmania Worldwide 2|info=Grudge Match|stream=hemostick}}

gives us:

Game in spotlight

  Grudge Match  
Sweden Mutilator vs. Finland Rock
hemostick
Duelmania Worldwide 2

Tournaments

Upcoming
-webkit-baseline-middle Upcoming tournament 1 ?
-webkit-baseline-middle Upcoming tournament 2 ?