Difference between revisions of "Template:Infobox track"
From LFS Manual
Jump to navigationJump to searchm |
m |
||
| Line 33: | Line 33: | ||
| data8 = {{#if:{{{short_name|}}}|{{{short_name}}}1}} | | data8 = {{#if:{{{short_name|}}}|{{{short_name}}}1}} | ||
| label9 = {{#if:{{{length_km1|}}}|Length}} | | label9 = {{#if:{{{length_km1|}}}|Length}} | ||
| − | | data9 = {{#if:{{{length_km1|}}}|{{{length_km1|}}} km ({{#expr: {{{length_km1|}}}*0.62 round | + | | data9 = {{#if:{{{length_km1|}}}|{{{length_km1|}}} km ({{#expr: {{{length_km1|}}}*0.62 round 3}} mi)}} |
| label10 = {{#if:{{{config1|}}}|Direction}} | | label10 = {{#if:{{{config1|}}}|Direction}} | ||
| data10 = {{#if:{{{direction1|}}}|{{#ifeq:{{{direction1|CW}}}|CW|clockwise|anti-clockwise}}}} | | data10 = {{#if:{{{direction1|}}}|{{#ifeq:{{{direction1|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 51: | Line 51: | ||
| data16 = {{#if:{{{short_name|}}}|{{{short_name}}}2}} | | data16 = {{#if:{{{short_name|}}}|{{{short_name}}}2}} | ||
| label17 = {{#if:{{{length_km2|}}}|Length}} | | label17 = {{#if:{{{length_km2|}}}|Length}} | ||
| − | | data17 = {{#if:{{{length_km2|}}}|{{{length_km2|}}} km ({{#expr: {{{length_km2|}}}*0.62 round | + | | data17 = {{#if:{{{length_km2|}}}|{{{length_km2|}}} km ({{#expr: {{{length_km2|}}}*0.62 round 3}} mi)}} |
| label18 = {{#if:{{{config2|}}}|Direction}} | | label18 = {{#if:{{{config2|}}}|Direction}} | ||
| data18 = {{#if:{{{direction2|}}}|{{#ifeq:{{{direction2|CW}}}|CW|clockwise|anti-clockwise}}}} | | data18 = {{#if:{{{direction2|}}}|{{#ifeq:{{{direction2|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 69: | Line 69: | ||
| data24 = {{#if:{{{short_name|}}}|{{{short_name}}}3}} | | data24 = {{#if:{{{short_name|}}}|{{{short_name}}}3}} | ||
| label25 = {{#if:{{{length_km3|}}}|Length}} | | label25 = {{#if:{{{length_km3|}}}|Length}} | ||
| − | | data25 = {{#if:{{{length_km3|}}}|{{{length_km3|}}} km ({{#expr: {{{length_km3|}}}*0.62 round | + | | data25 = {{#if:{{{length_km3|}}}|{{{length_km3|}}} km ({{#expr: {{{length_km3|}}}*0.62 round 3}} mi)}} |
| label26 = {{#if:{{{config3|}}}|Direction}} | | label26 = {{#if:{{{config3|}}}|Direction}} | ||
| data26 = {{#if:{{{direction3|}}}|{{#ifeq:{{{direction3|CW}}}|CW|clockwise|anti-clockwise}}}} | | data26 = {{#if:{{{direction3|}}}|{{#ifeq:{{{direction3|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 87: | Line 87: | ||
| data32 = {{#if:{{{config4|}}}|{{{short_name}}}4}} | | data32 = {{#if:{{{config4|}}}|{{{short_name}}}4}} | ||
| label33 = {{#if:{{{length_km4|}}}|Length}} | | label33 = {{#if:{{{length_km4|}}}|Length}} | ||
| − | | data33 = {{#if:{{{length_km4|}}}|{{{length_km4|}}} km ({{#expr: {{{length_km4|}}}*0.62 round | + | | data33 = {{#if:{{{length_km4|}}}|{{{length_km4|}}} km ({{#expr: {{{length_km4|}}}*0.62 round 3}} mi)}} |
| label34 = {{#if:{{{config4|}}}|Direction}} | | label34 = {{#if:{{{config4|}}}|Direction}} | ||
| data34 = {{#if:{{{direction4|}}}|{{#ifeq:{{{direction4|CW}}}|CW|clockwise|anti-clockwise}}}} | | data34 = {{#if:{{{direction4|}}}|{{#ifeq:{{{direction4|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 105: | Line 105: | ||
| data40 = {{#if:{{{config5|}}}|{{{short_name}}}5}} | | data40 = {{#if:{{{config5|}}}|{{{short_name}}}5}} | ||
| label41 = {{#if:{{{length_km5|}}}|Length}} | | label41 = {{#if:{{{length_km5|}}}|Length}} | ||
| − | | data41 = {{#if:{{{length_km5|}}}|{{{length_km5|}}} km ({{#expr: {{{length_km5|}}}*0.62 round | + | | data41 = {{#if:{{{length_km5|}}}|{{{length_km5|}}} km ({{#expr: {{{length_km5|}}}*0.62 round 3}} mi)}} |
| label42 = {{#if:{{{config5|}}}|Direction}} | | label42 = {{#if:{{{config5|}}}|Direction}} | ||
| data42 = {{#if:{{{direction5|}}}|{{#ifeq:{{{direction5|CW}}}|CW|clockwise|anti-clockwise}}}} | | data42 = {{#if:{{{direction5|}}}|{{#ifeq:{{{direction5|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 123: | Line 123: | ||
| data48 = {{#if:{{{config6|}}}|{{{short_name}}}6}} | | data48 = {{#if:{{{config6|}}}|{{{short_name}}}6}} | ||
| label49 = {{#if:{{{length_km6|}}}|Length}} | | label49 = {{#if:{{{length_km6|}}}|Length}} | ||
| − | | data49 = {{#if:{{{length_km6|}}}|{{{length_km6|}}} km ({{#expr: {{{length_km6|}}}*0.62 round | + | | data49 = {{#if:{{{length_km6|}}}|{{{length_km6|}}} km ({{#expr: {{{length_km6|}}}*0.62 round 3}} mi)}} |
| label50 = {{#if:{{{config6|}}}|Direction}} | | label50 = {{#if:{{{config6|}}}|Direction}} | ||
| data50 = {{#if:{{{direction6|}}}|{{#ifeq:{{{direction6|CW}}}|CW|clockwise|anti-clockwise}}}} | | data50 = {{#if:{{{direction6|}}}|{{#ifeq:{{{direction6|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 141: | Line 141: | ||
| data56 = {{#if:{{{config7|}}}|{{{short_name}}}7}} | | data56 = {{#if:{{{config7|}}}|{{{short_name}}}7}} | ||
| label57 = {{#if:{{{length_km7|}}}|Length}} | | label57 = {{#if:{{{length_km7|}}}|Length}} | ||
| − | | data57 = {{#if:{{{length_km7|}}}|{{{length_km7|}}} km ({{#expr: {{{length_km7|}}}*0.62 round | + | | data57 = {{#if:{{{length_km7|}}}|{{{length_km7|}}} km ({{#expr: {{{length_km7|}}}*0.62 round 3}} mi)}} |
| label58 = {{#if:{{{config7|}}}|Direction}} | | label58 = {{#if:{{{config7|}}}|Direction}} | ||
| data58 = {{#if:{{{direction7|}}}|{{#ifeq:{{{direction7|CW}}}|CW|clockwise|anti-clockwise}}}} | | data58 = {{#if:{{{direction7|}}}|{{#ifeq:{{{direction7|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 159: | Line 159: | ||
| data64 = {{#if:{{{config8|}}}|{{{short_name}}}8}} | | data64 = {{#if:{{{config8|}}}|{{{short_name}}}8}} | ||
| label65 = {{#if:{{{length_km8|}}}|Length}} | | label65 = {{#if:{{{length_km8|}}}|Length}} | ||
| − | | data65 = {{#if:{{{length_km8|}}}|{{{length_km8|}}} km ({{#expr: {{{length_km8|}}}*0.62 round | + | | data65 = {{#if:{{{length_km8|}}}|{{{length_km8|}}} km ({{#expr: {{{length_km8|}}}*0.62 round 3}} mi)}} |
| label66 = {{#if:{{{config8|}}}|Direction}} | | label66 = {{#if:{{{config8|}}}|Direction}} | ||
| data66 = {{#if:{{{direction8|}}}|{{#ifeq:{{{direction8|CW}}}|CW|clockwise|anti-clockwise}}}} | | data66 = {{#if:{{{direction8|}}}|{{#ifeq:{{{direction8|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 177: | Line 177: | ||
| data72 = {{#if:{{{config9|}}}|{{{short_name}}}9}} | | data72 = {{#if:{{{config9|}}}|{{{short_name}}}9}} | ||
| label73 = {{#if:{{{length_km9|}}}|Length}} | | label73 = {{#if:{{{length_km9|}}}|Length}} | ||
| − | | data73 = {{#if:{{{length_km9|}}}|{{{length_km9|}}} km ({{#expr: {{{length_km9|}}}*0.62 round | + | | data73 = {{#if:{{{length_km9|}}}|{{{length_km9|}}} km ({{#expr: {{{length_km9|}}}*0.62 round 3}} mi)}} |
| label74 = {{#if:{{{config9|}}}|Direction}} | | label74 = {{#if:{{{config9|}}}|Direction}} | ||
| data74 = {{#if:{{{direction9|}}}|{{#ifeq:{{{direction9|CW}}}|CW|clockwise|anti-clockwise}}}} | | data74 = {{#if:{{{direction9|}}}|{{#ifeq:{{{direction9|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 195: | Line 195: | ||
| data80 = {{#if:{{{config10|}}}|{{{short_name}}}10}} | | data80 = {{#if:{{{config10|}}}|{{{short_name}}}10}} | ||
| label81 = {{#if:{{{length_km10|}}}|Length}} | | label81 = {{#if:{{{length_km10|}}}|Length}} | ||
| − | | data81 = {{#if:{{{length_km10|}}}|{{{length_km10|}}} km ({{#expr: {{{length_km10|}}}*0.62 round | + | | data81 = {{#if:{{{length_km10|}}}|{{{length_km10|}}} km ({{#expr: {{{length_km10|}}}*0.62 round 3}} mi)}} |
| label82 = {{#if:{{{config10|}}}|Direction}} | | label82 = {{#if:{{{config10|}}}|Direction}} | ||
| data82 = {{#if:{{{direction10|}}}|{{#ifeq:{{{direction10|CW}}}|CW|clockwise|anti-clockwise}}}} | | data82 = {{#if:{{{direction10|}}}|{{#ifeq:{{{direction10|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
| Line 213: | Line 213: | ||
| data88 = {{#if:{{{config11|}}}|{{{short_name}}}11}} | | data88 = {{#if:{{{config11|}}}|{{{short_name}}}11}} | ||
| label89 = {{#if:{{{length_km11|}}}|Length}} | | label89 = {{#if:{{{length_km11|}}}|Length}} | ||
| − | | data89 = {{#if:{{{length_km11|}}}|{{{length_km11|}}} km ({{#expr: {{{length_km11|}}}*0.62 round | + | | data89 = {{#if:{{{length_km11|}}}|{{{length_km11|}}} km ({{#expr: {{{length_km11|}}}*0.62 round 3}} mi)}} |
| label90 = {{#if:{{{config11|}}}|Direction}} | | label90 = {{#if:{{{config11|}}}|Direction}} | ||
| data90 = {{#if:{{{direction11|}}}|{{#ifeq:{{{direction11|CW}}}|CW|clockwise|anti-clockwise}}}} | | data90 = {{#if:{{{direction11|}}}|{{#ifeq:{{{direction11|CW}}}|CW|clockwise|anti-clockwise}}}} | ||
Revision as of 14:23, 9 December 2023
Template documentation
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 | |
|---|---|
Logo caption |
|
Track map caption |
|
Track image caption |
|
| Short name | TR |
| Track type | permanent circuit |
| License | S1 |
| Introduced | 0.5P |
| Weather types |
clear day cloudy afternoon overcast morning |
| Configuration 1 | |
| Short name | TR1 |
| Length | 3.45 km (2.139 mi) |
| Direction | clockwise |
| Turns | 6 |
| Banking | 10° |
| Surface types |
asphalt (70%) gravel (20%) tarmac (10%) |
| Grid slots | 40 |
| Reversed option |
|
| Configuration 2 | |
| Short name | TR2 |
| Length | 1.00 km (0.62 mi) |
| Surface types |
grass (100%) |
| Reversed option |
|
| Configuration 3 | |
| Short name | TR3 |
| Reversed option |
|
| 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 =
| resemblance =
| 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
|
| short_name_lowercase | Abbreviated track name in lowercase. Used to display the LFS World link at the bottom. | 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
|
| resemblance | Whether track resembles a real track or it is a fictional one. Choose one of: real, fictional. | real, fictional
|
| last_updated | LFS version in which the track was modified last. | 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
|