Difference between revisions of "LFS Manual:Template index"
From LFS Manual
Jump to navigationJump to search (box and list item box) |
(message box) |
||
Line 105: | Line 105: | ||
|} | |} | ||
+ | === Message box === | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! What to type !! What it produces !! Description | ||
+ | |- | ||
+ | | | ||
+ | <nowiki>{{</nowiki>[[Template:Mbox|mbox]] | ||
+ | <nowiki>|</nowiki> text = The message body text. | ||
+ | <nowiki>}}</nowiki> | ||
+ | | {{mbox|text=The message body text.}} | ||
+ | | A box with a message | ||
+ | |- | ||
+ | | | ||
+ | <nowiki>{{</nowiki>[[Template:Mbox|mbox]] | ||
+ | <nowiki>|</nowiki> type = warning | ||
+ | <nowiki>|</nowiki> text = The message body text. | ||
+ | <nowiki>}}</nowiki> | ||
+ | | {{mbox|type=warning|text=The message body text.}} | ||
+ | | A box with a warning message | ||
+ | |- | ||
+ | | | ||
+ | <nowiki>{{</nowiki>[[Template:Mbox|mbox]] | ||
+ | <nowiki>|</nowiki> type = notice | ||
+ | <nowiki>|</nowiki> text = The message body text. | ||
+ | <nowiki>}}</nowiki> | ||
+ | | {{mbox|type=notice|text=The message body text.}} | ||
+ | | A box with a notice message | ||
+ | |- | ||
+ | | | ||
+ | <nowiki>{{</nowiki>[[Template:Mbox|mbox]] | ||
+ | <nowiki>|</nowiki> type = tip | ||
+ | <nowiki>|</nowiki> text = The message body text. | ||
+ | <nowiki>}}</nowiki> | ||
+ | | {{mbox|type=tip|text=The message body text.}} | ||
+ | | A box with a tip message | ||
+ | |- | ||
+ | | | ||
+ | <nowiki>{{</nowiki>[[Template:Mbox|mbox]] | ||
+ | <nowiki>|</nowiki> small = yes | ||
+ | <nowiki>|</nowiki> text = The message body text. | ||
+ | <nowiki>}}</nowiki> | ||
+ | | {{mbox|small=yes|text=The message body text.}} | ||
+ | | A box with a message in small text | ||
+ | |} | ||
== Template namespace == | == Template namespace == |
Revision as of 14:36, 25 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. |
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 |
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
|
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 |