Difference between revisions of "Template:2Players"

From QWiki
(Simple template to display 1 flag and 2 players for 2on2 purposes)
(No difference)

Revision as of 22:37, 11 March 2021

Documentation (view - edit)

This template outputs one flag, then two (or only one) linked players. If there's 2 players, they're separated by a blue "&".

2 players

The following code:

{{2Players|usca|BLooD_DoG|BogoJoker}}

Gives us: US & Canada BLooD_DoG & BogoJoker


1 player (or team)

This gives same output as {{Player}}, but other templates (Infobox league) use this to be able to display either or.
The following code:

{{2Players|usca|Clan Unf!|}}

Gives us: US & Canada Clan Unf! & TBD

Use

  • First value is flag, leave empty for TBD
  • Second value is player1
  • Third value is player2
    • If both second and third values are empty, it will display as US & Canada TBD & TBD