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

From LFS Manual
Jump to navigationJump to search
m (→‎Parameters: swap <code> for {{code}} template)
Line 50: Line 50:
 
! scope="row" | name
 
! scope="row" | name
 
| Full name of the league/championship.
 
| Full name of the league/championship.
| <code>Lawnmower Racing League</code>
+
| {{code|Lawnmower Racing League}}
 
|-
 
|-
 
! scope="row" | logo
 
! scope="row" | logo
 
| Official logo of the league. Format as if you included an image in articles, with specified width.
 
| 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></code>
+
| {{code|<nowiki>[[File:Mrc fbm sat.png|250px]]</nowiki>}}
 
|-
 
|-
 
! scope="row" | logo_caption
 
! scope="row" | logo_caption
 
| A caption explaining the image.
 
| A caption explaining the image.
| <code>Series logo caption</code>
+
| {{code|Series logo caption}}
 
|-
 
|-
 
! scope="row" | type
 
! scope="row" | type
| Single or multiple types which describe the league well. If you include multiple, use <code><nowiki><br></nowiki></code> between them. If you include a mention of a car or a category/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
+
| 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 category/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>, <code><nowiki>{{Car link|XRR}} league</nowiki></code>, <code><nowiki>endurance league<br>[[:Category:GTR cars|GTR]] league</nowiki></code>
+
| {{code|sprint league}}, {{code|<nowiki>{{Car link|XRR}} league</nowiki>}}, {{code|<nowiki>endurance league<br>[[:Category:GTR cars|GTR]] league</nowiki>}}
 
|-
 
|-
 
! scope="row" | recurrence
 
! 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.
 
| 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</code>
+
| {{code|weekly}}
 
|-
 
|-
 
! scope="row" | license
 
! 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.
 
| 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</code>
+
| {{code|S2}}
 
|-
 
|-
 
! scope="row" | prizepool
 
! 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>.
+
| Given there is a prize pool for the event, input the amount here only. Define currency in parameter {{code|<nowiki>|prizecurrency=</nowiki>}}.
| <code>250</code>
+
| {{code|250}}
 
|-
 
|-
 
! scope="row" | prizecurrency
 
! scope="row" | prizecurrency
| Currency of the prize pool defined in parameter <code><nowiki>|prizepool=</nowiki></code>.
+
| Currency of the prize pool defined in parameter {{code|<nowiki>|prizepool=</nowiki>}}.
| <code>EUR</code>
+
| {{code|EUR}}
 
|-
 
|-
 
! scope="row" | signup
 
! scope="row" | signup
 
| Whether the event requires signing up to participate. Choose one of the following: yes, no.
 
| Whether the event requires signing up to participate. Choose one of the following: yes, no.
| <code>yes</code>
+
| {{code|yes}}
 
|-
 
|-
 
! scope="row" | firstseason
 
! scope="row" | firstseason
 
| Inaugural season, the year in which it's first season concluded.
 
| Inaugural season, the year in which it's first season concluded.
| <code>2006</code>
+
| {{code|2006}}
 
|-
 
|-
 
! scope="row" | yearsactive
 
! scope="row" | yearsactive
| A period when the league was actively running. Use an en dash (<code></code>) between year ranges and after year if the league is still running. If there are multiple periods, use <code><nowiki><br></nowiki></code> between them.
+
| 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>, <code>2022–2024</code>, <code><nowiki>2010–2017,<br>2020–</nowiki></code>
+
| {{code|2020–}}, {{code|2022–2024}}, {{code|<nowiki>2010–2017,<br>2020–</nowiki>}}
 
|-
 
|-
 
! scope="row" | seasons
 
! scope="row" | seasons
 
| Number of seasons.
 
| Number of seasons.
| <code>7</code>
+
| {{code|7}}
 
|-
 
|-
 
! scope="row" | orgs
 
! scope="row" | orgs
| League organizers. If there are multiple organizers, use <code><nowiki><br></nowiki></code> between them.
+
| League organizers. If there are multiple organizers, use {{code|<nowiki><br></nowiki>}} between them.
| <code>Best Team Ever</code>, <code><nowiki>Awesome Organizer Team<br>Another One</nowiki></code>
+
| {{code|Best Team Ever}}, {{code|<nowiki>Awesome Organizer Team<br>Another One</nowiki>}}
 
|-
 
|-
 
! scope="row" | website
 
! scope="row" | website
 
| Official website of the league. Include the link only.
 
| Official website of the league. Include the link only.
| <code><nowiki>https://www.lfs.net</nowiki></code>
+
| {{code|<nowiki>https://www.lfs.net</nowiki>}}
 
|}
 
|}
  

Revision as of 12:14, 24 January 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
Organizers Organizer Team
Official website
{{Infobox league
| name          = 
| logo          = 
| logo_caption  = 
| type          = 
| recurrence    = 
| license       = 
| prizepool     = 
| prizecurrency = 
| signup        = 
| firstseason   = 
| yearsactive   = 
| seasons       = 
| 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 category/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
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