Difference between revisions of "Template:NewInfobox Season"
m (Hopefully allowed uppercases on winners) |
|||
Line 231: | Line 231: | ||
Winners | Winners | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{teamfirst|}}}{{{teamsecond|}}}{{{teamthird|}}}{{{teamthird2|}}}{{{teamfourth|}}}| |
<div> | <div> | ||
<div class="infobox-header infobox-header-2">Winners</div> | <div class="infobox-header infobox-header-2">Winners</div> | ||
</div><!-- | </div><!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{teamfirst|}}}| |
<div> | <div> | ||
<div class="infobox-center"><!-- | <div class="infobox-center"><!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{teamfirst|}}}|{{Medal|1}} {{TeamIcon/{{{teamfirst}}}}}}}<!-- |
--></div> | --></div> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{teamsecond|}}}| |
<div> | <div> | ||
− | <div class="infobox-center {{#if:{{{ | + | <div class="infobox-center {{#if:{{{teamthird2|}}}{{{teamfourth|}}}||infobox-cell-2}}"><!-- |
− | -->{{#if:{{{ | + | -->{{#if:{{{teamsecond|}}}|{{Medal|2}} {{TeamIcon/{{{teamsecond}}}}}}}<!-- |
--></div><!-- | --></div><!-- | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{teamthird2|}}}{{{teamfourth|}}}||<div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|3}} {{TeamIcon/{{{teamthird}}}}}}}</div>}}<!-- |
--></div> | --></div> | ||
}} | }} | ||
− | {{#if:{{{ | + | {{#if:{{{teamthird2|}}}{{{teamfourth|}}}| |
<div> | <div> | ||
− | <div class="infobox-center infobox-cell-2">{{#if:{{{ | + | <div class="infobox-center infobox-cell-2">{{#if:{{{teamthird|}}}|{{Medal|{{#if:{{{teamfourth|}}}|3|sf}}}} {{TeamIcon/{{{teamthird}}}}}}}</div> |
− | {{#if:{{{idthird2|}}}{{{ | + | {{#if:{{{idthird2|}}}{{{teamthird2|}}}| |
− | <div class="infobox-center infobox-cell-2">{{#if:{{{ | + | <div class="infobox-center infobox-cell-2">{{#if:{{{teamthird2|}}}|{{Medal|sf}} {{TeamIcon/{{{teamthird2}}}}}}}</div> |
− | |<div class="infobox-center infobox-cell-2">{{#if:{{{ | + | |<div class="infobox-center infobox-cell-2">{{#if:{{{teamfourth|}}}|{{Medal|4}} {{TeamIcon/{{{teamfourth}}}}}}}</div> |
}} | }} | ||
</div> | </div> | ||
Line 374: | Line 374: | ||
|has stream={{{stream|}}} | |has stream={{{stream|}}} | ||
− | |has first place={{{idfirst|{{{ | + | |has first place={{{idfirst|{{{teamfirst|}}}}}} |
|has first place page={{{linkfirst|{{{idfirst|}}}}}} | |has first place page={{{linkfirst|{{{idfirst|}}}}}} | ||
|has first place race={{{racefirst|}}} | |has first place race={{{racefirst|}}} | ||
|has first place flag={{{flagfirst|}}} | |has first place flag={{{flagfirst|}}} | ||
− | |has second place={{{idsecond|{{{ | + | |has second place={{{idsecond|{{{teamsecond|}}}}}} |
|has second place page={{{linksecond|{{{idsecond|}}}}}} | |has second place page={{{linksecond|{{{idsecond|}}}}}} | ||
|has second place race={{{racesecond|}}} | |has second place race={{{racesecond|}}} | ||
|has second place flag={{{flagsecond|}}} | |has second place flag={{{flagsecond|}}} | ||
− | |has third place={{{idthird|{{{ | + | |has third place={{{idthird|{{{teamthird|}}}}}} |
|has third place page={{{linkthird|{{{idthird|}}}}}} | |has third place page={{{linkthird|{{{idthird|}}}}}} | ||
|has third place race={{{racethird|}}} | |has third place race={{{racethird|}}} | ||
|has third place flag={{{flagthird|}}} | |has third place flag={{{flagthird|}}} | ||
− | |has third2 place={{{idthird2|{{{ | + | |has third2 place={{{idthird2|{{{teamthird2|}}}}}} |
|has third2 place page={{{linkthird2|{{{idthird2|}}}}}} | |has third2 place page={{{linkthird2|{{{idthird2|}}}}}} | ||
|has third2 place race={{{racethird2|}}} | |has third2 place race={{{racethird2|}}} | ||
|has third2 place flag={{{flagthird2|}}} | |has third2 place flag={{{flagthird2|}}} | ||
− | |has fourth place={{{idfourth|{{{ | + | |has fourth place={{{idfourth|{{{teamfourth|}}}}}} |
|has fourth place page={{{linkfourth|{{{idfourth|}}}}}} | |has fourth place page={{{linkfourth|{{{idfourth|}}}}}} | ||
|has fourth place race={{{racefourth|}}} | |has fourth place race={{{racefourth|}}} |
Revision as of 17:55, 17 July 2015
(view - edit) Documentation
the Season:
New InfoBox
Due to the current existance of a Season Infobox and a desire to update comp.tf to have a modern feel to it, this new template was created to avoid conflicting with previous infoboxes and result in losing information, which would be not very benificial.
Credit to Liquipedia for the code and inital template.
Template explanation
{{NewInfobox Season
- This brings out the template you will be using.
|name= Dick's Fantastic Game
|image= ETF2LScoutVsScoutCup2.png
|caption= Dick's Fantastic Game sponsered by Flally floof McMuffin
- The tournament name, the banner for the infobox and the caption. The caption may be used as the full name for the tournament. If name is left blank, the page name will be used.
|series= | ETF2L's 6v6 Nations Cup
- If the tournament is part of a series of tournaments, mention it here. If there is a page or a section of the wiki about the tournament, hyperlinking the series there may be of use.
|organizer= ETF2L
|sponsor= Flally floof McMuffin
- For the organizer and sponsors of the tournament.
|gamemode= 6v6
- Game Mode may be 1v1, MGE, 2v2, BBall, Ultiduo, 4v4, 6v6, Highlander and Ready Steady Pan. For multiple game modes under one tournament, gamemodeX may be added on.
|type = LAN
- Type refers to how the tournament was played. It may be Online for online tournaments, LAN for offline tournaments and Mixed for a mixture of the two.
|country = Europe
- Where the event was primarily based. A second location can be added with country2. This section corresponds with Template:Localisation, if a country does not have a flag then no flag will be displayed.
|city = City
- The city location
|venue = [http://www.yorkcityfootballclub.co.uk/ KitKat Crescent]
- For the use of LAN events.
|format=Group stage, Single Elimination
- The format variable should be a short description of the match format and the tournament format (like "Round Robin, Single Elimination" or "Dual Tournament, Double Elimination").
|prizepool= £ 0000
- The size of the prize pool
|date =
|sdate = 30-02-2014
|edate = 31-02-2014
- Date of the event, or if it spans multiple days, a start and end date may be added.
|totalteams = 169
|totalplayers = 169
- Total amount of teams or players that have participated in the tournament. "Total players" is to be used when the competition awards individuals as opposed to teams. An example to this may be an MGE Tournament.
|bestplayer = {{flag|uk}} [[Mike]]
- Declared player of the season.
|web= comp.tf
|archive= comp.tf
|brackets= comp.tf
- A home page link for the tournament, or if the page gets taken down, an archive link too. Tables are also included. Also has web2 and brackets2
|bracketscomment
- Changes what the hover info displays
|teamfirst= Froyotech
|teamsecond= Epsilon
|teamthird= E-SHOCK ESPORT
|teamthird2= AYOGURL
|teamfourth=
- For team placement in the tournament. If there is a tied third, both teams may be placed. A fourth place may also be added.
|map1=2Fort
|map2=Gullywash
|map3=Obscure
|map4=Viaduct
- Maps that were played in the tournament. A total of 15 maps may currently be added to the list.
|next= ETF2L 6v6 Season 21
|nextlabel= Season 21
|previous= ESEA-IM Season 10
|previouslabel= Season 10
- Hyperlinks to the next and previous tournament, if there is a series. The label allows shorter labels to avoid clogging up, if need be.
|footnotes= Full of bullocks here
- Additional information desired to be added.
}}
- The end of your template.
Template: NewInfobox Season Copy the content to your page. |
---|
{{NewInfobox Season |name= |image= |caption= |icon= |series= |organizer= |sponsor= |gamemode= |type = |country = |venue = |format = |prizepool= |localcurrency= |prizepoolusd= |date = |sdate = |edate = |totalteams = |totalplayers = |bestplayer = |web= |archive= |brackets= |bracketscomment= |brackets2= |brackets2comment= |teamfirst= |teamsecond= |teamthird= |teamthird2= |teamfourth= |map1= |map2= |map3= |map4= |map5= |map6= |map7= |map8= |map9= |map10= |map11= |map12= |map13= |map14= |map15= |next= |nextlabel= |previous= |previouslabel= |footnotes= }} |