Difference between revisions of "Template:Infobox league/doc"

From QWiki
(Created page with "{{Infobox league |name=DreamHack Winter 2025 |liquipediatier=Premier |valvemajor=true |series=DreamHack |image= |organizer=DreamHack |country=Sweden |city=Jönköping |type=Of...")
 
m
Line 201: Line 201:
  
 
<div style="font-size:110%">'''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.</div>
 
<div style="font-size:110%">'''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.</div>
 +
 +
Adapted from [http://wiki.teamliquid.net/starcraft2/Template:Infobox league Liquipedia]

Revision as of 20:12, 12 January 2017

[e][h]DreamHack Winter 2025
League Information
Series:
Organizer:
DreamHack
Type:
Offline
Location:
Sweden Jönköping
Venue:
Format:
Group Stage (Bo1)
Single-Elimination Bracket (Bo3)
Prize pool:
Template:Local currency
(≃ $599,911.23 USD)
Start Date:
2010-10-10
End Date:
2010-10-17
Winners
 {{Flag/{{{teamfirstflag}}}}} fnatic
 {{Flag/{{{teamsecondflag}}}}} tsm
 {{Flag/{{{teamthirdflag}}}}} team envyus
 {{Flag/{{{teamfourthflag}}}}} navi
Maps
Cache • Cobblestone • Dust II • Inferno • Mirage • Overpass • Train
Signups
Number of signups:
16

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. 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.

|liquipediatier=Premier

Either Premier, Major, Minor or Qualifier.

|valvemajor=true

Sets the event as an Valve sponsored event/tournament.

|name=DreamHack Winter 2025
|image=no_img.png
|organizer=DreamHack

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]
|patch= August 10, 2012 Patch
|epatch= August 15, 2012 Patch

If the event spans multiple patch versions enter the epatch too, otherwise just patch is sufficient.

|type=Online

Either Offline, Online or Hybrid.

|country=Sweden

The country or continent in which the event takes place.

|city=Jönköping

For offline events, the city in which the event takes place. If both the city and country fields are filled, the city will appear next to the country flag in one single line named Location (as in the example infobox).

|venue=[http://www.elmia.se Elmia]

For offline events, the venue in which the event takes place.

|format=Group Stage ({{Abbr/Bo1}})<br /> Single-Elimination Bracket ({{Abbr/Bo3}})

The format variable should be a short description of the match format and the tournament format (like: "Round Robin"/"Group Stage"/"GSL Groups", "Single-Elimination Bracket" or "Double-Elimination Bracket"). Every stage format should be separated by a line-break (<br />)

List of some possible formats:

Group Stage/Round-Robin/GSL Groups:
|format=Group Stage ({{Abbr/Bo1}})
|format=Group Stage ({{Abbr/Bo3}})

|format=Round-Robin ({{Abbr/Bo1}})
|format=Round-Robin ({{Abbr/Bo3}})

|format=GSL Groups ({{Abbr/Bo1}})
|format=GSL Groups ({{Abbr/Bo3}})
Single-Elimination Bracket:
Single-Elimination Bracket ({{Abbr/Bo1}})
Single-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}})
Single-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}} + {{Abbr/Bo5}})
Double-Elimination Bracket:
Double-Elimination Bracket ({{Abbr/Bo1}})
Double-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}})
Double-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}} + {{Abbr/Bo5}})
Tournament Example:

This example is provided for a tournament with a GSL Group (Bo1) stage and a Double-Elimination Bracket (Bo3+Bo5)

|format=GSL Groups ({{Abbr/Bo1}})<br /> Double-Elimination Bracket ({{Abbr/Bo3}} + {{Abbr/Bo5}})

|prizepool=6,000

The size of the prize pool for the tournament and.

|localcurrency=EUR

If the currency used by the tournament is not in USD the local currency should be added as per the ISO 4217 currency standard.

|prizepoolusd=5,000

The size of the prize pool for the tournament in USD if the tournament prize pool is not in 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 8601 date standard (YYYY-MM-DD) with the normal "hyphen-minus" (-) as a seperator.

|game=

The version of Counter-Strike the tournament is played on. Can be csgo, css, "cscz" or cs16.

|web=http://www.teamliquid.net

Make a website link for the tournament.

|facebook=teamliquid

Make a Facebook link for the tournament. Note that only the part after facebook.com/ should be in the field.

|twitter=teamliquid

Make a Twitter link for the tournament. Note that only the part after twitter.com/ should be in the field.

|twitch=teamliquid

Make a Twitch link for the tournament. Note that only the part after twitch.tv/ should be in the field.

|youtube=teamliquid

Make a Youtube link for the tournament. Note that only the part after youtube.com/ should be in the field.

|teamfirst=
|teamsecond=
|teamthird=

These are the team placings in the tournament, 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.

|team_number=
|team_slots=

Used to provide information of how many team slots are available for the tournament, often used in qualifiers that are not filled.

|teamX=

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.

|mapX=

These are to be used for maps in the torunaments map poool, mapX sets the number of maps available for the league. map1 - map10 lists up to 10 possible maps.

|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.

Adapted from league Liquipedia