Difference between revisions of "Template:League infobox"

From comp.tf
Jump to navigation Jump to search
m
m (Protected "Template:League infobox": Add lock to Template Page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="float: right; width: 25%; font-size: 88%; background: #f9f9f9; border: 1px solid #ccc; margin: 5px;"
+
{| class="infobox"
 
|-
 
|-
! colspan=2 style="background: #ccccff; font-size: small;" | {{{shortname}}}
+
! colspan=2 | {{{shortname}}}
 
|-
 
|-
| colspan=2 style="text-align: center; " | [[File:{{{image}}}|{{{imagesize|150px}}}]]
+
| colspan=2 class="centered" | [[File:{{{image}}}|{{{imagesize|150px}}}]]
 
|-
 
|-
 
| style="width: 30%" | '''Full name'''
 
| style="width: 30%" | '''Full name'''
Line 14: Line 14:
 
| {{{area}}}
 
| {{{area}}}
 
|-
 
|-
| '''Current season'''
+
{{#if:{{{current|}}}|
| {{{current}}}
+
{{!}} '''Current season'''
 +
{{!}} {{{current}}} |}}
 
|-
 
|-
| style="text-align: center; " colspan=2 | [{{{website}}} Website]
+
| colspan=2 class="centered" | [{{{website}}} Website]
 +
{| class="infoboxad"
 +
|-
 +
| <htmlet>infobox</htmlet>
 +
|}
 
|}
 
|}
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
 +
 +
*Just copy the code below to the page and edit the values after the "="
 +
**'''Important:''' If you don't know a value (IE: current season, website, etc...) don't delete the line, just keep it with a null value (blank).
 +
**Only the current season field is optional, all the others are default
 +
**Please input all the names in full and type everything carefully as it will be linked automatically
 +
*After the code you can write and format text as you normally would for a more detailed history of the league
 +
 +
=== Example: ===
 +
 
<pre>
 
<pre>
 
{{League infobox
 
{{League infobox
 
| shortname = ESEA
 
| shortname = ESEA
 +
| image = ESEA-Logo.png
 +
| imagesize = 250px
 
| fullname = E-Sports Entertainment Association
 
| fullname = E-Sports Entertainment Association
| formats = 6v6
+
| formats = [[6v6]]
| area = North America
+
| area = North America/Europe
| current = Season 14 (6v6)
+
| current = [[ESEA-I Season 15|Season 15]] ([[6v6]])
| website = www.esea.net
+
| website = http://www.esea.net/
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
=== Will Yeld: ===
 +
{{League infobox
 +
| shortname = ESEA
 +
| image = ESEA-Logo.png
 +
| imagesize = 250px
 +
| fullname = E-Sports Entertainment Association
 +
| formats = [[6v6]]
 +
| area = North America/Europe
 +
| current = [[ESEA-I Season 15|Season 15]] ([[6v6]])
 +
| website = http://www.esea.net/
 +
}}
 +
 +
 +
 +
[[Category:Infoboxes]][[Category:Template]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:54, 15 December 2015

{{{shortname}}}
[[File:{{{image}}}|150px]]
Full name {{{fullname}}}
Competition formats {{{formats}}}
Area {{{area}}}
[{{{website}}} Website]
Cannot find HTML file infobox.html

Usage

  • Just copy the code below to the page and edit the values after the "="
    • Important: If you don't know a value (IE: current season, website, etc...) don't delete the line, just keep it with a null value (blank).
    • Only the current season field is optional, all the others are default
    • Please input all the names in full and type everything carefully as it will be linked automatically
  • After the code you can write and format text as you normally would for a more detailed history of the league

Example:

{{League infobox
| shortname = ESEA
| image = ESEA-Logo.png
| imagesize = 250px
| fullname = E-Sports Entertainment Association
| formats = [[6v6]]
| area = North America/Europe
| current = [[ESEA-I Season 15|Season 15]] ([[6v6]])
| website = http://www.esea.net/
}}

Will Yeld:

ESEA
ESEA-Logo.png
Full name E-Sports Entertainment Association
Competition formats 6v6
Area North America/Europe
Current season Season 15 (6v6)
Website
Cannot find HTML file infobox.html