Difference between revisions of "Template:Infobox/doc"
From LFS Manual
Jump to navigationJump to searchm |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude>{{documentation subpage}}</noinclude> | ||
+ | |||
== Usage == | == Usage == | ||
+ | |||
+ | === Basic === | ||
+ | |||
+ | {{markup| | ||
+ | <nowiki>{{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 | ||
+ | }}</nowiki>|{{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 | ||
+ | }}}}<!-- Template:Mra --> | ||
+ | |||
+ | === All parameters === | ||
{{Infobox | {{Infobox | ||
+ | | titlestyle = background: #ddd; | ||
+ | | abovestyle = background: #cfc; | ||
+ | | subheaderstyle = background: #ffc; | ||
+ | |||
| title = Text in caption over infobox | | title = Text in caption over infobox | ||
| above = Text above | | above = Text above | ||
| subheader = Subheader of the infobox | | subheader = Subheader of the infobox | ||
+ | |||
| 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; | ||
+ | | labelstyle = background: #ddf; | ||
+ | | datastyle = background: #dedede; | ||
+ | |||
| header1 = Header 1 text | | header1 = Header 1 text | ||
| label1 = Label 1 | | label1 = Label 1 | ||
| data1 = Data 1 | | data1 = Data 1 | ||
| header2 = Header 2 text | | header2 = Header 2 text | ||
+ | | label2 = Label 2 | ||
| data2 = Data 2 | | data2 = Data 2 | ||
+ | | header3 = Header 3 text | ||
+ | | label3 = Label 3 | ||
+ | | data3 = Data 3 | ||
+ | | header4 = Header 4 text | ||
+ | | label4 = Label 4 | ||
+ | | data4 = Data 4 | ||
+ | | header5 = Header 5 text | ||
+ | | label5 = Label 5 | ||
+ | | data5 = Data 5 | ||
+ | | header6 = Header 6 text | ||
+ | | label6 = Label 6 | ||
+ | | data6 = Data 6 | ||
+ | | header7 = Header 7 text | ||
+ | | label7 = Label 7 | ||
+ | | data7 = Data 7 | ||
+ | | header8 = Header 8 text | ||
+ | | label8 = Label 8 | ||
+ | | data8 = Data 8 | ||
+ | | header9 = Header 9 text | ||
+ | | label9 = Label 9 | ||
+ | | data9 = Data 9 | ||
+ | | header10 = Header 10 text | ||
+ | | label10 = Label 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 | ||
+ | |||
+ | | 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 | ||
+ | |||
+ | | header21 = Header 21 text | ||
+ | | label21 = Label 21 | ||
+ | | data21 = Data 21 | ||
+ | |||
+ | | header22 = Header 22 text | ||
+ | | label22 = Label 22 | ||
+ | | data22 = Data 22 | ||
+ | |||
+ | | header23 = Header 23 text | ||
+ | | label23 = Label 23 | ||
+ | | data23 = Data 23 | ||
+ | |||
+ | | header24 = Header 24 text | ||
+ | | label24 = Label 24 | ||
+ | | data24 = Data 24 | ||
+ | |||
+ | | header25 = Header 25 text | ||
+ | | label25 = Label 25 | ||
+ | | data25 = Data 25 | ||
+ | |||
+ | | header26 = Header 26 text | ||
+ | | label26 = Label 26 | ||
+ | | data26 = Data 26 | ||
+ | |||
+ | | header27 = Header 27 text | ||
+ | | label27 = Label 27 | ||
+ | | data27 = Data 27 | ||
+ | |||
+ | | header28 = Header 28 text | ||
+ | | label28 = Label 28 | ||
+ | | data28 = Data 28 | ||
+ | |||
+ | | header29 = Header 29 text | ||
+ | | label29 = Label 29 | ||
+ | | data29 = Data 29 | ||
+ | |||
+ | | header30 = Header 30 text | ||
+ | | label30 = Label 30 | ||
+ | | data30 = Data 30 | ||
+ | |||
+ | | header31 = Header 31 text | ||
+ | | label31 = Label 31 | ||
+ | | data31 = Data 31 | ||
+ | |||
+ | | header32 = Header 32 text | ||
+ | | label32 = Label 32 | ||
+ | | data32 = Data 32 | ||
+ | |||
+ | | header33 = Header 33 text | ||
+ | | label33 = Label 33 | ||
+ | | data33 = Data 33 | ||
+ | |||
+ | | header34 = Header 34 text | ||
+ | | label34 = Label 34 | ||
+ | | data34 = Data 34 | ||
+ | |||
+ | | header35 = Header 35 text | ||
+ | | label35 = Label 35 | ||
+ | | data35 = Data 35 | ||
+ | |||
+ | | header36 = Header 36 text | ||
+ | | label36 = Label 36 | ||
+ | | data36 = Data 36 | ||
+ | |||
+ | | header37 = Header 37 text | ||
+ | | label37 = Label 37 | ||
+ | | data37 = Data 37 | ||
+ | |||
+ | | header38 = Header 38 text | ||
+ | | label38 = Label 38 | ||
+ | | data38 = Data 38 | ||
+ | |||
+ | | header39 = Header 39 text | ||
+ | | label39 = Label 39 | ||
+ | | data39 = Data 39 | ||
+ | |||
+ | | header40 = Header 40 text | ||
+ | | label40 = Label 40 | ||
+ | | data40 = Data 40 | ||
+ | |||
+ | | header41 = Header 41 text | ||
+ | | label41 = Label 41 | ||
+ | | data41 = Data 41 | ||
+ | |||
+ | | header42 = Header 42 text | ||
+ | | label42 = Label 42 | ||
+ | | data42 = Data 42 | ||
+ | |||
+ | | header43 = Header 43 text | ||
+ | | label43 = Label 43 | ||
+ | | data43 = Data 43 | ||
+ | |||
+ | | header44 = Header 44 text | ||
+ | | label44 = Label 44 | ||
+ | | data44 = Data 44 | ||
+ | |||
+ | | header45 = Header 45 text | ||
+ | | label45 = Label 45 | ||
+ | | data45 = Data 45 | ||
+ | |||
+ | | header46 = Header 46 text | ||
+ | | label46 = Label 46 | ||
+ | | data46 = Data 46 | ||
+ | |||
+ | | header47 = Header 47 text | ||
+ | | label47 = Label 47 | ||
+ | | data47 = Data 47 | ||
+ | |||
+ | | header48 = Header 48 text | ||
+ | | label48 = Label 48 | ||
+ | | data48 = Data 48 | ||
+ | |||
+ | | header49 = Header 49 text | ||
+ | | label49 = Label 49 | ||
+ | | data49 = Data 49 | ||
+ | |||
+ | | header50 = Header 50 text | ||
+ | | label50 = Label 50 | ||
+ | | data50 = Data 50 | ||
+ | |||
+ | | header51 = Header 51 text | ||
+ | | label51 = Label 51 | ||
+ | | data51 = Data 51 | ||
+ | |||
+ | | header52 = Header 52 text | ||
+ | | label52 = Label 52 | ||
+ | | data52 = Data 52 | ||
+ | |||
+ | | header53 = Header 53 text | ||
+ | | label53 = Label 53 | ||
+ | | data53 = Data 53 | ||
+ | |||
+ | | header54 = Header 54 text | ||
+ | | label54 = Label 54 | ||
+ | | data54 = Data 54 | ||
+ | |||
+ | | header55 = Header 55 text | ||
+ | | label55 = Label 55 | ||
+ | | data55 = Data 55 | ||
+ | |||
+ | | header56 = Header 56 text | ||
+ | | label56 = Label 56 | ||
+ | | data56 = Data 56 | ||
+ | |||
+ | | header57 = Header 57 text | ||
+ | | label57 = Label 57 | ||
+ | | data57 = Data 57 | ||
+ | |||
+ | | header58 = Header 58 text | ||
+ | | label58 = Label 58 | ||
+ | | data58 = Data 58 | ||
+ | |||
+ | | header59 = Header 59 text | ||
+ | | label59 = Label 59 | ||
+ | | data59 = Data 59 | ||
+ | |||
+ | | header60 = Header 60 text | ||
+ | | label60 = Label 60 | ||
+ | | data60 = Data 60 | ||
+ | |||
+ | | header61 = Header 61 text | ||
+ | | label61 = Label 61 | ||
+ | | data61 = Data 61 | ||
+ | |||
+ | | header62 = Header 62 text | ||
+ | | label62 = Label 62 | ||
+ | | data62 = Data 62 | ||
+ | |||
+ | | header63 = Header 63 text | ||
+ | | label63 = Label 63 | ||
+ | | data63 = Data 63 | ||
+ | |||
+ | | header64 = Header 64 text | ||
+ | | label64 = Label 64 | ||
+ | | data64 = Data 64 | ||
+ | |||
+ | | header65 = Header 65 text | ||
+ | | label65 = Label 65 | ||
+ | | data65 = Data 65 | ||
+ | |||
+ | | header66 = Header 66 text | ||
+ | | label66 = Label 66 | ||
+ | | data66 = Data 66 | ||
+ | |||
+ | | header67 = Header 67 text | ||
+ | | label67 = Label 67 | ||
+ | | data67 = Data 67 | ||
+ | |||
+ | | header68 = Header 68 text | ||
+ | | label68 = Label 68 | ||
+ | | data68 = Data 68 | ||
+ | |||
+ | | header69 = Header 69 text | ||
+ | | label69 = Label 69 | ||
+ | | data69 = Data 69 | ||
+ | |||
+ | | header70 = Header 70 text | ||
+ | | label70 = Label 70 | ||
+ | | data70 = Data 70 | ||
+ | |||
+ | | header71 = Header 71 text | ||
+ | | label71 = Label 71 | ||
+ | | data71 = Data 71 | ||
+ | |||
+ | | header72 = Header 72 text | ||
+ | | label72 = Label 72 | ||
+ | | data72 = Data 72 | ||
+ | |||
+ | | header73 = Header 73 text | ||
+ | | label73 = Label 73 | ||
+ | | data73 = Data 73 | ||
+ | |||
+ | | header74 = Header 74 text | ||
+ | | label74 = Label 74 | ||
+ | | data74 = Data 74 | ||
+ | |||
+ | | header75 = Header 75 text | ||
+ | | label75 = Label 75 | ||
+ | | data75 = Data 75 | ||
+ | |||
+ | | header76 = Header 76 text | ||
+ | | label76 = Label 76 | ||
+ | | data76 = Data 76 | ||
+ | |||
+ | | header77 = Header 77 text | ||
+ | | label77 = Label 77 | ||
+ | | data77 = Data 77 | ||
+ | |||
+ | | header78 = Header 78 text | ||
+ | | label78 = Label 78 | ||
+ | | data78 = Data 78 | ||
+ | |||
+ | | header79 = Header 79 text | ||
+ | | label79 = Label 79 | ||
+ | | data79 = Data 79 | ||
+ | |||
+ | | header80 = Header 80 text | ||
+ | | label80 = Label 80 | ||
+ | | data80 = Data 80 | ||
+ | |||
+ | | header81 = Header 81 text | ||
+ | | label81 = Label 81 | ||
+ | | data81 = Data 81 | ||
+ | |||
+ | | header82 = Header 82 text | ||
+ | | label82 = Label 82 | ||
+ | | data82 = Data 82 | ||
+ | |||
+ | | header83 = Header 83 text | ||
+ | | label83 = Label 83 | ||
+ | | data83 = Data 83 | ||
+ | |||
+ | | header84 = Header 84 text | ||
+ | | label84 = Label 84 | ||
+ | | data84 = Data 84 | ||
+ | |||
+ | | header85 = Header 85 text | ||
+ | | label85 = Label 85 | ||
+ | | data85 = Data 85 | ||
+ | |||
+ | | header86 = Header 86 text | ||
+ | | label86 = Label 86 | ||
+ | | data86 = Data 86 | ||
+ | |||
+ | | header87 = Header 87 text | ||
+ | | label87 = Label 87 | ||
+ | | data87 = Data 87 | ||
+ | |||
+ | | header88 = Header 88 text | ||
+ | | label88 = Label 88 | ||
+ | | data88 = Data 88 | ||
+ | |||
+ | | header89 = Header 89 text | ||
+ | | label89 = Label 89 | ||
+ | | data89 = Data 89 | ||
+ | |||
+ | | header90 = Header 90 text | ||
+ | | label90 = Label 90 | ||
+ | | data90 = Data 90 | ||
+ | |||
+ | | header91 = Header 91 text | ||
+ | | label91 = Label 91 | ||
+ | | data91 = Data 91 | ||
+ | |||
+ | | header92 = Header 92 text | ||
+ | | label92 = Label 92 | ||
+ | | data92 = Data 92 | ||
+ | |||
+ | | header93 = Header 93 text | ||
+ | | label93 = Label 93 | ||
+ | | data93 = Data 93 | ||
+ | |||
+ | | header94 = Header 94 text | ||
+ | | label94 = Label 94 | ||
+ | | data94 = Data 94 | ||
+ | |||
+ | | header95 = Header 95 text | ||
+ | | label95 = Label 95 | ||
+ | | data95 = Data 95 | ||
+ | |||
+ | | header96 = Header 96 text | ||
+ | | label96 = Label 96 | ||
+ | | data96 = Data 96 | ||
+ | |||
+ | | header97 = Header 97 text | ||
+ | | label97 = Label 97 | ||
+ | | data97 = Data 97 | ||
+ | |||
+ | | header98 = Header 98 text | ||
+ | | label98 = Label 98 | ||
+ | | data98 = Data 98 | ||
+ | |||
+ | | header99 = Header 99 text | ||
+ | | label99 = Label 99 | ||
+ | | data99 = Data 99 | ||
+ | |||
+ | | header100 = Header 100 text | ||
+ | | label100 = Label 100 | ||
+ | | data100 = Data 100 | ||
+ | |||
+ | | belowstyle = background: #ddf; | ||
+ | | below = Below text | ||
+ | |||
+ | | belowleftstyle = background: #def; | ||
+ | | belowleft = Below left | ||
+ | |||
+ | | belowrightstyle = background: #dda; | ||
+ | | belowright = Below right | ||
}} | }} | ||
Line 18: | Line 458: | ||
=== Without any parameters === | === Without any parameters === | ||
− | {{Infobox}} | + | {{markup| |
+ | <nowiki>{{Infobox}}</nowiki>|{{Infobox}}}}<!-- Template:Mra --> | ||
{{-}} | {{-}} | ||
+ | |||
+ | === Custom styles === | ||
+ | |||
+ | {{markup| | ||
+ | <nowiki>{{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 | ||
+ | }}</nowiki>|{{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 | ||
+ | }}}}<!-- Template:Mra --> | ||
+ | |||
+ | {{-}} | ||
+ | |||
+ | === Only data rows === | ||
+ | |||
+ | {{markup| | ||
+ | <nowiki>{{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 | ||
+ | }}</nowiki>|{{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 | ||
+ | }}}}<!-- Template:Mra --> | ||
+ | |||
+ | {{-}} | ||
+ | |||
+ | <includeonly> | ||
+ | [[Category:Infobox templates]] | ||
+ | </includeonly> |
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 }} |
| ||||||||||||||