Help:Formatting

From LFS Manual
Revision as of 19:52, 24 January 2024 by Flame CZE (talk | contribs) (more templates)
Jump to navigationJump to search
TemplateIconUnderConstruction.png 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.

You can format your text by using wiki markup. This consists of normal characters like asterisks, apostrophes, or equal signs which have a special function in the wiki, sometimes depending on their position.

Formatting templates

The LFS Manual wiki has some additional templates to help with formatting things specific to this manual.

Description What to type What it produces
Abbreviation {{Abbr|UK|United Kingdom}} UK
Folder {{folder|C:|LFS|data|mods|vehicles}} C:\LFS\data\mods\vehicles
Key press {{key press|Ctrl|Shift|F}} Ctrl + ⇧ Shift + F
Source code {{code|console.log('hello')}} console.log('hello')
Keyboard input {{kbd|71077345}} 71077345
Example program output {{samp|[A]bort, [R]etry, [F]ail?}} [A]bort, [R]etry, [F]ail?
Program variable {{var|isGood}}

{{var serif|isGood}}

isGood

isGood

LFS button (old style) {{old button|save}}

{{old button|save|#a1a1ff}}

save save

LFS button {{button|save}}

{{button|save|light}}

save

save

Option (group of buttons) {{option|one|two|three}} one two three
Link to car page using the car's abbreviation {{car link|XFG}} XFG