Template:League infobox

From LFS Manual
Revision as of 22:16, 1 February 2017 by MandulAA (talk | contribs) (added the License (required) parameter)
Jump to navigationJump to search
{{{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