Difference between revisions of "Template:Infobox/doc"
From LFS Manual
Jump to navigationJump to searchm (up to 100 rows) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{documentation subpage}}</noinclude> | ||
+ | |||
== Usage == | == Usage == | ||
Line 42: | Line 44: | ||
| image = [[Image:All default cars available in Live for Speed.jpg|200px|All LFS cars]] | | image = [[Image:All default cars available in Live for Speed.jpg|200px|All LFS cars]] | ||
− | | caption = Caption below image | + | | caption = Caption below image 1 |
+ | |||
+ | | image2 = [[Image:All default cars available in Live for Speed.jpg|200px|All LFS cars]] | ||
+ | | caption2 = Caption below image 2 | ||
+ | |||
+ | | image3 = [[Image:All default cars available in Live for Speed.jpg|200px|All LFS cars]] | ||
+ | | caption3 = Caption below image 3 | ||
| headerstyle = background: #ccf; | | headerstyle = background: #ccf; | ||
Line 438: | Line 446: | ||
| belowstyle = background: #ddf; | | belowstyle = background: #ddf; | ||
| below = Below text | | below = Below text | ||
+ | |||
+ | | belowleftstyle = background: #def; | ||
+ | | belowleft = Below left | ||
+ | |||
+ | | belowrightstyle = background: #dda; | ||
+ | | belowright = Below right | ||
}} | }} | ||
Latest revision as of 18:27, 27 January 2024
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 }} |
| ||||||||||||||||
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 }} |
| ||||||||||||||