Difference between revisions of "Template:League infobox"

From LFS Manual
Jump to navigationJump to search
(added category)
(added the License (required) parameter)
Line 7: Line 7:
 
| style="vertical-align: top;" | '''League type'''
 
| style="vertical-align: top;" | '''League type'''
 
| {{{type}}}
 
| {{{type}}}
 +
|-
 +
| style="vertical-align: top;" | '''License'''
 +
| {{{license}}}
 
|-  
 
|-  
 
| style="vertical-align: top;" | {{#if:{{{firstseason|}}}|'''First season'''|}}
 
| style="vertical-align: top;" | {{#if:{{{firstseason|}}}|'''First season'''|}}
Line 25: Line 28:
 
* '''logo:''' a picture from the shared repository. Format: BestLeagueLogo.jpg
 
* '''logo:''' a picture from the shared repository. Format: BestLeagueLogo.jpg
 
* '''type:''' the type of the league (for example Endurance League, Single Seater League, Mixed Classes League, GTR League, Drift League, 24h Race, Single Event)
 
* '''type:''' the type of the league (for example Endurance League, Single Seater League, Mixed Classes League, GTR League, Drift League, 24h Race, Single Event)
 +
* '''license:''' the minimum required license to participate in the league (Demo, S1, S2, S3, Various)
 
* '''website:''' website or forum of the league. Format: http://bestleague.org
 
* '''website:''' website or forum of the league. Format: http://bestleague.org
 
=== Optional parameters ===
 
=== Optional parameters ===
Line 36: Line 40:
 
| logo        =  
 
| logo        =  
 
| type        =  
 
| type        =  
 +
| license    =
 
| firstseason =  
 
| firstseason =  
 
| seasons    =  
 
| seasons    =  
Line 47: Line 52:
 
| logo        = BL1.jpg
 
| logo        = BL1.jpg
 
| type        = Endurance League
 
| type        = Endurance League
 +
| license    = S2
 
| firstseason = 1542
 
| firstseason = 1542
 
| seasons    = 14
 
| seasons    = 14

Revision as of 22:16, 1 February 2017

{{{name}}}
[[Image:{{{logo}}}|235px]]
League type {{{type}}}
License {{{license}}}
[{{{website}}} Official website]

This template is used on pages of LFS leagues. Some parameters are REQUIRED (to avoid showing odd things in the infobox) and there are also optional parameters like season number and administrators of a league.

Template documentation

Required parameters

  • name: name of the league
  • logo: a picture from the shared repository. Format: BestLeagueLogo.jpg
  • type: the type of the league (for example Endurance League, Single Seater League, Mixed Classes League, GTR League, Drift League, 24h Race, Single Event)
  • license: the minimum required license to participate in the league (Demo, S1, S2, S3, Various)
  • website: website or forum of the league. Format: http://bestleague.org

Optional parameters

  • firstseason: a year, when the first season of the league was concluded
  • seasons: a number of seasons
  • admins: list of the admins. Format: StrictAdmin1, KindAdmin2, AFKAdmin3

Copy-paste format

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

Example

Example League
BL1.jpg
League type Endurance League
License S2
First season 1542
Seasons 14 seasons
Administrators StrictAdmin1, AFKAdmin3