Difference between revisions of "Template:Infobox/doc"
From LFS Manual
Jump to navigationJump to searchm |
m |
||
Line 79: | Line 79: | ||
| label10 = Label 10 | | label10 = Label 10 | ||
| data10 = Data 10 | | data10 = Data 10 | ||
+ | | header11 = Header 11 text | ||
+ | | label11 = Label 11 | ||
+ | | data11 = Data 11 | ||
+ | | header12 = Header 12 text | ||
+ | | label12 = Label 12 | ||
+ | | data12 = Data 12 | ||
+ | | header13 = Header 13 text | ||
+ | | label13 = Label 13 | ||
+ | | data13 = Data 13 | ||
| belowstyle = background: #ddf; | | belowstyle = background: #ddf; | ||
Line 128: | Line 137: | ||
| label10 = Label 10 | | label10 = Label 10 | ||
| data10 = Data 10 | | data10 = Data 10 | ||
+ | | header11 = Header 11 text | ||
+ | | label11 = Label 11 | ||
+ | | data11 = Data 11 | ||
+ | | header12 = Header 12 text | ||
+ | | label12 = Label 12 | ||
+ | | data12 = Data 12 | ||
+ | | header13 = Header 13 text | ||
+ | | label13 = Label 13 | ||
+ | | data13 = Data 13 | ||
| belowstyle = background: #ddf; | | belowstyle = background: #ddf; |
Revision as of 00:44, 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 }} |
| ||||||||||||||