Difference between revisions of "Template:Infobox league/doc"

From LFS Manual
Jump to navigationJump to search
(Created page with "{{Infobox league | name = League name | logo = 250px | logo_caption = logo caption if needed | type = Endurance league | signup = yes | li...")
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>{{documentation subpage}}</noinclude>
 +
 +
'''Infobox league''' is used to create an infobox which summarizes the main information of a particular league or championship. For well-built examples, see pages [[Fragmaster's GTi Thursday]], [[MRc FBM Saturday]], [[GT2 Challenge]] and [[B2R Turbo Cup]].
 +
 +
== Usage ==
 
{{Infobox league
 
{{Infobox league
 
| name = League name
 
| name = League name
 
| logo = [[File:Mrc fbm sat.png|250px]]
 
| logo = [[File:Mrc fbm sat.png|250px]]
 
| logo_caption = logo caption if needed
 
| logo_caption = logo caption if needed
| type        = Endurance league
+
| type        = endurance league<br>[[:Category:GTR cars|GTR]] league
| signup      = yes
+
| recurrence  = weekly
 
| license    = S2
 
| license    = S2
 
| prizepool  = 250
 
| prizepool  = 250
 
| prizecurrency = EUR
 
| prizecurrency = EUR
 +
| signup      = yes
 
| firstseason = 2010
 
| firstseason = 2010
| yearsactive = 2010–2017, 2020–
+
| yearsactive = 2010–2017,<br>2020–
 
| seasons    = 5
 
| seasons    = 5
 +
| related    = Other League
 
| orgs        = Organizer Team
 
| orgs        = Organizer Team
 
| website    = https://www.lfs.net/
 
| website    = https://www.lfs.net/
 
}}
 
}}
  
{{-}}
+
<pre>
 +
{{Infobox league
 +
| name          =
 +
| logo          =
 +
| logo_caption  =
 +
| type          =
 +
| recurrence    =
 +
| license      =
 +
| prizepool    =
 +
| prizecurrency =
 +
| signup        =
 +
| firstseason  =
 +
| yearsactive  =
 +
| seasons      =
 +
| related      =
 +
| orgs          =
 +
| website      =
 +
}}
 +
</pre>
 +
 
 +
 
 +
== Parameters ==
 +
{| class="wikitable"
 +
|+ Infobox league parameters and basic guidelines
 +
! scope="col" | Parameter
 +
! scope="col" | Explanation
 +
! scope="col" | Example values
 +
|-
 +
! scope="row" | name
 +
| Full name of the league/championship.
 +
| {{code|Lawnmower Racing League}}
 +
|-
 +
! scope="row" | logo
 +
| Official logo of the league. Format as if you included an image in articles, with specified width.
 +
| {{code|<nowiki>[[File:Mrc fbm sat.png|250px]]</nowiki>}}
 +
|-
 +
! scope="row" | logo_caption
 +
| A caption explaining the image.
 +
| {{code|Series logo caption}}
 +
|-
 +
! scope="row" | type
 +
| Single or multiple types which describe the league well. If you include multiple, use {{code|<nowiki><br></nowiki>}} between them. If you include a mention of a car or a class of cars, create a link through the class abbreviation (see example values). Some examples: [[:Category:TBO cars|TBO]] league, endurance league, multiclass league, mixed class league, single seater league, sprint league, drift league, open wheel series, single event series
 +
| {{code|sprint league}}, {{code|<nowiki>{{Car link|XRR}} league</nowiki>}}, {{code|<nowiki>endurance league<br>[[:Category:GTR cars|GTR]] league</nowiki>}}
 +
|-
 +
! scope="row" | recurrence
 +
| Recurrence type of the event. If it's irregular (a specific season is announced with less than 10 scheduled rounds), use custom. Choose one of the following: daily, weekly, bi-weekly, monthly, custom.
 +
| {{code|weekly}}
 +
|-
 +
! scope="row" | license
 +
| The minimum required license to participate in the league, dictated by the track/car combos used in specific rounds. If it's very diverse, choose various. Choose one of the following: demo, S1, S2, S3, various.
 +
| {{code|S2}}
 +
|-
 +
! scope="row" | prizepool
 +
| Given there is a prize pool for the event, input the amount here only. Define currency in parameter {{code|<nowiki>|prizecurrency=</nowiki>}}.
 +
| {{code|250}}
 +
|-
 +
! scope="row" | prizecurrency
 +
| Currency of the prize pool defined in parameter {{code|<nowiki>|prizepool=</nowiki>}}.
 +
| {{code|EUR}}
 +
|-
 +
! scope="row" | signup
 +
| Whether the event requires signing up to participate. Choose one of the following: yes, no.
 +
| {{code|yes}}
 +
|-
 +
! scope="row" | firstseason
 +
| Inaugural season, the year in which it's first season concluded.
 +
| {{code|2006}}
 +
|-
 +
! scope="row" | yearsactive
 +
| A period when the league was actively running. Use an en dash ({{code|–}}) between year ranges and after year if the league is still running. If there are multiple periods, use {{code|<nowiki><br></nowiki>}} between them.
 +
| {{code|2020–}}, {{code|2022–2024}}, {{code|<nowiki>2010–2017,<br>2020–</nowiki>}}
 +
|-
 +
! scope="row" | seasons
 +
| Number of seasons.
 +
| {{code|7}}
 +
|-
 +
! scope="row" | related
 +
| More or less organizationally related events. For example [[Fragmaster's Fox Friday]] is relevant to [[Fragmaster's GTi Thursday]], while [[Kyoto 500]] and [[Kyoto 250]] are related as well.
 +
| {{code|Other League}}
 +
|-
 +
! scope="row" | orgs
 +
| League organizers. If there are multiple organizers, use {{code|<nowiki><br></nowiki>}} between them.
 +
| {{code|Best Team Ever}}, {{code|<nowiki>Awesome Organizer Team<br>Another One</nowiki>}}
 +
|-
 +
! scope="row" | website
 +
| Official website of the league. Include the link only.
 +
| {{code|<nowiki>https://www.lfs.net</nowiki>}}
 +
|}
  
 
<includeonly>
 
<includeonly>
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
[[Category:LFS content templates]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 11:15, 28 March 2024

Information icon4.png This is a documentation subpage for Template:Infobox league.

It may contain usage information, categories and other content that is not part of the original page.

Infobox league is used to create an infobox which summarizes the main information of a particular league or championship. For well-built examples, see pages Fragmaster's GTi Thursday, MRc FBM Saturday, GT2 Challenge and B2R Turbo Cup.

Usage

League name
Mrc fbm sat.png
logo caption if needed
Type endurance league
GTR league
Recurrence weekly
License S2
Prize pool 250 EUR
Signup required  Yes
First season 2010
Years active 2010–2017,
2020–
Seasons 5 seasons
Related event Other League
Organizers Organizer Team
Official website
{{Infobox league
| name          = 
| logo          = 
| logo_caption  = 
| type          = 
| recurrence    = 
| license       = 
| prizepool     = 
| prizecurrency = 
| signup        = 
| firstseason   = 
| yearsactive   = 
| seasons       = 
| related       = 
| orgs          = 
| website       = 
}}


Parameters

Infobox league parameters and basic guidelines
Parameter Explanation Example values
name Full name of the league/championship. Lawnmower Racing League
logo Official logo of the league. Format as if you included an image in articles, with specified width. [[File:Mrc fbm sat.png|250px]]
logo_caption A caption explaining the image. Series logo caption
type Single or multiple types which describe the league well. If you include multiple, use <br> between them. If you include a mention of a car or a class of cars, create a link through the class abbreviation (see example values). Some examples: TBO league, endurance league, multiclass league, mixed class league, single seater league, sprint league, drift league, open wheel series, single event series sprint league, {{Car link|XRR}} league, endurance league<br>[[:Category:GTR cars|GTR]] league
recurrence Recurrence type of the event. If it's irregular (a specific season is announced with less than 10 scheduled rounds), use custom. Choose one of the following: daily, weekly, bi-weekly, monthly, custom. weekly
license The minimum required license to participate in the league, dictated by the track/car combos used in specific rounds. If it's very diverse, choose various. Choose one of the following: demo, S1, S2, S3, various. S2
prizepool Given there is a prize pool for the event, input the amount here only. Define currency in parameter |prizecurrency=. 250
prizecurrency Currency of the prize pool defined in parameter |prizepool=. EUR
signup Whether the event requires signing up to participate. Choose one of the following: yes, no. yes
firstseason Inaugural season, the year in which it's first season concluded. 2006
yearsactive A period when the league was actively running. Use an en dash () between year ranges and after year if the league is still running. If there are multiple periods, use <br> between them. 2020–, 2022–2024, 2010–2017,<br>2020–
seasons Number of seasons. 7
related More or less organizationally related events. For example Fragmaster's Fox Friday is relevant to Fragmaster's GTi Thursday, while Kyoto 500 and Kyoto 250 are related as well. Other League
orgs League organizers. If there are multiple organizers, use <br> between them. Best Team Ever, Awesome Organizer Team<br>Another One
website Official website of the league. Include the link only. https://www.lfs.net