Difference between revisions of "LFS Manual:Template index"
From LFS Manual
Jump to navigationJump to searchm (→Formatting: fix folder template) |
(→Formatting: coordinates) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 96: | Line 96: | ||
| {{date|2024-03-26}} | | {{date|2024-03-26}} | ||
| Formatted date | | Formatted date | ||
| + | |- | ||
| + | | {{tl|code=1|Coordinates|51.4016|0.1355}} | ||
| + | | {{Coordinates|51.4016|0.1355}} | ||
| + | | Geographical coordinates | ||
|} | |} | ||
| Line 146: | Line 150: | ||
| {{stub|nocat=1}} | | {{stub|nocat=1}} | ||
| Top | | Top | ||
| + | |} | ||
| + | |||
| + | === Live for Speed article status === | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! What to type !! What it produces | ||
| + | |- | ||
| + | | {{tl|Unreleased car|code=1}} | ||
| + | | {{Unreleased car|nocat=1}} | ||
| + | |- | ||
| + | | {{tl|Unreleased track|code=1}} | ||
| + | | {{Unreleased track|nocat=1}} | ||
|} | |} | ||
| Line 434: | Line 451: | ||
== Category namespace == | == Category namespace == | ||
| + | |||
| + | {{see also|:Category:Category namespace templates}} | ||
| + | |||
| + | === Message box === | ||
| + | |||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! What to type !! What it produces | ||
| + | |- | ||
| + | | style="width: 200px" | {{tl|code=1|maintenance category}} | ||
| + | | {{maintenance category|nocat=true}} | ||
| + | |- | ||
| + | | {{tl|code=1|container category}} | ||
| + | | {{container category|nocat=true}} | ||
| + | |- | ||
| + | | {{tl|code=1|hidden category}} | ||
| + | | {{hidden category}} | ||
| + | |} | ||
| + | |||
=== Hatnotes === | === Hatnotes === | ||
| Line 441: | Line 477: | ||
! What to type !! What it produces !! Description | ! What to type !! What it produces !! Description | ||
|- | |- | ||
| − | | {{tl|code=1| | + | | {{tl|code=1|category main article|Main Page}} |
| − | | {{ | + | | {{category main article|Main Page}} |
| Link to the main page of a category article. | | Link to the main page of a category article. | ||
|} | |} | ||
[[Category:LFS Manual template administration]] | [[Category:LFS Manual template administration]] | ||
Latest revision as of 17:33, 28 February 2026
This page provides an index of templates used within LFS Manual. They are grouped into topic-specific headings.
A more comprehensive category system may also be viewed at Category:Templates or you can view All pages (Template namespace).
Article namespace
Formatting
See also: Help:Formatting
| What to type | What it produces | Description |
|---|---|---|
{{Abbr|UK|United Kingdom}}
|
UK | Abbreviation |
{{folder|C:|LFS|data|mods|vehicles}}
|
C:\LFS\data\mods\vehicles | Folder |
{{key press|Ctrl|Shift|F}}
|
Ctrl + ⇧ Shift + F | Key press |
{{code|console.log('hello')}}
|
console.log('hello')
|
Source code |
{{kbd|/laps 10}}
|
/laps 10 | Keyboard input, use for LFS-commands too |
{{samp|FATAL INSIM ERROR : BUFFER SIZE}}
|
FATAL INSIM ERROR : BUFFER SIZE | Example program output |
{{var|INSIM_VERSION}}
|
INSIM_VERSION
INSIM_VERSION |
Program variable |
{{old button|save}}
|
save save |
LFS button (old style) |
{{button|save}}
|
save save |
LFS button |
{{option|one|two|three}}
|
one two three | Option (group of buttons) |
{{car link|XFG}}
|
XFG | Link to car page using the car's abbreviation |
{{track link|BL1R}}
|
BL1R | Link to track page using the track's abbreviation |
{{steps|First|Second|Third}}
|
|
An ordered list useful for step-by-step instructions |
{{quote|Cry "Havoc" and let slip the dogs of war.|William Shakespeare|Julius Caesar, act III, scene I}}
|
|
Block quote |
{{driver|Fastest Joe|joeuser123|laptime=1:24.75}}
|
1:24.75 | Fastest Joe (joeuser123) | LFS player with username |
{{LFSW stats link|joeuser123}}
|
joeuser123 | Link to a user's LFSW stats (Online Racer Stats) |
{{LFSW races link|joeuser123}}
|
joeuser123 | Link to a user's LFSW race results (Online Race Results) |
{{plain link|url=https://www.lfs.net/|name=LFS Website}}
|
LFS Website | External link appearing as an interwiki link (without the blue external link icon) |
{{date|2024-03-26}}
|
Formatted date | |
{{Coordinates|51.4016|0.1355}}
|
Geographical coordinates |
Icons
| What to type | What it produces | Description |
|---|---|---|
{{flag icon|CZ}}
|
Small country flag icon | |
{{yes check}}
|
Green checkmark with a "Yes" text | |
{{yes check}}
|
Red cross icon with a "No" text | |
{{clockwise}}
|
Clockwise icon with text | |
{{counter-clockwise}}
|
Counter-clockwise icon with text |
Maintenance
| What to type | What it produces | Where to put it | ||
|---|---|---|---|---|
{{historical}}
|
|
Top | ||
{{proposed deletion}}
|
|
Top | ||
{{under construction}}
|
|
Top | ||
{{stub}}
|
This article is a stub. You can help LFS Manual by expanding it.
|
Top |
Live for Speed article status
| What to type | What it produces | ||
|---|---|---|---|
{{Unreleased car}}
|
| ||
{{Unreleased track}}
|
|
Layout
| What to type | What it produces | Description |
|---|---|---|
{{box|box content}}
|
box content
box content
|
Box with a border, customisable colors and padding |
{{list item box|Getting started|Introduction}}
|
An <li> element used as a part of a list on a dashboard-style page
| |
{{shared repository category|XF GTR}}
|
Shared repository has media related to XF GTR. |
Indicates the existence of media related to the article, over on the shared repository. Place it bottom right (after the last content section, but before the navbox template), or bottom left (when content vs. infobox length ratio is bad) |
Message box
| What to type | What it produces | Description | ||
|---|---|---|---|---|
{{mbox
| text = The message body text.
}}
|
|
A box with a message | ||
{{mbox
| type = warning
| text = The message body text.
}}
|
|
A box with a warning message | ||
{{mbox
| type = notice
| text = The message body text.
}}
|
|
A box with a notice message | ||
{{mbox
| type = tip
| text = The message body text.
}}
|
|
A box with a tip message | ||
{{mbox
| small = yes
| text = The message body text.
}}
|
|
A box with a message in small text |
Hatnotes
| What to type | What it produces | Description |
|---|---|---|
{{hatnote|This is a hatnote.}}
|
This is a hatnote.
|
A helpful message placed at the top of the article or a section. |
{{further|LFS Editor}}
|
Further information: LFS Editor
|
A link to an article explaining the topic in more detail. |
{{see also|Options}}
|
See also: Options
|
A link to an article about a related topic. |
{{see also external|https://en.lfsmanual.net LFS Manual}}
|
See also: LFS Manual
|
A link to an external web page about a related topic. |
Tables
| Default | Customized | ||
|---|---|---|---|
| Syntax | Preview | Syntax | Preview |
{{yes}}
|
Yes | {{yes|Customized text}}
|
Customized text |
{{yes C}}
|
{{yes C|Customized text}}
|
||
{{no}}
|
No | {{no|Customized text}}
|
Customized text |
{{no X}}
|
{{no X|Customized text}}
|
||
{{partial}}
|
Partial | {{partial|Customized text}}
|
Customized text |
{{maybe}}
|
Maybe | {{maybe|Customized text}}
|
Customized text |
{{optional}}
|
Optional | {{optional|Customized text}}
|
Customized text |
{{planned}}
|
Planned | {{planned|Customized text}}
|
Customized text |
{{TBA}}
|
TBA | ||
{{TBD}}
|
TBD | ||
{{unknown}}
|
Unknown | {{unknown|Customized text}}
|
Customized text |
{{N/A}}
|
N/A | {{N/A|Customized text}}
|
Customized text |
{{bonus}}
|
{{bonus|+15}} or {{bonus}} +15
|
+15 | |
{{pen}}
|
{{pen|-4}} or {{pen}} -4
|
-4 | |
{{1st}}
|
{{1st|Winner Joe|joewin123|flag=GB}}
|
Winner Joe (joewin123) | |
{{2nd}}
|
{{2nd|Second Joe|joesecond123|flag=PL}}
|
Second Joe (joesecond123) | |
{{3rd}}
|
{{3rd|Third Joe|joethird123|flag=US}}
|
Third Joe (joethird123) | |
{{DNF}}
|
Did not finish | {{DNF|Note|short=yes}}
|
DNFNote |
{{DNQ}}
|
Did not qualify | {{DNQ|Note|short=yes}}
|
DNQNote |
{{DNPQ}}
|
Did not pre-qualify | {{DNPQ|Note|short=yes}}
|
DNPQNote |
{{DSQ}}
|
Disqualified | {{DSQ|Note|short=yes}}
|
DSQNote |
{{DNS}}
|
Did not start | {{DNS|Note|short=yes}}
|
DNSNote |
{{XRR cell}}
|
{{XRR cell|XR2}} or {{XRR cell}} XR2
|
XR2 | |
{{FXR cell}}
|
{{FXR cell|FX2}} or {{FXR cell}} FX2
|
FX2 | |
{{FZR cell}}
|
{{FZR cell|FZ2}} or {{FZR cell}} FZ2
|
FZ2 | |
{{XFR cell}}
|
{{XFR cell|XFR}} or {{XFR cell}} XFR
|
XFR | |
{{UFR cell}}
|
{{UFR cell|UFR}} or {{UFR cell}} UFR
|
UFR | |
References
| What to type | What it produces | Description |
|---|---|---|
{{ref|1}}
|
[1] | A reference to a cite note in a list of references |
{{reference note|1|Live for Speed}}
|
A reference note used in a list of references | |
{{references|one|two|three}}
|
A reference to a cite note in a list of references |
Glossaries
| What to type | What it produces | Description |
|---|---|---|
{{glossary}}
|
Start of a definition list in a glossary | |
{{glossary end}}
|
End of a definition list in a glossary | |
{{term|LFS}}
|
Glossary term | |
{{defn|Live for Speed}}
|
Glossary term definition | |
{{glossary link|hairpin}}
|
hairpin | Glossary link to the main Glossary page |
{{glossary link|cutout}}
|
cutout | Glossary link to a different glossary page |
Category namespace
See also: Category:Category namespace templates
Message box
| What to type | What it produces | ||
|---|---|---|---|
{{maintenance category}}
|
| ||
{{container category}}
|
| ||
{{hidden category}}
|
|
Hatnotes
| What to type | What it produces | Description |
|---|---|---|
{{category main article|Main Page}}
|
The main article for this category is Main Page.
|
Link to the main page of a category article. |
