Difference between revisions of "Template:BracketMatchPlayers"

From QWiki
Line 6: Line 6:
 
Variables
 
Variables
  
-->{{#vardefine:player1|{{#replace:{{{1|}}}|&nbsp;|}}}}<!--
+
-->{{#vardefine:player1|{{#replace:{{{1|}}}|}}}}<!--
 
-->{{#vardefine:player2|{{#replace:{{{3|}}}|&nbsp;|}}}}<!--
 
-->{{#vardefine:player2|{{#replace:{{{3|}}}|&nbsp;|}}}}<!--
 
-->{{#vardefine:p1race|{{{2|}}}}}<!--
 
-->{{#vardefine:p1race|{{{2|}}}}}<!--

Revision as of 01:49, 15 November 2016

Documentation (view - edit)

BracketMatchPlayers.png

This is a subtemplate that you will never use directly.

It only renders the header row of the popups.

It handles Player/team1 and Player/team1flag to the left, and Player/team2 + Player/team2flag to the right.

After it, {{BracketMatchSummary}} renders all rows below, like date, maps, scores, overtime, etc.

BracketMatchPlayers2

BracketMatchPlayers2.png

For 2on2 contexts, used only by certain brackets ending with '2on2' , where you want both teamname and teamlineups shown in the header, see {{BracketMatchPlayers2}}.

It handles team1, team1flag and team1lineup to the left, and team2, team2flag and team2lineup to the right.



Adapted from Liquipedia