Difference between revisions of "Template:League infobox"

From LFS Manual
Jump to navigationJump to search
Line 3: Line 3:
 
! colspan="2" style="background-color: #DFDFDF;" | <div style="text-align: center; position: relative; font-size:15px;">{{{name}}}<div style="position: absolute; right: 0; top: 0; margin: 0 2px; font-size:8px;">[[Template:League infobox|v]]</div></div>
 
! colspan="2" style="background-color: #DFDFDF;" | <div style="text-align: center; position: relative; font-size:15px;">{{{name}}}<div style="position: absolute; right: 0; top: 0; margin: 0 2px; font-size:8px;">[[Template:League infobox|v]]</div></div>
 
|-
 
|-
| colspan="2" align="center" | [[Image:{{{logo}}}|{{{logosize}}}]]
+
| colspan="2" align="center" | [[Image:{{{logo}}}|235px]]
 
|-  
 
|-  
 
| style="vertical-align: top;" | '''First season'''
 
| style="vertical-align: top;" | '''First season'''
Line 16: Line 16:
 
! colspan="2" style="background-color: #DFDFDF;" | <div style="text-align: center; position: relative;">[{{{website}}} Official website]</div>
 
! colspan="2" style="background-color: #DFDFDF;" | <div style="text-align: center; position: relative;">[{{{website}}} Official website]</div>
 
|}
 
|}
<!-- EDIT ONLY IF YOU KNOW WHAT YOU ARE DOING -->
+
<noinclude>
 +
This template is used on pages of LFS leagues.
 +
== Template documentation ==
 +
=== Required parameters ===
 +
* '''name:''' name of the league
 +
* '''logo:''' you have to use the following format: BestLeagueLogo.jpg
 +
* '''firstseason:''' year, when the first season of the league was concluded
 +
* '''type:''' the type of the league (for example Endurance League, Single Seater League, Mixed Classes League, GTR League, Drift League, 24h Race, Single Event)
 +
* '''admins:''' list of the admins, use the following format: StrictAdmin1, KindAdmin2, AFKAdmin3
 +
* '''website:''' website of the league, you have to use the following format: http://bestleague.org
 +
=== Copy-paste format ===
 +
<pre>
 +
{{League infobox
 +
| name        =
 +
| logo        =
 +
| firstseason =
 +
| type        =
 +
| admins      =
 +
| website    =
 +
}}
 +
</pre>
 +
</noinclude>

Revision as of 00:12, 30 January 2017

{{{name}}}
[[Image:{{{logo}}}|235px]]
First season {{{firstseason}}}
League type {{{type}}}
Administrators {{{admins}}}
[{{{website}}} Official website]

This template is used on pages of LFS leagues.

Template documentation

Required parameters

  • name: name of the league
  • logo: you have to use the following format: BestLeagueLogo.jpg
  • firstseason: year, when the first season of the league was concluded
  • type: the type of the league (for example Endurance League, Single Seater League, Mixed Classes League, GTR League, Drift League, 24h Race, Single Event)
  • admins: list of the admins, use the following format: StrictAdmin1, KindAdmin2, AFKAdmin3
  • website: website of the league, you have to use the following format: http://bestleague.org

Copy-paste format

{{League infobox
| name        = 
| logo        = 
| firstseason = 
| type        = 
| admins      = 
| website     = 
}}