Difference between revisions of "Template:Season infobox"

From comp.tf
Jump to navigation Jump to search
m
 
(8 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
| {{{fullname}}}
 
| {{{fullname}}}
 
|-
 
|-
| [[Image:Gold icon.png|20px]] '''Champions'''
+
{{#if:{{{champion|}}} | {{!}} [[Image:Gold icon.png{{!}}20px]] '''Champions'''
| [[{{{champion}}}]]
+
{{!}} [[{{{champion}}}]] |}}
 
|-
 
|-
| [[Image:Silver icon.png|20px]] '''Runner-up'''
+
{{#if:{{{runnerup|}}} | {{!}} [[Image:Silver icon.png{{!}}20px]] '''Runner-up'''
| [[{{{runnerup}}}]]
+
{{!}} [[{{{runnerup}}}]] |}}
 
|-
 
|-
| [[Image:Bronze icon.png|20px]] '''Third place'''
+
{{#if:{{{third|}}} | {{!}} [[Image:Bronze icon.png{{!}}20px]] '''Third place'''
| [[{{{third}}}]]
+
{{!}} [[{{{third}}}]] |}}
 
|-
 
|-
 
{{#if:{{{bestplayer|}}}|{{!}} '''Best Player of the Season'''
 
{{#if:{{{bestplayer|}}}|{{!}} '''Best Player of the Season'''
 
{{!}} [[{{{bestplayer}}}]]|}}
 
{{!}} [[{{{bestplayer}}}]]|}}
 
|-
 
|-
{{#if:{{{page|}}}|{{!}} colspan=2 class="centered" {{!}} [{{{page}}} Season page] |}}
+
{{#if:{{{page|}}}|{{!}} colspan=2 class="centered" {{!}} [{{{page}}} Webpage] |}}
 
|-
 
|-
 
| colspan=2 | <div class="left">{{#if:{{{previous|}}}|← [[{{{previous}}}|{{{prevlabel}}}]]|}}</div><div class="right">{{#if:{{{next|}}}|[[{{{next}}}|{{{nextlabel}}}]] →|}}</div>
 
| colspan=2 | <div class="left">{{#if:{{{previous|}}}|← [[{{{previous}}}|{{{prevlabel}}}]]|}}</div><div class="right">{{#if:{{{next|}}}|[[{{{next}}}|{{{nextlabel}}}]] →|}}</div>
|}
+
|}<!--
 +
 
 +
-->{{#set:
 +
|has id={{{id|{{PAGENAME}}}}}
 +
|Has name={{#if:{{{shortname}}}|{{{shortname}}}|{{{fullname}}}}}
 +
}}<!--
 +
 
 +
----- VARIABLES (used within the prize pool templates) -----
 +
-->{{#vardefine:tournament_name|{{{shortname}}}}}
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Line 55: Line 63:
 
| nextlabel = Season 15
 
| nextlabel = Season 15
 
}}
 
}}
 +
 +
[[Category:Infoboxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:30, 4 March 2017

{{{shortname}}}
Full name {{{fullname}}}

Usage

{{Season infobox
| shortname = ETF2L Season 14
| fullname = ETF2L 6v6 Season 14 sponsored by Twitch
| champion = Epsilon eSports
| runnerup = broder
| third = Team Infused
| bestplayer = schocky
| page = http://etf2l.org/etf2l/archives/170/
| previous = ETF2L 6v6 Season 13
| prevlabel = Season 13
| next = ETF2L 6v6 Season 15
| nextlabel = Season 15
}}

yields

ETF2L Season 14
Full name ETF2L 6v6 Season 14 sponsored by Twitch
Gold icon.png Champions Epsilon eSports
Silver icon.png Runner-up broder
Bronze icon.png Third place Team Infused
Best Player of the Season schocky
Webpage