Template:2Players

From QWiki
Revision as of 10:11, 12 March 2021 by Bps (talk | contribs) (Added support for assigning only 1 player (could be Teamname, instead of 2 teammates))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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!

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