Template:Infobox league2on2

From QWiki
Revision as of 10:25, 12 March 2021 by Bps (talk | contribs) (Creating first version of Infobox with support for both 1 and 2 players/teams)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation (view - edit)

[e][h]Tourney with mixed winners
League Information
Type:
Online
Format:
2on2
Date:
June 26th 2015
Winners
 Europe fix & fifi
 Finland Rock & Janne
Maps
dm2 • dm4 • dm6 • aerowalk • ztndm3

This sibling template to {{Infobox league}} can be used when you need to display either 1 or 2 players/teams in the winners list. The template should come before the article text start. See {{Infobox league}} for all possible variables.

Code Explanation

Here follows what is unique to {{Infobox league2on2}}:

|firstp1=Ragnarök
|firstp2=
|firstflag=eu
|secondp1=fix
|secondp2=fifi
|secondflag=eu
|thirdp1=Rock
|thirdp2=Janne
|thirdflag=fi
|third2p1=
|third2p2=
|third2flag=
|fourthp1=Clan Unf!
|fourthp2=
|fourthflag=usca

These are the team placings in the tournament. There's also third2p1 and teamfourth variables when bronze was never played.

NOTE: After you've entered all the information you have, do not add: 0, N/A, TBD etc to empty variable fields, instead it is often times best to just remove the empty ones, unless you know this information will be coming in the future (like results for first through third place) but then you can just leave the fields blank.

Copy/paste

{{Infobox league
|name=
|series=
|image=
|organizer=
|admin=
|founder=
|country=
|city=
|type=Online
|venue=
|format=
|sdate=
|edate=
|prizepool=
|prizepoolusd=
|firstp1=
|firstp2=
|firstflag=
|secondp1=
|secondp2=
|secondflag=
|thirdp1=
|thirdp2=
|thirdflag=
|third2p1=
|third2p2=
|third2flag=
|fourthp1=
|fourthp2=
|fourthflag=
|map1=
|map2=
|map3=
|map4=
|map5=
|map6=
|map7=
|team_number=
|website=
|twitch=
|youtube=
|discord=
}}


Adapted from Liquipedia