Template:Infobox league

Revision as of 18:25, 7 July 2015 by Warwolf30 (talk | contribs)

(view - edit) Documentation

[e][h]Julmust's awesome tournament
League Information
Organizer:
Julmust
Start Date:
2010-10-10
End Date:
2010-10-17
Winners
Player Breakdown
Number of Players:
3
Picon small.png 1
Ticon small.png 1
Zicon small.png 1
Maps

Adding an infobox to your tournament page

An Infobox is one of the standard features of any Liquipedia page and it's no different for tournaments and leagues. The {{Infobox league}}-template should come be before the article text start, but perhaps after other templates such as Tabs or Stub, and also after a banner that you'd like to add to the top. Based on the content of the entries made into the template fields, a Category designation will be added to the bottom of the page. For example, an entry of Korea in the |country= field will add a [[Category:Korean_Tournaments]] tag to that page. Similarly, an entry of Fish in the |server= field will add a [[Category:Fish Tournaments]] tag to that page.


Following will be the explanation of the code, and some templates for you to use on a tournament page.


Code Explanation

{{Infobox league

This brings out the template you will be using.

|name=Julmust's awesome tournament
|image=no_img.png
|organizer= Julmust

Tournament name, link to the banner (upload to LP), and name of organizer, the organizer automatically looks if ther is an LP page with that name and if it finds one it will link to it. You can add up to 4 organizers like this: organizer2 - organizer4 And they'll do the search for each one. Or you can make it into an external link. Also to note: at the moment, Name and Organizer are the only fields that will be displayed even if they are left empty.

|sponsor= [http://www.madeupsite.com/ madeupsite]
|server= EU

Either eu, na, kr, cn, tw, ru, sea, la, and eu/na for both Europe and N. America.

|type= Weekly Online

Either offline, online, or weekly online.

|country=
|city=
|country2=
|city2=
|format= 1v1, Single Elimination

Sponsor of the event, which server it is played on (NA, KR, etc.) the type of event (offline, online or weekly online, etc.) you should add country to offline events, or online too if it indicates which language that is used in most casts and info etc. The format variable should be a short description of the match format and the tournament format (like "1v1, Round Robin" or "Bo7 All-Kill, Double Elimination"). Country2 and city2 are for tournaments which are played out offline at two different locations.

|prizepool= ₩5,000,000

The size of the prize pool for the tournament.

|prizepoolusd= $5,000

The size of the prize pool for the tournament if |prizepool is in a currency different to USD.

|date= 2010-10-10
|sdate= 2010-10-10
|edate= 2010-10-17

Date of event or if it spans multiple days, you can instead add start and end date. Please try to use the ISO date standard (YYYY-MM-DD) with the normal "hyphen-minus" (-) as a seperator.

|tlpd= http://www.teamliquid.net/tlpd/sospa/leagues/4327_1st_LoveTV_Starleague
|web= http://www.teamliquid.net/forum/brood-war/437693-1st-lovetv-bj-league-info

TLPD page and official webpage for the tournament/league, add complete URLs for them to work propperly no title for the links can be given.

|idfirst=
|flagfirst=
|racefirst=
|idsecond=
|flagsecond=
|racesecond=
|idthird=
|flagthird=
|racethird=

Fill out the nick/ID of the top finishers. The template additionally supports adding country flags and race icons. For flags use the country name or its two-letter country code. Use T, Z, P or R to designate each players race. It is also possible to set two third place finishers or a forth place finisher. For a second, shared third place finisher, use "idthird2", to set a fourth place finisher use "idfourth".

|teamfirst=
|teamsecond=
|teamthird=

These are the placings for team tournaments, just like with the ids there's teamthird2 and teamfourth variables. And just like for organizers these will link automatically to a page with the same name as you've entered if there is one.

|code_s_number=
|code_a_number=
|premier_number=
|challenger_number=
|player_number= 3
|protoss_number= 1
|terran_number= 1
|zerg_number= 1
|random_number=

Total number of players, and number for each of the indiviual races. If you've set the number of players by races it's not needed to set the player_number variable as the template will calculate the number for you if you don't. If you do not know the amount of different races in a tournament due to not all spots having been assigned put in the intended number of participants as player_number.

|team_number=
|team1=
|team2=

These are to be used for team tournaments team_number sets the number of teams playing in the league. team1 - team16 lists up to 16 possible teams, for a league with more teams than this just leave these fields blank and make a list on the page. For team tournaments it's not necessary to fill in player_number or the "race"_number variables.

|champ=
|main=
|co-main=
|card1=
|card2=

These are for showmatch leagues, like ITL, or similar events. champ is for championship match, main for the main match and co-main if there is no championship match or the like, card1 - card6 are the other matches played.

|map1= Lost Temple
|map1= Fighting Spirit

Map pool of the tournament. With map1 - map15 you can add up to 15 maps. They will be linked automatically but if you want show a different name than the one that will be linked, you can use the | template in this fashion "LINKNAME|SHOWN NAME".
If the tournament has two map pools there's a second set of 15 map variables 2map1 - 2map15 that can be used. There is also the option to change the titles for the map pool lists with maptitle and 2maptitle or they'll be set to their default "Maps" and "2v2 Maps" respectively.

|previous=
|next=

Links to the previous and next editions of the serie/tournament.

}}

Ends the use of the template, without this the template will not work.

Copy & Paste Templates

You'll find three templates and a full variables list below. Chose the one that suits your needs the best.

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.