Difference between revisions of "Template:Infobox/doc"

From LFS Manual
Jump to navigationJump to search
m
m
Line 24: Line 24:
 
{{-}}
 
{{-}}
  
=== Custom header style ===
+
=== Custom styles ===
  
 
{{Infobox
 
{{Infobox
| headerstyle = background: hotpink
+
| titlestyle = background: #ddd;
 +
| abovestyle = background: #cfc;
 +
| subheaderstyle = background: #ffc;
 +
| title    = Text in caption over infobox
 +
| above    = Text above
 +
| subheader = Subheader of the infobox
 +
 
 +
| headerstyle = background: #ccf;
 +
| labelstyle = background: #ddf;
 +
| datastyle = background: #dedede;
  
 
| header1      = Header 1 text
 
| header1      = Header 1 text
Line 33: Line 42:
 
| data1        = Data 1
 
| data1        = Data 1
  
| header2style = background: orange
+
| header2style = background: #cff;
 
| header2      = Header 2 text
 
| header2      = Header 2 text
 
| data2        = Data 2
 
| data2        = Data 2

Revision as of 18:51, 7 December 2023

Usage

All parameters

Text in caption over infobox
Text above
Subheader of the infobox
All LFS cars
Caption below image
Header 1 text
Label 1 Data 1
Header 2 text
Data 2


Without any parameters


Custom styles

Text in caption over infobox
Text above
Subheader of the infobox
Header 1 text
Label 1 Data 1
Header 2 text
Data 2