Difference between revisions of "LFS Manual:Template index"
From LFS Manual
Jump to navigationJump to search (→Tables) |
m (→Tables) |
||
Line 254: | Line 254: | ||
| {{tl|code=1|N/A|Customized text}} | | {{tl|code=1|N/A|Customized text}} | ||
| {{N/A|Customized text}} | | {{N/A|Customized text}} | ||
+ | |- | ||
+ | | {{tl|code=1|pen}} -4 | ||
+ | | {{pen}} -4 | ||
+ | | {{tl|code=1|pen|Customized text}} | ||
+ | | {{pen|Customized text}} | ||
|- | |- | ||
| {{tl|code=1|1st}} | | {{tl|code=1|1st}} | ||
Line 269: | Line 274: | ||
| {{tl|code=1|3rd|Third Joe|joethird123}} | | {{tl|code=1|3rd|Third Joe|joethird123}} | ||
| {{3rd|Third Joe|joethird123}} | | {{3rd|Third Joe|joethird123}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Revision as of 10:18, 7 February 2024
This page or section is being initially created, or is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it. |
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|71077345}}
|
71077345 | Keyboard input |
{{samp|[A]bort, [R]etry, [F]ail?}}
|
[A]bort, [R]etry, [F]ail? | Example program output |
{{var|isGood}}
|
isGood
isGood |
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 |
{{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 |
Maintenance
What to type | What it produces | Where to put it | ||
---|---|---|---|---|
{{historical}}
|
|
Top | ||
{{proposed deletion}}
|
|
Top | ||
{{under construction}}
|
|
Top |
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 section, 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. |
Tables
Default | Fully customized | ||
---|---|---|---|
Syntax | Preview | Syntax | Preview |
{{yes}}
|
Yes | {{yes|Customized text}}
|
Customized text |
{{yes C}}
|
Yes | {{yes C|Customized text}}
|
Customized text |
{{no}}
|
No | {{no|Customized text}}
|
Customized text |
{{no X}}
|
No | {{no X|Customized text}}
|
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 |
{{pen}} -4
|
-4 | {{pen|Customized text}}
|
Customized text |
{{1st}}
|
{{1st|Winner Joe|joewin123}}
|
Winner Joe (joewin123) | |
{{2nd}}
|
{{2nd|Second Joe|joesecond123}}
|
Second Joe (joesecond123) | |
{{3rd}}
|
{{3rd|Third Joe|joethird123}}
|
Third Joe (joethird123) |
Category namespace
Hatnotes
What to type | What it produces | Description |
---|---|---|
{{cat main|Main Page}}
|
Main article: Main Page
|
Link to the main page of a category article. |