Template:Infobox/doc

From LFS Manual
Jump to navigationJump to search
Information icon4.png This is a documentation subpage for Template:Infobox.

It may contain usage information, categories and other content that is not part of the original page.

Usage

Basic

Markup Renders as
{{Infobox
| above     = Text above
| subheader = Subheader of the infobox

| header1   = Header 1 text
| label1    = Label 1
| data1     = Data 1
| header2   = Header 2 text
| label2    = Label 2
| data2     = Data 2
| header3   = Header 3 text
| data3     = Data 3
}}
Text above
Subheader of the infobox
Header 1 text
Label 1 Data 1
Header 2 text
Label 2 Data 2
Header 3 text
Data 3

All parameters

Text in caption over infobox
Text above
Subheader of the infobox
All LFS cars
Caption below image 1
All LFS cars
Caption below image 2
All LFS cars
Caption below image 3
Header 1 text
Label 1 Data 1
Header 2 text
Label 2 Data 2
Header 3 text
Label 3 Data 3
Header 4 text
Label 4 Data 4
Header 5 text
Label 5 Data 5
Header 6 text
Label 6 Data 6
Header 7 text
Label 7 Data 7
Header 8 text
Label 8 Data 8
Header 9 text
Label 9 Data 9
Header 10 text
Label 10 Data 10
Header 11 text
Label 11 Data 11
Header 12 text
Label 12 Data 12
Header 13 text
Label 13 Data 13
Header 14 text
Label 14 Data 14
Header 15 text
Label 15 Data 15
Header 16 text
Label 16 Data 16
Header 17 text
Label 17 Data 17
Header 18 text
Label 18 Data 18
Header 19 text
Label 19 Data 19
Header 20 text
Label 20 Data 20
Header 21 text
Label 21 Data 21
Header 22 text
Label 22 Data 22
Header 23 text
Label 23 Data 23
Header 24 text
Label 24 Data 24
Header 25 text
Label 25 Data 25
Header 26 text
Label 26 Data 26
Header 27 text
Label 27 Data 27
Header 28 text
Label 28 Data 28
Header 29 text
Label 29 Data 29
Header 30 text
Label 30 Data 30
Header 31 text
Label 31 Data 31
Header 32 text
Label 32 Data 32
Header 33 text
Label 33 Data 33
Header 34 text
Label 34 Data 34
Header 35 text
Label 35 Data 35
Header 36 text
Label 36 Data 36
Header 37 text
Label 37 Data 37
Header 38 text
Label 38 Data 38
Header 39 text
Label 39 Data 39
Header 40 text
Label 40 Data 40
Header 41 text
Label 41 Data 41
Header 42 text
Label 42 Data 42
Header 43 text
Label 43 Data 43
Header 44 text
Label 44 Data 44
Header 45 text
Label 45 Data 45
Header 46 text
Label 46 Data 46
Header 47 text
Label 47 Data 47
Header 48 text
Label 48 Data 48
Header 49 text
Label 49 Data 49
Header 50 text
Label 50 Data 50
Header 51 text
Label 51 Data 51
Header 52 text
Label 52 Data 52
Header 53 text
Label 53 Data 53
Header 54 text
Label 54 Data 54
Header 55 text
Label 55 Data 55
Header 56 text
Label 56 Data 56
Header 57 text
Label 57 Data 57
Header 58 text
Label 58 Data 58
Header 59 text
Label 59 Data 59
Header 60 text
Label 60 Data 60
Header 61 text
Label 61 Data 61
Header 62 text
Label 62 Data 62
Header 63 text
Label 63 Data 63
Header 64 text
Label 64 Data 64
Header 65 text
Label 65 Data 65
Header 66 text
Label 66 Data 66
Header 67 text
Label 67 Data 67
Header 68 text
Label 68 Data 68
Header 69 text
Label 69 Data 69
Header 70 text
Label 70 Data 70
Header 71 text
Label 71 Data 71
Header 72 text
Label 72 Data 72
Header 73 text
Label 73 Data 73
Header 74 text
Label 74 Data 74
Header 75 text
Label 75 Data 75
Header 76 text
Label 76 Data 76
Header 77 text
Label 77 Data 77
Header 78 text
Label 78 Data 78
Header 79 text
Label 79 Data 79
Header 80 text
Label 80 Data 80
Header 81 text
Label 81 Data 81
Header 82 text
Label 82 Data 82
Header 83 text
Label 83 Data 83
Header 84 text
Label 84 Data 84
Header 85 text
Label 85 Data 85
Header 86 text
Label 86 Data 86
Header 87 text
Label 87 Data 87
Header 88 text
Label 88 Data 88
Header 89 text
Label 89 Data 89
Header 90 text
Label 90 Data 90
Header 91 text
Label 91 Data 91
Header 92 text
Label 92 Data 92
Header 93 text
Label 93 Data 93
Header 94 text
Label 94 Data 94
Header 95 text
Label 95 Data 95
Header 96 text
Label 96 Data 96
Header 97 text
Label 97 Data 97
Header 98 text
Label 98 Data 98
Header 99 text
Label 99 Data 99
Header 100 text
Label 100 Data 100
Below left Below right
Below text


Without any parameters

Markup Renders as
{{Infobox}}


Custom styles

Markup Renders as
{{Infobox
| 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
| label1       = Label 1
| data1        = Data 1

| header2style = background: #cff;
| header2      = Header 2 text
| data2        = Data 2
}}
Text in caption over infobox
Text above
Subheader of the infobox
Header 1 text
Label 1 Data 1
Header 2 text
Data 2


Only data rows

Markup Renders as
{{Infobox
| above     = Text above
| subheader = Subheader of the infobox

| label1    = Label 1
| data1     = Data 1
| label2    = Label 2
| data2     = Data 2
| label3    = Label 3
| data3     = Data 3
| data4     = Data 4
| data5     = Data 5
}}
Text above
Subheader of the infobox
Label 1 Data 1
Label 2 Data 2
Label 3 Data 3
Data 4
Data 5