Difference between revisions of "Template:Infobox track/doc"
From LFS Manual
Jump to navigationJump to searchm |
(→Usage: showcase new param: last_updated) |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{documentation subpage}}</noinclude> | ||
+ | |||
+ | '''Infobox track''' is used to create an infobox which summarizes the main information and the configurations of a particular track environment. For well-built examples, see pages [[Blackwood]], [[Westhill]] and [[Rockingham]]. | ||
+ | |||
+ | == Usage == | ||
{{Infobox track | {{Infobox track | ||
− | | name = Name | + | | name = Track Name |
− | | logo = [[Image:LFS World transparent.png|250px]] | + | | short_name = TR |
− | | logo_caption = Logo caption | + | | logo = [[Image:LFS World transparent.png|250px]] |
− | | track_map = [[Image:BL1.jpg|250px]] | + | | logo_caption = Logo caption |
− | | track_map_caption = Track map caption | + | | track_map = [[Image:BL1.jpg|250px]] |
− | | license = S1 | + | | track_map_caption = Track map caption |
− | | introduced = 0.5P | + | | track_image = [[Image:All default cars available in Live for Speed.jpg|250px|All LFS cars]] |
− | | | + | | track_image_caption = Track image caption |
− | | config1 = Configuration 1 | + | | type = permanent |
− | | length_km1 = 3.45 | + | | license = S1 |
− | | | + | | introduced = 0.5P |
+ | | last_updated = 0.6R | ||
+ | | weather_type1 = clear day | ||
+ | | weather_type2 = cloudy afternoon | ||
+ | | weather_type3 = overcast morning | ||
+ | | configurations = 3 | ||
+ | |||
+ | | config1 = Configuration 1 | ||
+ | | direction1 = CW | ||
+ | | turns1 = 6 | ||
+ | | banking1 = 10° | ||
+ | | config1_surface1 = asphalt | ||
+ | | config1_surface_perc1 = 70 | ||
+ | | config1_surface2 = gravel | ||
+ | | config1_surface_perc2 = 20 | ||
+ | | config1_surface3 = tarmac | ||
+ | | config1_surface_perc3 = 10 | ||
+ | | length_km1 = 3.45 | ||
+ | | reverse1 = yes | ||
+ | | grid_slots1 = 40 | ||
+ | | pit_speed_kmh1 = 80 | ||
+ | | config2 = Configuration 2 | ||
+ | | config2_surface1 = grass | ||
+ | | config2_surface_perc1 = 100 | ||
+ | | length_km2 = 1.00 | ||
+ | | reverse2 = yes | ||
+ | | config3 = Configuration 3 | ||
+ | | area_km3 = 2.45 | ||
+ | | reverse3 = no | ||
}} | }} | ||
+ | |||
+ | <pre> | ||
+ | {{Infobox track | ||
+ | | name = | ||
+ | | short_name = | ||
+ | | logo = | ||
+ | | logo_caption = | ||
+ | | track_map = | ||
+ | | track_map_caption = | ||
+ | | track_image = | ||
+ | | track_image_caption = | ||
+ | | type = | ||
+ | | license = | ||
+ | | introduced = | ||
+ | | last_updated = | ||
+ | | weather_type1 = | ||
+ | | weather_type2 = | ||
+ | | weather_type3 = | ||
+ | | weather_type4 = | ||
+ | | configurations = | ||
+ | |||
+ | <!-- Up to 11 configurations: --> | ||
+ | | config1 = | ||
+ | | direction1 = | ||
+ | | turns1 = | ||
+ | | banking1 = | ||
+ | | config1_surface1 = | ||
+ | | config1_surface_perc1 = | ||
+ | | config1_surface2 = | ||
+ | | config1_surface_perc2 = | ||
+ | | config1_surface3 = | ||
+ | | config1_surface_perc3 = | ||
+ | | length_km1 = | ||
+ | | grid_slots1 = | ||
+ | | pit_speed_kmh1 = | ||
+ | | reverse1 = | ||
+ | | area_km1 = | ||
+ | |||
+ | ... ... | ||
+ | |||
+ | | config11 = | ||
+ | | direction11 = | ||
+ | | turns11 = | ||
+ | | banking11 = | ||
+ | | config11_surface1 = | ||
+ | | config11_surface_perc1 = | ||
+ | | config11_surface2 = | ||
+ | | config11_surface_perc2 = | ||
+ | | config11_surface3 = | ||
+ | | config11_surface_perc3 = | ||
+ | | length_km11 = | ||
+ | | grid_slots11 = | ||
+ | | pit_speed_kmh11 = | ||
+ | | reverse11 = | ||
+ | | area_km11 = | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | == Parameters == | ||
+ | {| class="wikitable" | ||
+ | |+ Infobox track parameters and basic guidelines | ||
+ | ! scope="col" | Parameter | ||
+ | ! scope="col" | Explanation | ||
+ | ! scope="col" width="271px" | Example values | ||
+ | |- | ||
+ | ! scope="row" | name | ||
+ | | Full name of the track environment. | ||
+ | | {{code|Blackwood}} | ||
+ | |- | ||
+ | ! scope="row" | short_name | ||
+ | | Abbreviated track name. | ||
+ | | {{code|WE}} | ||
+ | |- | ||
+ | ! scope="row" | logo | ||
+ | | Logo of the track environment. LFS tracks usually have a branding logo used at some places in the environment. Format as if you included an image in articles, with specified width (250px). | ||
+ | | {{code|<nowiki>[[Image:Blackwood logo.png|250px]]</nowiki>}} | ||
+ | |- | ||
+ | ! scope="row" | logo_caption | ||
+ | | A caption explaining the logo. Optional, omit if needed. | ||
+ | | {{code|Track logo caption}} | ||
+ | |- | ||
+ | ! scope="row" | track_map | ||
+ | | Track map, preferably showing the whole environment with all usable track lines/areas visible (like in the track selection menu in LFS). Format as if you included an image in articles, with specified width (250px). | ||
+ | | {{code|<nowiki>[[Image:Blackwood map.png|250px]]</nowiki>}} | ||
+ | |- | ||
+ | ! scope="row" | track_map_caption | ||
+ | | A caption explaining the track map. Optional, omit if needed. | ||
+ | | {{code|Track map caption}} | ||
+ | |- | ||
+ | ! scope="row" | track_image | ||
+ | | A screenshot depicting the environment. Format as if you included an image in articles, with specified width (250px). | ||
+ | | {{code|<nowiki>[[Image:Blackwood preview.jpg|250px]]</nowiki>}} | ||
+ | |- | ||
+ | ! scope="row" | track_image_caption | ||
+ | | A caption explaining the track image. Optional, omit if needed. | ||
+ | | {{code|Track image caption}} | ||
+ | |- | ||
+ | ! scope="row" | type | ||
+ | | Track type, whether it's a purpose-built permanent racing track (e.g. [[Westhill]]), a semi-permanent/temporary racing track (e.g. [[South City]]), or an open area (e.g. [[Autocross]]). Choose one of: permanent, semi, open. | ||
+ | | {{code|permanent}} | ||
+ | |- | ||
+ | ! scope="row" | license | ||
+ | | License required for the track environment. Choose one of: demo, S1, S2, S3. | ||
+ | | {{code|S2}} | ||
+ | |- | ||
+ | ! scope="row" | introduced | ||
+ | | LFS version that introduced the track environment for the first time. | ||
+ | | {{code|0.04k}}, {{code|0.2A}}, {{code|0.5P}} | ||
+ | |- | ||
+ | ! scope="row" | weather_type<sub>1-4</sub> | ||
+ | | Available weather types in the track environment, listed in the track selection menu in LFS. Max. 4, use a separate parameter for each, for example {{code|<nowiki>|weather_type1=clear day</nowiki>}}, {{code|<nowiki>|weather_type2=cloudy sunset</nowiki>}} | ||
+ | | {{code|clear morning}}, {{code|cloudy sunset}} | ||
+ | |- | ||
+ | ! scope="row" | configurations | ||
+ | | Number of track configuration available in the environment. | ||
+ | | {{code|3}} | ||
+ | |- | ||
+ | <!----------Configuration-specific----------> | ||
+ | ! scope="col" colspan="3" style="text-align: center;" | Configuration-specific | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub> | ||
+ | | Full name of the configuration. | ||
+ | | {{code|ISSC Long}} | ||
+ | |- | ||
+ | ! scope="row" | direction<sub>n</sub> | ||
+ | | Track direction, clockwise or counter-clockwise. Choose one of: CW, CCW. | ||
+ | | {{code|CW}} | ||
+ | |- | ||
+ | ! scope="row" | turns<sub>n</sub> | ||
+ | | Number of turns. | ||
+ | | {{code|11}} | ||
+ | |- | ||
+ | ! scope="row" | banking<sub>n</sub> | ||
+ | | Banking of turns. | ||
+ | | {{code|16-20° (turn 1 and 2)<br />11-15° (turn 3)}} | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub>_surface1 | ||
+ | | Track surface (asphalt, gravel, concrete, mud, grass, etc.). | ||
+ | | {{code|asphalt}} | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub>_surface_perc1 | ||
+ | | Distribution percentage of surface defined in {{code|config<sub>n</sub>_surface1}} | ||
+ | | {{code|70}} | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub>_surface | ||
+ | | Track surface (asphalt, gravel, concrete, mud, grass, etc.). | ||
+ | | {{code|gravel}} | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub>_surface_perc2 | ||
+ | | Distribution percentage of surface defined in {{code|config<sub>n</sub>_surface2}} | ||
+ | | {{code|20}} | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub>_surface3 | ||
+ | | Track surface (asphalt, gravel, concrete, mud, grass, etc.). | ||
+ | | {{code|mud}} | ||
+ | |- | ||
+ | ! scope="row" | config<sub>n</sub>_surface_perc3 | ||
+ | | Distribution percentage of surface defined in {{code|config<sub>n</sub>_surface3}} | ||
+ | | {{code|10}} | ||
+ | |- | ||
+ | ! scope="row" | length_km<sub>n</sub> | ||
+ | | Track length in kilometres. | ||
+ | | {{code|3.297}} | ||
+ | |- | ||
+ | ! scope="row" | grid_slots<sub>n</sub> | ||
+ | | Grid size, number of grid spots on the start/finish straight. | ||
+ | | {{code|40}} | ||
+ | |- | ||
+ | ! scope="row" | pit_speed_kmh<sub>n</sub> | ||
+ | | Pit speed limit in km/h. | ||
+ | | {{code|80}} | ||
+ | |- | ||
+ | ! scope="row" | reverse<sub>n</sub> | ||
+ | | Whether a reversed configuration is available. Choose one of: yes/no. | ||
+ | | {{code|yes}} | ||
+ | |- | ||
+ | ! scope="row" | area_km<sub>n</sub> | ||
+ | | For open areas, area size in km<sup>2</sup>. | ||
+ | | {{code|0.402}} | ||
+ | |} | ||
+ | |||
+ | {{-}} | ||
+ | |||
+ | <includeonly> | ||
+ | [[Category:Infobox templates]] | ||
+ | [[Category:LFS content templates]] | ||
+ | </includeonly> |
Latest revision as of 11:16, 30 July 2024
This is a documentation subpage for Template:Infobox track.
It may contain usage information, categories and other content that is not part of the original page. |
Infobox track is used to create an infobox which summarizes the main information and the configurations of a particular track environment. For well-built examples, see pages Blackwood, Westhill and Rockingham.
Usage
Track Name | |
---|---|
Track image caption |
|
Logo caption |
|
Track map caption |
|
Short name | TR |
Track type | permanent circuit |
License | S1 |
Introduced | 0.5P |
Last updated | 0.6R |
Weather types |
clear day cloudy afternoon overcast morning |
Configurations | 3 |
Configuration 1 | |
Short name | TR1 |
Length | 3.45 km (2.144 mi) |
Direction | Clockwise |
Turns | 6 |
Banking | 10° |
Surface types |
asphalt (70%) gravel (20%) tarmac (10%) |
Grid size | 40 |
Reversed option | Yes |
Configuration 2 | |
Short name | TR2 |
Length | 1.00 km (0.621 mi) |
Surface types |
grass (100%) |
Reversed option | Yes |
Configuration 3 | |
Short name | TR3 |
Area | 2.45 km² (0.95 mi²) |
Reversed option | No |
Track Name on LFS.net |
{{Infobox track | name = | short_name = | logo = | logo_caption = | track_map = | track_map_caption = | track_image = | track_image_caption = | type = | license = | introduced = | last_updated = | weather_type1 = | weather_type2 = | weather_type3 = | weather_type4 = | configurations = <!-- Up to 11 configurations: --> | config1 = | direction1 = | turns1 = | banking1 = | config1_surface1 = | config1_surface_perc1 = | config1_surface2 = | config1_surface_perc2 = | config1_surface3 = | config1_surface_perc3 = | length_km1 = | grid_slots1 = | pit_speed_kmh1 = | reverse1 = | area_km1 = ... ... | config11 = | direction11 = | turns11 = | banking11 = | config11_surface1 = | config11_surface_perc1 = | config11_surface2 = | config11_surface_perc2 = | config11_surface3 = | config11_surface_perc3 = | length_km11 = | grid_slots11 = | pit_speed_kmh11 = | reverse11 = | area_km11 = }}
Parameters
Parameter | Explanation | Example values |
---|---|---|
name | Full name of the track environment. | Blackwood
|
short_name | Abbreviated track name. | WE
|
logo | Logo of the track environment. LFS tracks usually have a branding logo used at some places in the environment. Format as if you included an image in articles, with specified width (250px). | [[Image:Blackwood logo.png|250px]]
|
logo_caption | A caption explaining the logo. Optional, omit if needed. | Track logo caption
|
track_map | Track map, preferably showing the whole environment with all usable track lines/areas visible (like in the track selection menu in LFS). Format as if you included an image in articles, with specified width (250px). | [[Image:Blackwood map.png|250px]]
|
track_map_caption | A caption explaining the track map. Optional, omit if needed. | Track map caption
|
track_image | A screenshot depicting the environment. Format as if you included an image in articles, with specified width (250px). | [[Image:Blackwood preview.jpg|250px]]
|
track_image_caption | A caption explaining the track image. Optional, omit if needed. | Track image caption
|
type | Track type, whether it's a purpose-built permanent racing track (e.g. Westhill), a semi-permanent/temporary racing track (e.g. South City), or an open area (e.g. Autocross). Choose one of: permanent, semi, open. | permanent
|
license | License required for the track environment. Choose one of: demo, S1, S2, S3. | S2
|
introduced | LFS version that introduced the track environment for the first time. | 0.04k , 0.2A , 0.5P
|
weather_type1-4 | Available weather types in the track environment, listed in the track selection menu in LFS. Max. 4, use a separate parameter for each, for example |weather_type1=clear day , |weather_type2=cloudy sunset
|
clear morning , cloudy sunset
|
configurations | Number of track configuration available in the environment. | 3
|
Configuration-specific | ||
confign | Full name of the configuration. | ISSC Long
|
directionn | Track direction, clockwise or counter-clockwise. Choose one of: CW, CCW. | CW
|
turnsn | Number of turns. | 11
|
bankingn | Banking of turns. | 16-20° (turn 1 and 2)
|
confign_surface1 | Track surface (asphalt, gravel, concrete, mud, grass, etc.). | asphalt
|
confign_surface_perc1 | Distribution percentage of surface defined in confign_surface1
|
70
|
confign_surface | Track surface (asphalt, gravel, concrete, mud, grass, etc.). | gravel
|
confign_surface_perc2 | Distribution percentage of surface defined in confign_surface2
|
20
|
confign_surface3 | Track surface (asphalt, gravel, concrete, mud, grass, etc.). | mud
|
confign_surface_perc3 | Distribution percentage of surface defined in confign_surface3
|
10
|
length_kmn | Track length in kilometres. | 3.297
|
grid_slotsn | Grid size, number of grid spots on the start/finish straight. | 40
|
pit_speed_kmhn | Pit speed limit in km/h. | 80
|
reversen | Whether a reversed configuration is available. Choose one of: yes/no. | yes
|
area_kmn | For open areas, area size in km2. | 0.402
|