Difference between revisions of "Help:Formatting"

From LFS Manual
Jump to navigationJump to search
(more templates)
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{under construction}}
+
{{hatnote|Further information: [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki help page on formatting]}}
 
 
{{hatnote|Further information: [https://www.mediawiki.org/wiki/Help:Formatting 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.
 
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.
Line 7: Line 5:
 
== 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]]

Latest revision as of 23:18, 7 February 2024

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.