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

From LFS Manual
Jump to navigationJump to search
Line 109: Line 109:
 
|-
 
|-
 
! scope="row" | name
 
! scope="row" | name
| text
+
| Full name of the track environment.
| {{code|...}}
+
| {{code|Blackwood}}
 
|-
 
|-
 
! scope="row" | short_name
 
! scope="row" | short_name
| text
+
| Abbreviated track name.
| {{code|...}}
+
| {{code|WE}}
 
|-
 
|-
 
! scope="row" | logo
 
! scope="row" | logo
| text
+
| 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|...}}
+
| {{code|<nowiki>[[Image:Blackwood logo.png|250px]]</nowiki>}}
 
|-
 
|-
 
! scope="row" | logo_caption
 
! scope="row" | logo_caption
| text
+
| A caption explaining the logo. Optional, omit if needed.
| {{code|...}}
+
| {{code|Track logo caption}}
 
|-
 
|-
 
! scope="row" | track_map
 
! scope="row" | track_map
| text
+
| 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|...}}
+
| {{code|<nowiki>[[Image:Blackwood map.png|250px]]</nowiki>}}
 
|-
 
|-
 
! scope="row" | track_map_caption
 
! scope="row" | track_map_caption
| text
+
| A caption explaining the track map. Optional, omit if needed.
| {{code|...}}
+
| {{code|Track map caption}}
 
|-
 
|-
 
! scope="row" | track_image
 
! scope="row" | track_image
| text
+
| A screenshot depicting the environment. Format as if you included an image in articles, with specified width (250px).
| {{code|...}}
+
| {{code|<nowiki>[[Image:Blackwood preview.jpg|250px]]</nowiki>}}
 
|-
 
|-
 
! scope="row" | track_image_caption
 
! scope="row" | track_image_caption
| text
+
| A caption explaining the track image. Optional, omit if needed.
| {{code|...}}
+
| {{code|Track image caption}}
 
|-
 
|-
 
! scope="row" | type
 
! scope="row" | type

Revision as of 14:31, 24 January 2024

Information icon4.png 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 of a particular track environment. For well-built examples, see pages Blackwood, Westhill and Rockingham.

Usage

Track Name
All LFS cars
Track image caption
LFS World transparent.png
Logo caption
BL1.jpg
Track map caption
Short name TR
Track type permanent circuit
License S1
Introduced 0.5P
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          = 
| 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

Infobox track parameters and basic guidelines
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 text ...
license text ...
introduced text ...
weather_type1 text ...
weather_type2 text ...
weather_type3 text ...
weather_type4 text ...
configurations text ...
Configuration-specific
confign text ...
directionn text ...
turnsn text ...
bankingn text ...
confign_surface1 text ...
confign_surface_perc1 text ...
confign_surface text ...
confign_surface_perc2 text ...
confign_surface3 text ...
confign_surface_perc3 text ...
length_kmn text ...
grid_slotsn text ...
pit_speed_kmhn text ...
reversen text ...
area_kmn text ...