Difference between revisions of "Template:Infobox/doc"
From LFS Manual
Jump to navigationJump to searchm |
m |
||
| Line 32: | Line 32: | ||
=== All parameters === | === All parameters === | ||
| − | + | {{Infobox | |
| − | |||
| titlestyle = background: #ddd; | | titlestyle = background: #ddd; | ||
| abovestyle = background: #cfc; | | abovestyle = background: #cfc; | ||
| Line 89: | Line 88: | ||
| data13 = Data 13 | | data13 = Data 13 | ||
| − | | | + | | header14 = Header 14 text |
| − | | | + | | label14 = Label 14 |
| − | + | | data14 = Data 14 | |
| − | | | + | |
| − | | | + | | header15 = Header 15 text |
| − | | | + | | label15 = Label 15 |
| + | | data15 = Data 15 | ||
| + | |||
| + | | header16 = Header 16 text | ||
| + | | label16 = Label 16 | ||
| + | | data16 = Data 16 | ||
| − | | | + | | header17 = Header 17 text |
| − | | | + | | label17 = Label 17 |
| − | | | + | | data17 = Data 17 |
| − | | | + | | header18 = Header 18 text |
| − | | | + | | label18 = Label 18 |
| + | | data18 = Data 18 | ||
| − | | | + | | header19 = Header 19 text |
| − | | | + | | label19 = Label 19 |
| − | | | + | | data19 = Data 19 |
| − | | | + | | header20 = Header 20 text |
| − | + | | label20 = Label 20 | |
| − | + | | data20 = Data 20 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| belowstyle = background: #ddf; | | belowstyle = background: #ddf; | ||
| below = Below text | | below = Below text | ||
| − | }} | + | }} |
{{-}} | {{-}} | ||
Revision as of 00:52, 8 December 2023
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
}}
|
| ||||||||||||||||
All parameters
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
}}
|
| ||||||||||||
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
}}
|
| ||||||||||||||