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

From QWiki
m
m (Major docs overhaul, showing the actual stuff and hiding TL legacy)
Line 1: Line 1:
 +
__NOTOC__
 
{{Infobox league
 
{{Infobox league
 
|name=DreamHack Winter 2025
 
|name=DreamHack Winter 2025
|liquipediatier=Premier
 
|valvemajor=true
 
 
|series=DreamHack
 
|series=DreamHack
|image=
+
|image=Dh08.jpg
 
|organizer=DreamHack
 
|organizer=DreamHack
 +
|admin={{player|ocoini|flag=no}}
 
|country=Sweden
 
|country=Sweden
 
|city=Jönköping
 
|city=Jönköping
Line 13: Line 13:
 
|sdate=2010-10-10
 
|sdate=2010-10-10
 
|edate=2010-10-17
 
|edate=2010-10-17
|prizepool=5,000,000
+
|prizepool=5,000,000 SEK
|localcurrency=SEK
 
 
|prizepoolusd=599,911.23
 
|prizepoolusd=599,911.23
|teamfirst=fnatic
+
|teamfirst=The Viper Squad
|teamsecond=tsm
+
|teamfirstflag=fi
|teamthird=team envyus
+
|teamsecond=Suddendeath
|teamfourth=navi
+
|teamsecondflag=se
|map1=Cache
+
|teamthird=X
|map2=Cobblestone
+
|teamthirdflag=eu
|map3=Dust II
+
|teamfourth=felia020
|map4=Inferno
+
|teamfourthflag=se
|map5=Mirage
+
|map1=dm2
|map6=Overpass
+
|map2=dm3
|map7=Train
+
|map3=e1m2
|team_number=16
+
|map4=cmt3
 +
|map5=schloss
 +
|map6=ctl8
 +
|map7=
 +
|team_number=8
 +
|website=quakeworld.nu
 +
|twitch=suddendeathTV
 +
|youtube=tvsuddendeath
 +
|discord=discord.quake.world
 
}}
 
}}
 
+
An Infobox is one of the standard features of any QWiki page and it's no different for tournaments and leagues. The {{tl|Infobox league}}-template should come before the article text start.
==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 {{tl|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===
 
===Code Explanation===
 
'''<nowiki>{{Infobox league</nowiki>'''<br>'''
 
'''<nowiki>{{Infobox league</nowiki>'''<br>'''
 
:''This brings out the template you will be using.''
 
:''This brings out the template you will be using.''
'''<nowiki>|liquipediatier=Premier</nowiki>'''<br />
 
:''Either ''Premier'', ''Major'', ''Minor'' or ''Qualifier''.''
 
'''<nowiki>|valvemajor=true</nowiki>'''<br />
 
:''Sets the event as an Valve sponsored event/tournament.''
 
 
'''<nowiki>|name=DreamHack Winter 2025</nowiki>'''<br>
 
'''<nowiki>|name=DreamHack Winter 2025</nowiki>'''<br>
 
'''<nowiki>|image=no_img.png </nowiki>'''<br>
 
'''<nowiki>|image=no_img.png </nowiki>'''<br>
 
'''<nowiki>|organizer=DreamHack</nowiki><br>
 
'''<nowiki>|organizer=DreamHack</nowiki><br>
:''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.''<!--
+
'''<nowiki>|admin=</nowiki><br>
 +
:''You can add up to 4 organizers and 5 admins, like this: '''organizer2''' - '''organizer4'''. Please use the [[template:Player|player]] template with flags, like this <nowiki>{{player|ocoini|flag=no}}</nowiki>.''<!--
  
 
-->
 
-->
 
'''<nowiki>|sponsor= [http://www.madeupsite.com/ madeupsite]</nowiki>'''<br />
 
'''<nowiki>|sponsor= [http://www.madeupsite.com/ madeupsite]</nowiki>'''<br />
'''<nowiki>|patch= August 10, 2012 Patch</nowiki>'''<br />
 
'''<nowiki>|epatch= August 15, 2012 Patch</nowiki>'''<br />
 
:''If the event spans multiple patch versions enter the '''epatch''' too, otherwise just '''patch''' is sufficient.''
 
 
'''<nowiki>|type=Online</nowiki>'''<br />
 
'''<nowiki>|type=Online</nowiki>'''<br />
 
:''Either ''Offline'', ''Online'' or ''Hybrid''.''
 
:''Either ''Offline'', ''Online'' or ''Hybrid''.''
Line 64: Line 62:
 
===== Group Stage/Round-Robin/GSL Groups: =====
 
===== Group Stage/Round-Robin/GSL Groups: =====
 
<pre>
 
<pre>
|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/Bo1}})
 
|format=GSL Groups ({{Abbr/Bo3}})
 
|format=GSL Groups ({{Abbr/Bo3}})
</pre>
 
===== Single-Elimination Bracket: =====
 
<pre>
 
Single-Elimination Bracket ({{Abbr/Bo1}})
 
Single-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}})
 
Single-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}} + {{Abbr/Bo5}})
 
</pre>
 
===== Double-Elimination Bracket: =====
 
<pre>
 
Double-Elimination Bracket ({{Abbr/Bo1}})
 
Double-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}})
 
Double-Elimination Bracket ({{Abbr/Bo1}} + {{Abbr/Bo3}} + {{Abbr/Bo5}})
 
 
</pre>
 
</pre>
 
===== Tournament Example: =====
 
===== Tournament Example: =====
Line 91: Line 71:
 
</pre>
 
</pre>
 
'''<nowiki>|prizepool=6,000</nowiki>'''<br />
 
'''<nowiki>|prizepool=6,000</nowiki>'''<br />
:''The size of the prize pool for the tournament and.''
+
:''The size of the prize pool for the tournament and. Add currency after value.''
'''<nowiki>|localcurrency=EUR</nowiki>'''<br />
 
:''If the currency used by the tournament is not in {{Abbr/USD}} the local currency should be added as per the [http://en.wikipedia.org/wiki/ISO_4217 ISO 4217] currency standard.''
 
 
'''<nowiki>|prizepoolusd=5,000</nowiki>'''<br />
 
'''<nowiki>|prizepoolusd=5,000</nowiki>'''<br />
 
:''The size of the prize pool for the tournament in {{Abbr/USD}} if the tournament prize pool is not in {{Abbr/USD}}.''
 
:''The size of the prize pool for the tournament in {{Abbr/USD}} if the tournament prize pool is not in {{Abbr/USD}}.''
Line 100: Line 78:
 
'''<nowiki>|edate= ''2010-10-17''</nowiki>'''<br>
 
'''<nowiki>|edate= ''2010-10-17''</nowiki>'''<br>
 
:''Date of event or if it spans multiple days, you can instead add start and end date. Please try to use the [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601] date standard (YYYY-MM-DD) with the normal "hyphen-minus" (-) as a seperator.''
 
:''Date of event or if it spans multiple days, you can instead add start and end date. Please try to use the [http://en.wikipedia.org/wiki/ISO_8601 ISO 8601] date standard (YYYY-MM-DD) with the normal "hyphen-minus" (-) as a seperator.''
'''<nowiki>|game=</nowiki>'''<br />
+
'''<nowiki>|website=www.quakeworld.nu</nowiki>'''<br />
:''The version of Counter-Strike the tournament is played on. Can be ''csgo'', ''css'', "cscz" or ''cs16''.
+
:Make a website link for the tournament. Can list multiple with website1 etc.
'''<nowiki>|web=http://www.teamliquid.net</nowiki>'''<br />
+
'''<nowiki>|discord=discord.quake.world</nowiki>'''<br />
:Make a website link for the tournament.
+
:Make a link to tournament Discord.
'''<nowiki>|facebook=teamliquid</nowiki>'''<br>
+
'''<nowiki>|facebook=qwiki</nowiki>'''<br>
 
:Make a Facebook link for the tournament. Note that only the part after facebook.com/ should be in the field.
 
:Make a Facebook link for the tournament. Note that only the part after facebook.com/ should be in the field.
'''<nowiki>|twitter=teamliquid</nowiki>'''<br>
+
'''<nowiki>|twitter=qwiki</nowiki>'''<br>
 
:Make a Twitter link for the tournament. Note that only the part after twitter.com/ should be in the field.
 
:Make a Twitter link for the tournament. Note that only the part after twitter.com/ should be in the field.
'''<nowiki>|twitch=teamliquid</nowiki>'''<br>
+
'''<nowiki>|twitch=qwiki</nowiki>'''<br>
 
:Make a Twitch link for the tournament. Note that only the part after twitch.tv/ should be in the field.
 
:Make a Twitch link for the tournament. Note that only the part after twitch.tv/ should be in the field.
'''<nowiki>|youtube=teamliquid</nowiki>'''<br>
+
'''<nowiki>|youtube=qwiki</nowiki>'''<br>
 
:Make a Youtube link for the tournament. Note that only the part after youtube.com/ should be in the field.
 
:Make a Youtube link for the tournament. Note that only the part after youtube.com/ should be in the field.
 
'''<nowiki>|teamfirst=</nowiki>'''<br />
 
'''<nowiki>|teamfirst=</nowiki>'''<br />
Line 117: Line 95:
 
:''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.''
 
:''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.''
 
'''<nowiki>|team_number=</nowiki>'''<br />
 
'''<nowiki>|team_number=</nowiki>'''<br />
'''<nowiki>|team_slots=</nowiki>'''<br />
 
 
:''Used to provide information of how many team slots are available for the tournament, often used in qualifiers that are not filled. ''
 
:''Used to provide information of how many team slots are available for the tournament, often used in qualifiers that are not filled. ''
 
'''<nowiki>|teamX=</nowiki>'''<br />
 
'''<nowiki>|teamX=</nowiki>'''<br />
Line 129: Line 106:
 
'''<nowiki>}}</nowiki>'''<br>
 
'''<nowiki>}}</nowiki>'''<br>
 
:''Ends the use of the template, without this the template will not work.''
 
:''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.
 
{| class="wikitable collapsible collapsed" width="100%"
 
! Template: Standard Tournaments<br /> Copy the content to your page.
 
|-
 
|
 
<nowiki>{{Infobox league</nowiki><br />
 
<nowiki>|liquipediatier=</nowiki><br />
 
<nowiki>|name=</nowiki><br />
 
<nowiki>|image= </nowiki><br />
 
<nowiki>|game=</nowiki><br />
 
<nowiki>|series=</nowiki><br />
 
<nowiki>|organizer=</nowiki><br />
 
<nowiki>|sponsor=</nowiki><br />
 
<nowiki>|type=</nowiki><br />
 
<nowiki>|country=</nowiki><br />
 
<nowiki>|city=</nowiki><br />
 
<nowiki>|venue=</nowiki><br />
 
<nowiki>|format=</nowiki><br />
 
<nowiki>|prizepool= </nowiki><br />
 
<nowiki>|localcurrency= </nowiki><br />
 
<nowiki>|prizepoolusd= </nowiki><br />
 
<nowiki>|date=</nowiki><br />
 
<nowiki>|sdate= </nowiki><br />
 
<nowiki>|edate= </nowiki><br />
 
<nowiki>|web= </nowiki><br />
 
<nowiki>|teamfirst=</nowiki><br />
 
<nowiki>|teamsecond=</nowiki><br />
 
<nowiki>|teamthird=</nowiki><br />
 
<nowiki>|teamthird2=</nowiki><br />
 
<nowiki>|teamfourth=</nowiki><br />
 
<nowiki>|team_number=</nowiki><br />
 
<nowiki>|map1=</nowiki><br />
 
<nowiki>|map2=</nowiki><br />
 
<nowiki>|map3=</nowiki><br />
 
<nowiki>|map4=</nowiki><br />
 
<nowiki>|map5=</nowiki><br />
 
<nowiki>|map6=</nowiki><br />
 
<nowiki>|map7=</nowiki><br />
 
<nowiki>|map8=</nowiki><br />
 
<nowiki>|map9=</nowiki><br />
 
<nowiki>|map10=</nowiki><br />
 
<nowiki>|map11=</nowiki><br />
 
<nowiki>|map12=</nowiki><br />
 
<nowiki>|map13=</nowiki><br />
 
<nowiki>|map14=</nowiki><br />
 
<nowiki>|map15=</nowiki><br />
 
<nowiki>|team1=</nowiki><br />
 
<nowiki>|team2=</nowiki><br />
 
<nowiki>|team3=</nowiki><br />
 
<nowiki>|team4=</nowiki><br />
 
<nowiki>|team5=</nowiki><br />
 
<nowiki>|team6=</nowiki><br />
 
<nowiki>|team7=</nowiki><br />
 
<nowiki>|team8=</nowiki><br />
 
<nowiki>|team9=</nowiki><br />
 
<nowiki>|team10=</nowiki><br />
 
<nowiki>|team11=</nowiki><br />
 
<nowiki>|team12=</nowiki><br />
 
<nowiki>|team13=</nowiki><br />
 
<nowiki>|team14=</nowiki><br />
 
<nowiki>|team15=</nowiki><br />
 
<nowiki>|team16=</nowiki><br />
 
<nowiki>|next=</nowiki><br />
 
<nowiki>|previous=</nowiki><br />
 
<nowiki>|next2=</nowiki><br />
 
<nowiki>|previous2=</nowiki><br />
 
<nowiki>}}</nowiki>
 
|}
 
  
 
<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>

Revision as of 13:11, 11 November 2020

[e][h]DreamHack Winter 2025
Dh08.jpg
League Information
Series:
Organizer:
DreamHack
Admin:
Type:
Offline
Location:
Sweden Jönköping
Venue:
Format:
Group Stage (Bo1)
Single-Elimination Bracket (Bo3)
Prize pool:
5,000,000 SEK
(≃ $599,911.23 USD)
Start Date:
2010-10-10
End Date:
2010-10-17
Links
Winners
 Europe X
Maps
dm2 • dm3 • e1m2 • cmt3 • schloss • ctl8
Signups
Number of signups:
8

An Infobox is one of the standard features of any QWiki page and it's no different for tournaments and leagues. The {{Infobox league}}-template should come before the article text start.

Code Explanation

{{Infobox league

This brings out the template you will be using.

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

You can add up to 4 organizers and 5 admins, like this: organizer2 - organizer4. Please use the player template with flags, like this {{player|ocoini|flag=no}}.

|sponsor= [http://www.madeupsite.com/ madeupsite]
|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=GSL Groups ({{Abbr/Bo1}})
|format=GSL Groups ({{Abbr/Bo3}})
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. Add currency after value.

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

|website=www.quakeworld.nu

Make a website link for the tournament. Can list multiple with website1 etc.

|discord=discord.quake.world

Make a link to tournament Discord.

|facebook=qwiki

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

|twitter=qwiki

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

|twitch=qwiki

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

|youtube=qwiki

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=

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