Difference between revisions of "Help:Formatting"

From LFS Manual
Jump to navigationJump to search
(more templates)
Line 7: Line 7:
 
== Formatting templates ==
 
== Formatting templates ==
  
{{see also|:LFS Manual:Template index}}
+
The LFS Manual wiki has additional templates to help with formatting things specific to this manual. See [[LFS Manual:Template index#Formatting]] for a list of all formatting templates.
 
 
The LFS Manual wiki has some additional templates to help with formatting things specific to this manual.
 
 
 
{| class="wikitable"
 
|-
 
! 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
 
| {{tl|code=1|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)
 
| {{tl|code=1|old button|save}}
 
{{tl|code=1|old button|save|#a1a1ff}}
 
|
 
{{old button|save}}
 
{{old button|save|#a1a1ff}}
 
|-
 
| LFS button
 
| {{tl|code=1|button|save}}
 
{{tl|code=1|button|save|light}}
 
| {{button|save}}
 
{{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 20:19, 24 January 2024

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 additional templates to help with formatting things specific to this manual. See LFS Manual:Template index#Formatting for a list of all formatting templates.