Difference between revisions of "Template:Infobox event"
m (Changing title from "League information" to "Event information") |
m (Updated to new link with icon layout) |
||
(One intermediate revision by the same user not shown) | |||
Line 223: | Line 223: | ||
<div> | <div> | ||
<div class="infobox-center infobox-icons"><!-- | <div class="infobox-center infobox-icons"><!-- | ||
− | --> {{#if:{{{website|}}}|[ | + | --> {{#if:{{{website|}}}|[[File:Icon link20px.png|link=]] [https://{{{website}}} {{{website}}}]<br>}}<!-- |
− | --> {{#if:{{{website2|}}}| | + | --> {{#if:{{{website2|}}}|[[File:Icon link20px.png|link=]] [https://{{{website2}}} {{{website2}}}]<br>}}<!-- |
− | --> {{#if:{{{website3|}}}| | + | --> {{#if:{{{website3|}}}|[[File:Icon link20px.png|link=]] [https://{{{website3}}} {{{website3}}}]<br>}}<!-- |
− | --> {{#if:{{{website4|}}}| | + | --> {{#if:{{{website4|}}}|[[File:Icon link20px.png|link=]] [https://{{{website4}}} {{{website4}}}]<br>}}<!-- |
− | --> {{#if:{{{discord|}}}|[ | + | --> {{#if:{{{discord|}}}|[[File:Icon discord20px.png|link=]] [https://{{{discord}}} {{{discord}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch|}}}|[ | + | --> {{#if:{{{twitch|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch}}} {{{twitch}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch2|}}}|[ | + | --> {{#if:{{{twitch2|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch2}}} {{{twitch2}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch3|}}}|[ | + | --> {{#if:{{{twitch3|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch3}}} {{{twitch3}}}]<br>}}<!-- |
− | --> {{#if:{{{twitch4|}}}|[ | + | --> {{#if:{{{twitch4|}}}|[[File:Icon twitch20px.png|link=]] [https://www.twitch.tv/{{{twitch4}}} {{{twitch4}}}]<br>}}<!-- |
− | + | --> {{#if:{{{youtube|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube}}} {{{youtube}}}]<br>}}<!-- | |
− | --> {{#if:{{{youtube|}}}|[ | + | --> {{#if:{{{youtube2|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube2}}} {{{youtube2}}}]<br>}}<!-- |
− | --> {{#if:{{{youtube2|}}}|[ | + | --> {{#if:{{{youtube3|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube3}}} {{{youtube3}}}]<br>}}<!-- |
− | + | --> {{#if:{{{youtube4|}}}|[[File:Icon youtube20px.png|link=]] [https://www.youtube.com/{{{youtube4}}} {{{youtube4}}}]<br>}}<!-- | |
− | + | --> {{#if:{{{twitter|}}}|[https://twitter.com/{{{twitter}}} <i class="lp-icon lp-twitter"></i>]}}<!-- | |
− | --> {{#if:{{{ | + | --> {{#if:{{{facebook|}}}|[https://facebook.com/{{{facebook}}} <i class="lp-icon lp-facebook"></i>]}}<!-- |
− | |||
− | |||
− | --> {{#if:{{{ | ||
− | |||
− | |||
− | --> {{#if:{{{ | ||
− | --> {{#if:{{{ | ||
--></div> | --></div> | ||
</div> | </div> | ||
Line 381: | Line 374: | ||
Categories | Categories | ||
− | <!-- | + | -->{{#if:{{{year|}}}|[[Category:{{{year}}}]]}}<!-- |
--></includeonly><noinclude>[[Category:Infoboxes]] [[Category:Events]]{{documentation}}</noinclude> | --></includeonly><noinclude>[[Category:Infoboxes]] [[Category:Events]]{{documentation}}</noinclude> |
Latest revision as of 08:00, 24 May 2024
Documentation (view - edit)
Single-Elimination Bracket (Bo3)
(≃ $599,911.23 USD)
An Infobox is one of the standard features of any QWiki page. The {{Infobox event}}-template should come before the article text start.
Code Explanation
{{Infobox event
- This brings out the template you will be using.
|name=DreamHack Winter 2025
|image=no_img.png
|founder=
- Supports only 1 founder
- Please use the player template with flags, like this {{player|ocoini|flag=no}}.
|organizer=
- Supports 4 organizers (organizer, organizer2, organizer3, organizer4)
|admin=
- Supports 5 admins (admin, admin2, admin3, admin4, admin5)
- Please use the player template with flags, like this {{player|ocoini|flag=no}}.
|host=
- Supports 5 hosts (host, host2, host3, host4, host5)
- Please use the player template with flags, like this {{player|ocoini|flag=no}}.
|guest=
- Supports 6 guest casters (guest, guest2, guest3, guest4, guest5, guest6)
- 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.
Adapted from Liquipedia