Difference between revisions of "Help:Formatting"
From LFS Manual
Jump to navigationJump to searchm |
(more templates) |
||
| Line 14: | Line 14: | ||
|- | |- | ||
! Description !! What to type !! What it produces | ! Description !! What to type !! What it produces | ||
| + | |- | ||
| + | | Abbreviation | ||
| + | | {{tl|code=1|Abbr|UK|United Kingdom}} | ||
| + | | {{Abbr|UK|United Kingdom}} | ||
| + | |- | ||
| + | | Folder | ||
| + | | {{tl|code=1|folder|C:|LFS|data|mods|vehicles}} | ||
| + | | {{folder|C:|LFS|data|mods|vehicles}} | ||
| + | |- | ||
| + | | Key press | ||
| + | | {{tl|code=1|key press|Ctrl|Shift|F}} | ||
| + | | {{key press|Ctrl|Shift|F}} | ||
|- | |- | ||
| Source code | | Source code | ||
| {{tl|code=1|code|console.log('hello')}} | | {{tl|code=1|code|console.log('hello')}} | ||
| {{code|console.log('hello')}} | | {{code|console.log('hello')}} | ||
| + | |- | ||
| + | | Keyboard input | ||
| + | | {{tl|code=1|kbd|71077345}} | ||
| + | | {{kbd|71077345}} | ||
| + | |- | ||
| + | | Example program output | ||
| + | | {{tl|code=1|samp|[A]bort, [R]etry, [F]ail?}} | ||
| + | | {{samp|[A]bort, [R]etry, [F]ail?}} | ||
| + | |- | ||
| + | | Program variable | ||
| + | | {{tl|code=1|var|isGood}} | ||
| + | {{tl|code=1|var serif|isGood}} | ||
| + | | {{var|isGood}} | ||
| + | {{var serif|isGood}} | ||
|- | |- | ||
| LFS button (old style) | | LFS button (old style) | ||
| Line 31: | Line 57: | ||
| {{button|save}} | | {{button|save}} | ||
{{button|save|light}} | {{button|save|light}} | ||
| + | |- | ||
| + | | Option (group of buttons) | ||
| + | | {{tl|code=1|option|one|two|three}} | ||
| + | | {{option|one|two|three}} | ||
| + | |- | ||
| + | | Link to car page using the car's abbreviation | ||
| + | | {{tl|code=1|car link|XFG}} | ||
| + | | {{car link|XFG}} | ||
|} | |} | ||
[[Category:Help]] | [[Category:Help]] | ||
Revision as of 19:52, 24 January 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. |
Further information: MediWiki help page on formatting
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
See also: LFS Manual:Template index
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}}
|
isGood
isGood |
| LFS button (old style) | {{old button|save}}
|
save save |
| LFS button | {{button|save}}
|
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 |