Difference between revisions of "LFS Manual:Template index"

From LFS Manual
Jump to navigationJump to search
(box and list item box)
Line 87: Line 87:
 
| Top
 
| Top
 
|}
 
|}
 +
 +
=== Layout ===
 +
 +
{| class="wikitable"
 +
|-
 +
! What to type !! What it produces !! Description
 +
|-
 +
| {{tl|box|box content|code=1}}
 +
<code><nowiki>{{</nowiki>box|box content|border=red|bg=yellow|padding=8px<nowiki>}}</nowiki></code>
 +
| {{box|box content}}
 +
{{box|box content|border=red|bg=yellow|padding=8px}}
 +
| Box with a border, customisable colors and padding
 +
|-
 +
| {{tl|list item box|Getting started|Introduction|code=1}}
 +
| {{list item box|Getting started|Introduction}}
 +
| An {{code|<nowiki><li></nowiki>}} element used as a part of a list on a dashboard-style page
 +
|}
 +
  
 
== Template namespace ==
 
== Template namespace ==

Revision as of 13:27, 25 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.

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}}

{{var serif|isGood}}

isGood

isGood

Program variable
{{old button|save}}

{{old button|save|#a1a1ff}}

save save

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

{{button|save|light}}

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}}
TemplateIconHistorical.png This page or section contains outdated information, but is kept for historical reasons.
Top
{{proposed deletion}}
Caution.png It is proposed that this article be deleted.
Top
{{under construction}}
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.
Top

Layout

What to type What it produces Description
{{box|box content}}

{{box|box content|border=red|bg=yellow|padding=8px}}

box content
box content
Box with a border, customisable colors and padding
{{list item box|Getting started|Introduction}}
  • Getting started
    Introduction
  • An <li> element used as a part of a list on a dashboard-style page


    Template namespace